4 ms·
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.
by anthk 5y ago
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.
- mattkevan 5y agoGood satire!
- opan 5y agoTo 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.
- anthk 5y agoxlock = 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.