You are not logged in.
Pages: 1
I am using betterlockscreen as my screen locker.
I would also like use xscreensaver as screensaver alongwith it for autolocking.
I would like the screensaver to show after 5 mins of inactivity and lockscreen after next 5 mins. The corresponding commands are :
xscreensaver-command -activate # For screensaver
betterlockscreen -l --blur 0.0 # For screen lockFrom this , Session_lock#DPMS section, I am using these sets of commands :
xset s on
xset s 180 120
xss-lock -n 'xscreensaver-command -activate' -- betterlockscreen -l --blur 0.0 &I get the error :
Failed to set screensaver attributes; is another one running?
I tried running
xscreensaver & and repeating but got this same error.
Is my approach incorrect ? What is the correct way to achieve this (Show screensaver after 5 mins of inactivity and lockscreen after next 5 mins) ?
Last edited by RaZorr (2022-08-30 05:06:31)
Offline
I managed to get rid of the error : Failed to set screensaver attributes; is another one running? : by killing xss-lock which was already running in the background through htop.
However, the command :
xscreensaver &> .xscreensaver.log &
xset s 60 60 # Lower time ( 60s each ) for testing purposes
xss-lock -n 'xscreensaver-command -activate' -- betterlockscreen -l --blur 0.0 &is still not running.
The individual commands are running without any issues however.
Offline
You cannot run two screensavers at the same time.
You could try to link xss-lock to xautolock and abuse the notifier there to run an xscreensaver hack (ie the fancy show)
You'll have to invoke the latter w/ a script in order to to activate and fullscreen the window.
That being said: you can also just use xautolock this way and skip xss-lock.
Offline
You could try to link xss-lock to xautolock and abuse the notifier there to run an xscreensaver hack (ie the fancy show)
You'll have to invoke the latter w/ a script in order to to activate and fullscreen the window.
This seems like a possible solution. Let me try out different combinations and then I'll get back.
Offline
Pages: 1