-   Slackware (
-   -   set a background permanently in fluxbox (

Vincent 01-15-2004 01:21 PM

set a background permanently in fluxbox
I use wmsetbg in order to set a background-wallpaper. This works nicely but once I restart X the background is gone. I've tried to put a line in the ~/.fluxbox/startup file but without success.

# You can set your favourite wallpaper here if you don't want
# to do it from your style.
wmsetbg pics/wallies/linux-1280.jpg
# This sets a black background

#/usr/X11R6/bin/bsetroot -solid black

Who can help? :)

Tinkster 01-15-2004 01:30 PM

I'm not using that feature, but seeing how
setroot was called with a fully qualified
path, maybe you want to do that with
wmsetbg, too? :)


acid_kewpie 01-15-2004 01:35 PM

personally i'd say edit the theme, change the rootCommand entry to suit your needs.

Vincent 01-15-2004 02:00 PM

I've changed the line to the full path and added the same to the root command, but it failed again. :(

Tinkster 01-15-2004 02:32 PM

How about a fully qualified path to the picture? :)

Btw, what I do (old flux 0.1.14) is to run
bsetbg <path to images>&
~/.xsession ;) ... no modfied themes or anything.


Scruff 01-15-2004 02:48 PM

I just include the wmsetbg command at the end of my .xinitrc file like this:

# Start the window manager:
exec /usr/X11R6/bin/fluxbox &
wmsetbg custom/wallpaper/chaos.jpg

Make sure to include the '&' at the end of the exec line so the script will continue past to the next line.

Vincent_Vega 01-15-2004 10:37 PM

go to the file for the style you're using (/usr/X11R6/shared/fluxbox/styles/<style_name>) and edit the rootCommand line changing the path to the pic of your choice. Worked fine for me.
or cp the style file to another name all together and edit that one so you can keep the original like it was.

Scruff 01-15-2004 10:43 PM

Vincent Vega....
Cool nick ;)

Vincent_Vega 01-15-2004 10:48 PM


nesware 01-16-2004 05:02 AM

or put the style in ~/.fluxbox/styles and edit the rootCommand there

chemtraX 01-16-2004 12:32 PM

fbsetbg is the replacement for bsetbg in fluxbox. you can have permenant wallpaper setting everytime you login to fluxbox. just set the rootCommand in ~/.fluxbox/init file:


*.*.rootCommand        DISPLAY:0.0  fbsetbg -l
also download and install fluxbox-generate_menu.(in my opinion) a great combination with the fbsetbg tool.

give it a try...sure it will look nice on your fluxbox desktop.

download the tools here and dont forget to read the howto.

All times are GMT -5. The time now is 02:11 PM.