Does anyone know how to set the background in fluxbox? I looked at http://fluxbox-wiki.org/index.php/Howto … background but fbsetbg doesn't work for me...
feh works well and is fairly small
pacman -Sy feh
feh --bg-scale FILE
if you are using the new fluxbox (0.9.15.1) then the way backgrounds are set has changed.
from the changelog for 0.9.15
News in 0.9.15:
* New theme item:
* background: [texture option]
* background.pixmap: image filename
* background.color: [color]
* background.colorTo: [color]
The background.pixmap filename will be sent to "fbsetbg"
which in turn sets the background.
The following options will be available for the background.pixmap:
and it can also generate a normal texture:
The rootCommand in the style is now obsolete and if the
"background" item is not found in the style then the default
background will be green and with a warning text.
and from 0.9.15.1
News in 0.9.15.1:
* Removed the green background on styles that are not using
the new background option.
install fluxbox, install feh, use fbsetbg.
I've got the same kind of problem, here is the code at the end of the syle file:
background: centered background.pixmap: /home/$USER/.fluxbox/backgrounds/Ushuaia.jpg
now, this doesn't set the background.
This might have something to do with the .fluxbox/init file, where I have the line:
and nothing is set.
thanks in advance.
session.screen0.rootCommand: fbsetbg -l
remembers the last wall paper i set (with the command fbsetbg) when fluxbox is restarted,
session.screen0.rootCommand: fbsetbg -f /path/to/wallpaper
sets a wallpaper when fluxbox is started.
What i am looking for is that the style itself sets the wallpaper.
Try changing $USER to your actual user name. Sometimes paths like that don't play nice with styles.
setting the path to the background without environment variables works
thanks fo the tip.