While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Steam Controller 2 is apparently a thing and being 'tooled for a mass production' plus a new VR controller
- Dungeon Clawler will grab hold of your free time now it's in Early Access, plus keys to give away
- Monster catcher Cassette Beasts adds Steam Workshop support and a new battle mode
- Steam getting proper Season Pass support with clearer guidelines and refunds for cancellations
- FromSoftware owner Kadokawa confirms Sony sent an 'initial letter of intent' to acquire them
- > See more over 30 days here
-
Star Fox 64 is getting a Native PC port from the devs o…
- Talon1024 -
Action-platformer metroidvania Janosik 2 will be a 'big…
- Phlebiac -
GOG's Black Friday Sale is live now with some big disco…
- chickenb00 -
GOG's Black Friday Sale is live now with some big disco…
- ElectricPrism -
PlaytronOS Alpha 2 brings expanded NVIDIA support, more…
- sonic2kk - > See more comments
- What have you been listening to?
- Linux_Rocks - More updates - social media related
- Klaas - What do you want to see on GamingOnLinux?
- Linux_Rocks - Our own anti-cheat list
- Liam Dawe - Weekend Players' Club 11/22/2024
- Liam Dawe - See more posts
View PC info
Method 1:
Spoiler, click me
Method 2:
Spoiler, click me
printf "REGEDIT4\n[HKEY_CURRENT_USER\Software\Wine\\\Explorer]\n\"Desktop\"=\"Default\"\n[HKEY_CURRENT_USER\Software\Wine\\\Explorer\Desktops]\n\"Default\"=\"1920x1080\"\n[HKEY_CURRENT_USER\Software\Wine\\X11 Driver]\n\"GrabFullscreen\"=\"N\"" >> temp.reg && find -name "pfx" | xargs readlink -f | xargs -I{} env WINEPREFIX={} regedit temp.reg && rm temp.reg
This will change/add the registry keys needed to enable virtual desktop and disable mouse grabbing for all currently installed Proton prefixes (if you install any game later on you have to rerun those commands. Two important notes: This will create a temporary file called temp.reg and removes the file afterwards. If you already have a filled called that in the directory you're running those commands from it will overwrite and delete that file! Another thing is that mouse grabbing may actually be desired for some games since those may not work without that feature (which is the reason mouse grabbing was enabled by default). In that case you can use those commands which do the same as the ones above just without disabling mouse grabbing:
printf "REGEDIT4\n[HKEY_CURRENT_USER\Software\Wine\\\Explorer]\n\"Desktop\"=\"Default\"\n[HKEY_CURRENT_USER\Software\Wine\\\Explorer\Desktops]\n\"Default\"=\"1920x1080\"" >> temp.reg && find -name "pfx" | xargs readlink -f | xargs -I{} env WINEPREFIX={} regedit temp.reg && rm temp.reg
Running winecfg or regedit in a Proton prefix is not officially supported and winecfg/regedit initializes some stuff when run in one. While I did test several games after using it I can not promise that it won't cause unexpected behavior.
I'm a beginner when it comes to bash so if you have any suggestions please tell me :)
Also if you have any questions ask away.
PS: I give absolutely no warranty for doing any of the things I mentioned. Never run any commands you don't understand especially if you found them on the internet.
View PC info
Doing this will most likely update the wineprefix for a game to the version of Wine on your system. A much better way is to just use Proton to run winecfg or regedt:
Just use
.../steamapps/common/Proton 3.7 Beta/dist/bin/wine winecfg
instead.
You can also use this path with the WINE environment variable if you need to run winetricks for a proton prefix.
View PC info
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
into
/etc/environment
for example.multimonitor mouse grab, most games offer mouse release when bringing up the menu (escape menu), but some that don't i usually just switch workspace to chat on my other monitor, so i dont need to alt+tab then.
View PC info
I already had SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS set to zero and while it works with most native games it doesn't work with proton.
View PC info
hmm, i remember reading that proton is using SDL. Anyway i have yet to see a game in proton that minimizes when i go into my other monitor. Played: GTA V, DOOM, The Forest, Bioshock 2 Remastered, SCUM, Kingdom Come, Dishonored, Alan Wake, Trackmania 2, Mirrors Edge just to name few. Maybe im lucky then with the games i have played.