void-docs icon indicating copy to clipboard operation
void-docs copied to clipboard

Document screen lock on suspend

Open anjandev opened this issue 5 years ago • 2 comments

Alot of the screen lock guides on suspend relate to systemd and the guide on the void wiki is wrong. Fortunately someone has written a guide and wrote some scripts to launch slock, i3-lock, etc. when you close the screen. See: https://github.com/bahamas10/zzz-user-hooks

docs: https://www.daveeddy.com/2018/10/01/run-user-scripts-on-suspend-and-wakeup-on-void-linux/

These locking programs are launched using the normal user and work perfectly. I was wondering if I could write a guide for screenlocking on suspend on void using these scripts. Thanks!

anjandev avatar Jul 02 '20 08:07 anjandev

Honestly these scripts are so useful. Should I package them?

anjandev avatar Jul 02 '20 09:07 anjandev

I would prefer packaging them, if possible. You can make the case that they must be installed system wide as well. Would require actual releases, though.

Screenlocking tends to be a concern for more specific setups, since DEs deal with it already, so I'm not entirely sure documenting it fits here. With a package for it, we can mention it, but ideally most documentation for it should come from upstream.

ericonr avatar Jul 04 '20 15:07 ericonr