4 ms·
There's a hardware device doing the same. The moment it is plugged in, a udev rule will immediately lock the screen: https://cgit.freedesktop.org/systemd/syst
by eliaspro 8y ago
There's a hardware device doing the same.
The moment it is plugged in, a udev rule will immediately lock the screen:
https://cgit.freedesktop.org/systemd/systemd/commit/?id=7212a8a99ee863698f5feaa00abb4b99f3996a1a https://cgit.freedesktop.org/systemd/systemd/commit/?id=7212...
That's IMHO the right approach. If you want to keep your system from entering standby, just use an inhibition lock:
https://www.freedesktop.org/software/systemd/man/systemd-inhibit.html https://www.freedesktop.org/software/systemd/man/systemd-inh...