Pause X screen blanking while an inhibit is active

Browsers don't pause X blanking themselves, so the screen still went
black after 10 minutes even with xautolock disabled. Use
XScreenSaverSuspend (MIT-SCREEN-SAVER) instead of xset: no global
setting is changed, and the X server ends the pause on its own if the
daemon exits or crashes. The suspend also holds off DPMS.

Add libx11 and libxss to depends.
This commit is contained in:
Daniele Fucini
2026-10-09 21:11:21 +02:00
parent 90b8838835
commit d862eb49da
2 changed files with 63 additions and 10 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ pkgdesc='Honor org.freedesktop.ScreenSaver inhibit requests by disabling xautolo
arch=('any')
url="https://git.shouldnt.work/fuxino/${pkgname}"
license=('GPL-3.0-or-later')
depends=('python'
depends=('libx11'
'libxss'
'python'
'python-gobject'
'xautolock')
makedepends=('git')