1 | pfexec bash |
Is xscreensaver running? (should see 1 output line):
1 | pgrep -l xscreensaver |
If so kill it:
1 | pkill xscreensaver |
Rename xscreensaver so system can’t find it:
1 | XSSVR=$(which xscreensaver) |
Note: “Lock screen” will be disabled, however the monitor’s power save mode is still enabled.
To manually lock the screen, run:
1 | xscreensaver.original | xscreensaver-command --activate |