Main / Education / Xautolock
Xautolock monitors the user activity on an X Window display. If none is detected within mins minutes, a program is started as specified by the -locker. A description of how to use xautolock together with i3lock to automatically lock your screen after X minutes of inactivity and when the laptop goes to sleep via ACPI. My own recipe to display the battery status on the top bar of Awesome. This is very similar to existing suggestions on the Awesome wiki, except there is support. Setup on Fedora25 MATE. sudo dnf install xautolock i3lock; sudo dnf remove mate-screensaver; Save the desired background as /home/ruben/background. png; Create a script to lock the screen into /home/ruben/.local/bin/lockscreen: #!/ bin/bash # if "off" is given as parameter, then spawn a new thread to turn off the screen.
PURPOSE ======= Xautolock monitors console activity under the X window system, and fires up a program of your choice if nothing happens during a user configurable period of time. You can use this to automatically start up a screen locker in case you tend to forget to do so manually before having a coffee break. 11 Jul Architecture: x86_ Repository: Community. Description: An automatic X screen-locker/screen-saver. Upstream URL: ftp:// screensavers/. License(s): GPL2. Maintainers: Florian Pritz. Package Size: KB. Installed Size: KB. Last Packager: Florian Pritz. Build Date. Xautolock monitors console activity under the X window system, and fires up a program of your choice if nothing happens during a user configurable period of time. You can use this to automatically start up a screen locker in case you tend to forget to do so manually before having a coffee break.
11 Nov For me, the xautolock process was still running in the background, but it wasn't listening to any xautolock -locknow commands. As mentioned by @jrm, an application must be suppressing the "screensaver". For both of us, this was due to mpv (video player) disabling the screensaver. For mpv, the fix is to add the following to. 19 Jun Xautolock runs programs when the session has been idle. The locker runs after time minutes of inactivity, and the killer runs after killtime minutes of inactivity after locker has started. It can also run a notifier, notify seconds before locker. This naturally lends itself to running notify-send as notifier, i3lock as. Hello, there is a way to configure xautolock for don't lock the screen if i watch a movie? Thank you.