[openbox] auto-starting xscreensaver

Robbie Smith zoqaeski at gmail.com
Thu Feb 14 22:08:44 EST 2013

On 15/02/13 03:49, Louis-David Mitterrand wrote:
> Hi,
> I dropped a xscreensaver-daemon.desktop file in ~/.config/autostart and
> xscreensaver is listed when doing:
> marcus:~% /usr/lib/openbox/openbox-xdg-autostart --list OPENBOX
> [*] XScreensaver
>            File: /home/ldm/.config/autostart/xscreensaver-daemon.desktop
>            Executes: xscreensaver -nosplash
> Yet no xscreensaver daemon is started, event after restarting gdm3.
> Where should I look?
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
The simplest (though non-XDG) way is to edit ~/.config/openbox/autostart 
and add the following two lines:

xscreensaver-command -exit &
xscreensaver -no-splash &

The first kills a running instance (such as when you log out and log 
back in), and the second starts a new one.

More information about the openbox mailing list