Comments (4)
I don't know how to set suspend, but you can try the following to set locks and the screen turn off.
A simple style may be like this:
xset dpms 0 0 60 // wait 60s to turn off screen
xset s 30 // wait 30s to lock device
xss-lock -l -- xsecurelock &
from xsecurelock.
I don't have problems with this part.
xset dpms 0 0 60 // wait 60s to turn off screen
I'm already using this to trigger xss-lock.
xset s 30 // wait 30s to lock device
This will just dim my screen using /usr/lib/xsecurelock/dimmer
preparing to it's lock, xsecurelock will handle things aftart that.
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.
from xsecurelock.
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.
from xsecurelock.
Related Issues (20)
- Not showing keyboard layout error
- Unblank and show password prompt after resume HOT 1
- Keyboard layout does not change when fingerprint enabled
- Enabling on only one monitor HOT 2
- Starting in an awake/prompt visible state
- Black flashes after keyboard-initiated suspend-resume cycle
- XSECURELOCK_SHOW_KEYBOARD_LAYOUT Not Working HOT 6
- mpv is shown fullscreen over locker HOT 2
- External sources can un-DPMS the monitor HOT 1
- Screensaver not showing on initial blank
- Feature: custom prompt
- Feature: Honeyword HOT 1
- Interrupt dimming animation on keyboard or mouse event HOT 1
- How to change the timeout value?
- Another MFA PAM Configuration Ignored or Incorrectly Loaded
- How to suspend until keypress, after BLANK_TIMEOUT and AUTH_TIMEOUT is reached? HOT 1
- Saver image does not show in xmonad HOT 1
- Can't use any of the saver modules HOT 1
- FR: Send signal to savers when authenticator opens
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsecurelock.