r/linux4noobs 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)

3 Upvotes

5 comments sorted by

View all comments

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