Steam Linux tweaks
Collection of fixes and tweaks I dug up for some steam gaming on Linux.
Too many of them so they'll all be on this page.
Cookie Clicker
Text too small:
- Add "--force-device-scale-factor=2" to the game's launch options, this also works with other Electron games.
Game stutters when hovering over news ticker, two options for this:
- disable fancy graphics
or
- navigate to the game files
- you should see three folders, navigate to "resources/app/src/"
- you will find "style.css", open it.
- with your text editor, search for `#commentsText:hover>.commentsText`. It should be at line 1766
- comment out the style by surrounding it between /* and */
/* #commentsText:hover>.commentsText { text-shadow:0px 1px 1px #000,0px 2px 2px #000,0px 2px 8px #000,0px 2px 16px #000,0px 2px 20px #000; background:rgba(0,0,0,0.2); } */
- save the file, and start the game.
They apparently made the text shadows way too intense for Proton.
TF2 (and Maybe Other Source Engine games)
Most Source engine games have native Linux ports, but I got an issue with TF2 a while ago which in summary just Steam trying to run a Windows executable as a native Linux executable, resulting in this error:
/.local/share/Steam/steamapps/common/Team Fortress 2/hl2.exe: cannot execute binary file
The solution was to right-click and open the game's properties page, enter the compatibility tab, and select "Steam Linux Runtime 1.0" as the compatibility tool.
It seems to work now without the fix, but i'll write it down incase it ever happens again.
2024/07/09: I have encountered this issue with the native version of The Stanley Parable (the 2013 game in source) and Steam Linux Runtime 1.0 and 3.0 did not fix things.
Go to the game files to this directory:
steamapps/common/The Stanley Parable/bin/
then find and rename "libstdc++.so.6" to anything else (or delete, you just need the game to not find it and that fixes it for some reason)
fix obtained from protondb