Quote:
Originally Posted by bl0tt0
Hello all,
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?
Thanks
|
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, 2.6.17.1, 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
Code:
# 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
Code:
#rootCommand: fbsetroot -mod 2 2 -fg rgb:48/50/68 -bg rgb:50/58/70
and added this line
Code:
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.
Quote:
*06/02/12:
* Fixed #bug #1417688, remember apps keeps
incrementing vertical dimension (Henrik)
Remember.cc
* 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
Quote:
*05/11/22:
* 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:
- tiled
- centered
For example:
background: tiled
background.pixmap: someimage.png
and it can also generate a normal texture:
background: gradient
background.color: blue
background.colorTo: green
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.
(Henrik)
RootTheme.hh/cc, Screen.cc
|
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
Code:
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.