Xfce and session lock (xlock)

Polytropon freebsd at edvax.de
Fri Dec 2 07:42:25 UTC 2011

On Fri, 2 Dec 2011 01:23:19 +0100, Patrick Lamaiziere wrote:
> I use Xfce 4.8, is there a way to lock the session when the screen goes
> to sleep?

I think you can install the port "xscreensaver" which
integrates well with Xfce. At least it did the last
time I did look at it. :-)

The xscreensaver program does show a screensaver or
use the monitor's DPMS feature after a specified
time without interaction. It will then require a
password to unlock the session.

Note: I'm using the classic "xlock" command (with
installed port "xlockmore") and usually lock the
session by pressing ("slapping") the "Help" key
(which is the double-width key on the top left on
a Sun keyboard, quite handy). I'm not sure if xlock
has an option for setting a timeout value...

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list