Originally Posted by bl0tt0
Maybe I've missed something important in the process of keeping up with current, but I've noticed that with the newer versions of fluxbox, the included styles don't seem to have backgrounds. I've looked at the -current changelogs, and I haven't noticed any mention of these changes. Can someone give me an idea of what needs to be changed in order to make use of the backgrounds of the system styles?
I've been using the KDE (Krummy Desktop Environment) since 2006-04-11. Nice to be back in Flux, but some things have changed...
I'm running Slackware-current, 220.127.116.11, Fluxbox 1.0rc (from Slack -current).
I tried to set a background image (slack1.png) unsuccessfully. First in ~/.fluxbox/startup which didn't work. I just uncommented this line and changed the path
# bsetbg -f ~/pictures/slack1.png
but that didn't work. I would see the image when Flux loaded, but it changed to a grey (not 100% black) background.
Next I commented this line in /usr/X11R6/share/fluxbox/styles/Spiff
#rootCommand: fbsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70
and added this line
rootCommand: bsetbg -f ~/pictures/slack1.png
which is what I've been using on Fluxbox for a couple of years. Same result -- saw the image, but the desktop went grey.
What the_real_absinthe posted confused me, until I read the Fluxbox ChangeLog.
* Fixed #bug #1417688, remember apps keeps
incrementing vertical dimension (Henrik)
* Fixed root pixmap problem.
Using fbsetroot to set background. (Henrik)
RootTheme.cc, FbPixmap.hh/cc, FbCommands.hh/cc
That ChangeLog is pretty hard to understand, for me -- it doesn't mention the file names where these items occur. Maybe it's because I'm not a programmer or something...even so, the last mention of changing the background is
* New theme item:
background: <texture option>
background.pixmap: <image filename>
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 black and with a warning text.
which says "rootCommand is obsolete in the style
, which to me means in /usr/X11R6/share/fluxbox/styles/Spiff -- is that correct?
After reading dive's post, I commented those lines so that /usr/X11R6/share/fluxbox/styles/Spiff has no rootCommand line, and ~/.fluxbox/startup has nothing uncommented except the apps I start. Instead I have
session.screen0.rootCommand: bsetbg -f ~/pictures/slack1.png
in ~/.fluxbox/init and now my background loads. NB: The Fluxbox in -current is fluxbox-1.0rc-i486-1. Also, "fbsetroot" as Henrik posted on 06/02/12 doesn't work for me -- maybe because I don't know how to use that command?
Seems I never learned Fluxbox really well before, so I'm reading the esoteric documentation now.
One problem I have, trying to Google <Linux> up some answers now. My GKrellM invisible theme does not work on Fluxbox-1.0rc or 0.9.12 -- both Slackware official packages. It looks like the default theme, except there is no border around it.