Screen locking revisited

Please post all general support questions for LXDE here.
Locked
Gullible Jones
Posts: 7
Joined: Thu Oct 23, 2008 1:23 am

Screen locking revisited

Post by Gullible Jones »

What's the status on locking the screen on suspend/hibernate right now? It's supposed to work with gnome-screensaver (I think), but can it be made to work with xscreensaver or xlockmore?

Currently my solution to the "suspend without screen locking" issue is to put this in /usr/bin/lxde-logout:

Code: Select all

#!/bin/sh
lxsession-logout --banner "/usr/share/lxde/images/logout-banner.png" --side=top;
xscreensaver-command -lock
But that is a gross hack; it locks the screen anyway if I hit "Cancel" in the dialog, and will be undone next time LXDE gets updated. Is there currently a better way?

(Using Salix 13.37 LXDE, FWiW.)
Locked