You are not logged in.
Using i3 I have this in my config : exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
Which I know when hibernate my machine xss-lock transfers the responsibility to i3lock.
However, I get strange behavior when I'm gaming with a remote controller it doesn't detect this as mouse movement or anything, so my monitors will trigger a sleep or something at ~15 minutes. And thus also triggering i3lock.
What can I configure to change this timeout value? Either to something longer, or to disable entirely.
I don't want to disable using i3lock when I manually initiate a suspend/hibernate.
Last edited by Dominik (2023-08-03 11:48:13)
Offline
https://bitbucket.org/raymonad/xss-lock … screen-off
Apparently there's no way to prevent xss-lock from hooking into DPMS (except for obviously patching the code and re-compiling it) but w/
remote controller it doesn't detect this as mouse movement or anything, so my monitors will trigger a sleep
you probably want to "xset -dpms" (and "xset +dpms" to enable it on regular use)
Offline
https://bitbucket.org/raymonad/xss-lock … screen-off
Apparently there's no way to prevent xss-lock from hooking into DPMS (except for obviously patching the code and re-compiling it) but w/remote controller it doesn't detect this as mouse movement or anything, so my monitors will trigger a sleep
you probably want to "xset -dpms" (and "xset +dpms" to enable it on regular use)
This was very helpful. It didn't quite work when I tried "xset -dpms". I still got the display sleep trigger. However, "xset -s off -dpms" did work.
It appears this doesn't persist on reboot. Should I put this value in some X11 config file? I noticed my "/etc/X11/xorg.conf.d" is currently empty.
Or should I just run something like "exec --no-startup-id xset -s off -dpms" in my i3config?
Offline
https://man.archlinux.org/man/extra/xor … n#Option~9 and below.
Whether you use a server config (for the default) or script (for the transient) configuration is down to personal preference and historically whether you can control the X11 server config at all and what other users of the system think about the defaults.
You can also completely disable DPMS, https://man.archlinux.org/man/extra/xor … #Option~45 but if xss-lock also hits on the screensaver signal, that alone would not help you.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline