Tag Info

New answers tagged

2

You can do this via PAM configuration. For example, if you use XScreenSaver, you'd edit /etc/pam.d/xscreensaver and change the @include common-auth line. Rather than repeat all the details, I'll point you to my answer to Set sudo password differently from login one. The procedure is almost exactly the same, except that you'll be editing the PAM config for ...


2

You can use the functionality built into most media players to manage this; it works efectively with xautolock and it's lockers. mpv and mplayer both have a screensaver options: --stop-screensaver, --no-stop-screensaver Turns off the screensaver (or screen blanker and similar mechanisms) at startup and turns it on again on exit (default: yes). The ...


3

A quick check of the source code of the current version, xautolock 2.2, shows that it doesn't support this feature, although it wouldn't be too hard to implement it yourself if you know a little bit about C and how to write X programs. The reason is probably this: whenever you want to know the status of xautolock, you also know what status you would like it ...


0

I wrote the following script to check for idle and update the session idle status with systemd-logind accordingly. (Normally this would be done by the session manager, but I don't run one.) This lets systemd put the system to sleep automatically (based on IdleAction and IdleActionSec in /etc/systemd/logind.conf), with consideration of both X11 and ssh logins ...



Top 50 recent answers are included