19
submitted 2 days ago* (last edited 2 days ago) by bjoern_tantau@swg-empire.de to c/linux_gaming@lemmy.world

I'd like to disable some services that might decrease my gaming performance while a game is running. Stuff like search indexing, automatic updates, filesystem tasks.

Has anyone done something in that direction?

My spontaneous idea was to use gamemode to switch to a systemd target that disables those services. Although I'm not sure if systemd targets actually can disable services or if they can only start them. Might also be a little overengineered.

If I don't get a better idea I will just run a start and stop script with gamemode to handle all that. Although I'm not sure if that would be able to stop system services. Will cross that bridge when I get there.

Edit: While I can automatically stop services by starting a target they aren't started again after stopping the target. I guess I will just use some simple start-gaming and stop-gaming scripts.

you are viewing a single comment's thread
view the rest of the comments
[-] prole 1 points 2 days ago

Bazzite runs gamemode by default

this post was submitted on 30 Apr 2025
19 points (100.0% liked)

Linux Gaming

18242 readers
413 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.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS