Click to See Complete Forum and Search --> : permanent openbox background


andil
05-08-2004, 12:49 PM
I've checked on the boards and googled but I can't find any info on setting the openbox background as permanent. Does openbox support permanent backgrounds at all?

Hayl
05-08-2004, 12:53 PM
no, it does not allow it to be set in the theme, in the same way that flubox does but you can just put an Esetroot, bsetbag, etc. into ~/.xsession -- along with anything else you want started/done/laoded when it starts.

andil
05-08-2004, 01:05 PM
I don't have that directory. However, I added a command line to the /etc/X11/Xsessions.options dir. Didn't work either.

X_console
05-08-2004, 06:58 PM
It's not a directory, it's a file. Just add the command there. I typically just use xv so my .xsession (or .xinitrc if you don't boot to X) would be something like:

xv -root -quit /usr/share/backgrounds/linux.jpg

andil
05-08-2004, 08:02 PM
My bad, I must have been thinking about directories for some reason. I don't have the file either. The file I have says '.xsession-error'. I'll add the line to the .xinitrc.

elderdays
05-08-2004, 08:21 PM
do this:echo "whatever command you want" >> ~/.xinitrc

That will make the file (append actually)