You are not logged in.

#1 2022-07-14 15:52:18

mehdi-n
Member
Registered: 2022-05-02
Posts: 14

keep screen on when using video-players other than mpv

What is the clean way to disable screensaver for a specific app like stremio?
Is there app-specific configurations? or should I link the app to somewhere in the system? or running a script when starting the app?

Offline

#2 2022-07-14 17:25:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,939

Re: keep screen on when using video-players other than mpv

Write a wrapper script and use xset s off -dpms to disable ands xset s on +dpms respectively to enable again. https://wiki.archlinux.org/title/Displa … _a_command

So something along the lines of

xset s off -dpms
$yourapplicationhere$
xset s on +dpms

Offline

Board footer

Powered by FluxBB