One of the things you may notice in the LXDE version of PCLOS is that the screen doesn't lock when you suspend or hibernate. That's fine at home, but not so great at work or in public. Here's my (very) ugly workaround.
1. Open up a terminal. Su to root.
2. Run 'nano -w /usr/bin/lxde-logout'.
3. Add a semicolon to the end of the second line, and add a third line: 'xscreensaver-command --lock'
You should now have this:
lxsession-logout --banner "/usr/share/lxde/images/logout-banner.png" --side=top;
Press Ctrl-X and tell nano to save and exit, and you're done. Now, upon resuming from suspend, XScreensaver will immediately lock the screen.
Side effects (because this is an ugly little hack!):
- Clicking the Cancel button on the logout dialog will also lock the screen
- /usr/bin/lxde-logout *may* be overwritten on the next update of LXDE, requiring the hack to be implemented again
Other than that though, it works fine for me. Still, if you know a better way of getting LXDE's suspend/hibernate functionality to lock the screen, then by all means make it known here!