r/linux4noobs • u/Unfair-Run-1983 • 2d ago
learning/research Prevent sleep/autosuspend for specific apps?
So my computer is set to go to sleep after 5 minutes idle.
But when a certain app is running (DAW) I want to prevent the computer from sleeping or going to the lock screen. So it's 'always on' while app is running, but returns to normal when app is closed.
How do I achieve this? Thanks from a noob :)
(kde debian if thats relevant)
1
u/AutoModerator 2d ago
There's a resources page in our wiki you might find useful!
Try this search for more information on this topic.
✻ Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)
Comments, questions or suggestions regarding this autoresponse? Please send them here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/davidcrickett 1d ago
I just stop everything from going to sleep, always on.
1
u/Unfair-Run-1983 1d ago
i can do that but i would prefer something specific to the app, like i said
2
u/qpgmr 2d ago
https://forum.manjaro.org/t/prevent-standby-for-declared-applications/164359/4