Home

xscreensaver and xfce4 on Lenny

2009/02/26

It seems that the default installation of xfce4 on Debian Lenny does not start the xscreensaver daemon by default. After looking here and there (mostly in Ubuntu forums) and reading the X startup scripts, I resolved the problem by simply creating $HOME/.xsession as follows:

#!/bin/bash
(sleep 5; /usr/bin/xscreensaver -no-splash) &
/usr/bin/startxfce4
/usr/bin/xscreensaver-command -exit

PS: I use xdm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: