-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to do: (lock -> blank screen -> turn off screen -> wait for two hours -> suspend device) #170
Comments
I don't know how to set suspend, but you can try the following to set locks and the screen turn off.
|
I don't have problems with this part.
I'm already using this to trigger xss-lock.
This will just dim my screen using My problem is with xsecurelock's screen saver part. After locking the screen it should start working as a timer to suspend my device after some time, and be killed with any activity (e.g. keyboard clicked, mouse moved). But what is happening with me is that xsecurelock's screen saver will not work directly when my screen is locked, it will only work if I did an activity after locking my screen (without unlocking it) then keep it idle again. I want xsecurelock's screen saver to work directly after locking my screen. |
The second exec of saver_sleep_after_time is not going to get executed because the shell will get replace with the sleep command. I would also be interested in this state diagram. |
@zefr0x
(xautolock seems to have a timer limit of up to 1 hour) |
I'm trying to do this:
My config: scripts/lock.sh
My screen saver script: scripts/saver_sleep_after_time
My
xss-lock
launch: .config/i3/configWhat I concluded is happening with me is that as soon as
XSECURELOCK_BLANK_TIMEOUT
ends my screen will be turned off, but also thesaver_sleep_after_time
script will stop working, and the 2h timer for suspending will not work.If I disabled
XSECURELOCK_BLANK_TIMEOUT
my screen will be always working which is a problem too.Is there any solution for that?
The text was updated successfully, but these errors were encountered: