this post was submitted on 23 Feb 2025
41 points (95.6% liked)
Linux Gaming
16421 readers
669 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
All of these are complaints specific to wireless controllers (auto-shutoff to conserve battery, battery life, some sort or Bluetooth connectivity issue). Have you considered getting a wired, USB controller? Or using your existing one in USB mode, which most wireless controllers support?
I only use wired controllers, however my system (Mint) doesn't acknowledge controller input as standard input, so the screen saver comes on in 20 minutes or my machine goes to sleep after an hour while I play. I haven't figured out how to stop it yet.
The way I have my system set up is to not power-off the monitor unless the screensaver is up, but if it is, to flip the power off in pretty short order. I manually trigger the screensaver. So I don't know what people who do auto-locking and all do today.
kagis
https://github.com/foresto/joystickwake
This appears to do this on Xorg and Wayland for various screensavers and environments. I have not used it myself. I don't know if it's been packaged by anyone in Mint, though -- I don't see a package in Debian trixie, and if this site is the package repo for Mint -- I know that there are variations of Mint -- then I don't see it there. You can build, install, and set it up to run manually, I suppose.
I do see a reference to an Ubuntu package in a PPA at the bottom of their main page. One variant of Mint is based on Ubuntu; I don't know whether that means that one can get away with using Ubuntu packages or not.
https://launchpad.net/~foresto/+archive/ubuntu/toys
You can run caffeine in Terminal while playing the game.
Also: gaming on linux
I didn't realise caffeine had a terminal utility, I use the gnome extension and love it
just an idea I have. to keep my pc from sleeping while streaming content to my other devices, I have a script that uses xdotool to move the cursor 1 pixel to the right and immediately back every 30 seconds if my network adapter has transferred some data. make (or ask chatgpt to make) a script that recognizes some of your controller inputs and then moves the mouse, or it could press XF86_wakeup key (this will cause problems in web excel). also it could trigger by just having the controller plugged in.