Thanks to STEAM & WINE, gaming in Linux is getting quite easy.
enables 32-bit on system:
sudo dpkg --add-architecture i386
Makes folder for keys, if not existing (can do either way):
sudo mkdir -pm755 /etc/apt/keyrings
Adds the key:
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Next, need to add the repo MAKE SURE YOU GET CORRECT VERSION FOR YOUR OS!
WINE HQ Download Page
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Now update & install WINE!
sudo apt update && sudo apt install --install-recommends winehq-stable
Finally, change mode to Windows10 below: (Windows XP for debian server)
winecfg
Useful additional setup tool for WINE; can add missing dependencies.
sudo apt install winetricks
sudo winetricks --self-update
Use wine tricks to make wineprefix for each game!
Depending on video card, of course make sure drivers are installed!!
Add vulkan and other drivers that games need:
sudo add-apt-repository ppa:graphics-drivers/ppa &&
sudo apt update
sudo apt install -y libvulkan1 libvulkan1:i386
sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386
Add 10 second delay for “not responding” interlock (needed randomly in GNOME):
gsettings set org.gnome.mutter check-alive-timeout 10000
Remove unwanted shortcuts that WINE adds to Launcher:
sudo nano /usr/local/bin/nowhine
rm -f ~/.config/menus/applications-merged/wine* && \
rm -rf ~/.local/share/applications/wine
sudo chmod +x /usr/local/bin/nowhine
Lutris can install games for you, using their database!
Or, you can point it to manually installed games, and it will add to launcher.
flatpak install flathub net.lutris.Lutris
Settings to tweak if games have issue:
flatpak install flathub net.davidotek.pupgui2
flatpak install flathub com.valvesoftware.Steam
RUN Steam once for it to update/login
flatpak run com.valvesoftware.Steam
If you want autostart:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam @@u -silent %U @@
flatpak install flathub com.github.Matoking.protontricks
protontricks --gui
flatpak install flathub dev.goats.xivlauncher
RUN once for it to update/login, then use App Launcher
flatpak run dev.goats.xivlauncher
This little tool remaps my extra mouse buttons
Now my thumb controls the shift & ctrl mod keys!
git page for deb file