zlacker

[parent] [thread] 3 comments
1. anthk+(OP)[view] [source] 2021-12-16 18:57:45
Odd, I run Slackware-current, with Fluxbox.

To suspend, I just run "xlock & loginctl suspend" from a script being called from a Fluxbox submenu. Dumb easy.

replies(1): >>mattke+o7
2. mattke+o7[view] [source] 2021-12-16 19:33:32
>>anthk+(OP)
Good satire!
replies(2): >>opan+gO >>anthk+o93
◧◩
3. opan+gO[view] [source] [discussion] 2021-12-16 23:18:34
>>mattke+o7
To clarify the parent's comment, he clicks a button in a menu to suspend, he just also said what the button is doing. It's probably less complicated than you're thinking.
◧◩
4. anthk+o93[view] [source] [discussion] 2021-12-17 16:27:47
>>mattke+o7
xlock = locks your desktop with a screensaver (or not).

& = puts xlock in the background so the shell can continue parsing commands without waiting for xlock to finish.

loginctl = sends the command on the right to the login manager.

suspend = self-explanatory.

Thus, upon waking up from suspend, your machine is still locked up by xlock. Simple.

[go to top]