- You will need to install
Winetricks
sudo apt install winetricks
- Install
pipx
sudo apt install python3-pip python3-setuptools python3-venv python3 -m pip install --user pipx
~/.local/bin/pipx ensurepath
#!/bin/bash | |
# ########################################################### | |
# Functions | |
# ########################################################### | |
RED=`tput setaf 1` | |
GREEN=`tput setaf 2` | |
YELLOW=`tput setaf 3` | |
BLUE=`tput setaf 4` |
#!/bin/bash | |
APP=/var/www/html | |
echo "================= Git Checkout ===================" | |
GIT_WORK_TREE=${APP} git checkout -f | |
echo "Updated ${APP}" | |
echo "============== Delete Unused Files ===============" | |
rm ${APP}/README.md |
# Wine (Last Version - It has bugs with some versions of the .Net) | |
sudo dpkg --add-architecture i386 | |
wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
sudo apt-key add winehq.key | |
sudo add-apt-repository 'https://dl.winehq.org/wine-builds/ubuntu/' | |
sudo apt update | |
sudo apt install --install-recommends winehq-devel | |
# Wine 5.0.x | |
sudo apt install wine |
#!/bin/bash | |
# This script will toggle between (in this order): Laptop Mode, Projector Mode, Extended Mode and Mirrored Mode | |
RESOLUTIONS=("1366x768" "2560x1080") | |
EXTENDED_MODE_PRIMARY_INDEX=1 | |
EXTENDED_MODE_PRIMARY_POSITION=1366x-120 | |
MIRRORED_MODE_PRIMARY_INDEX=0 | |
# List of connected monitors | |
CONNECTED_MONITORS=`xrandr | grep -P ' connected' | grep -o '^[^ ]*'` |
# Set these configs | |
radeon.cik_support=0 | |
amdgpu.cik_support=1 | |
radeon.si_support=0 | |
amdgpu.si_support=1 | |
# Without GRUB (Pop!_OS...) | |
$ sudo kernelstub -a "radeon.cik_support=0" | |
$ sudo kernelstub -a "amdgpu.cik_support=1" | |
$ sudo kernelstub -a "radeon.si_support=0" |
https://gist.github.com/raphaelbruno/bd26cc0e90d77b0a0e0c84dca82ba61d
rm -rf ~/.steam/root/steamapps/compatdata/244210
Proton 5.0-x
, and try to run, it will fail.sudo apt-get install dialog pkg-config build-essential pyqt4-dev-tools libusb-dev libbluetooth-dev python-dbus -y | |
install bluez bluez-tools bluez-hcidump checkinstall libusb-dev libbluetooth-dev joystick pyqt4-dev-tools | |
wget https://github.com/RetroPie/sixad/archive/master.zip -O sixad-master.zip | |
unzip sixad-master.zip | |
cd sixad-master | |
make | |
sudo make install | |
cd .. | |
rm -rf sixad-master sixad-master.zip |