[openbox] auto-starting xscreensaver

Louis-David Mitterrand vindex+lists-openbox at apartia.org
Fri Feb 15 12:28:08 EST 2013


On Fri, Feb 15, 2013 at 08:48:56AM -0500, Jim Rees wrote:
> 
> I had the same problem. Autostart doesn't seem to have any useful
> environment, but if you start a helper script from it, that helper will. My
> helper is csh, but this might work with sh too. After fooling around and
> trying different things, here is what I ended up doing.
> 
> .xsession:
> exec openbox-session
> 
> .config/openbox/autostart.sh:
> ~/com/setbg
> 
> ~/com/setbg:
> #!/bin/csh
> feh --bg-tile background.jpg

Actually this also works from ~/.config/openbox/autostart:

	xli -quiet -onroot ~/img/$(hostname).jpg

Thanks for your reply,


More information about the openbox mailing list