Re: For people unclear on the background.pixmap concept

"Neil Shephard" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On Tue 18 Apr 2006 Peter N. Spotts wrote....

>After upgrading to Fluxbox 0.9.15.1, I'm trying to figure out the new
>background regime. I've got a photo I'd like to use with a particular
>style, but when I change to that style, the previous photo remains as
>my wallpaper. I've played with different settings in the init file,
>including, but not limited to:
>
>session.screen0.rootCommand: fbsetbg -l (then commented the line out,
>then removed the -l, etc)
>
>The background image still doesn't change.
>
>I took a shot at incorporating the new background command in the
>style file of interest:
>
>background.pixmap:  /home/~/Backgrounds/thisimage.jpg
>
>Yes, I recognize it's not a pixmap, but if backgroud.pixmap now sends
>info to fbsetbg, it seemed the only command to use.
>
>And of course, I tried fbsetbg as a stand-alone command in the style
>file. Still nuthin'. I suspect I've overlooked something painfully
>obvious, but I'm desperate enough to endure the humiliation ;-)
>
>Any hints as to how to associate a photo with a style anymore?

I had a few problems with the new way in which backgrounds are handled
as well (see posts in archive dated 21st and 22nd March 2006).

You no longer need to use the use the rootCommand (and it is in fact
obsolete).  Details of how to use the new background style options can
be found in the NEWS file that comes with the source.  Its copied
below for reference....

    * 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.

To display an image 'stretched' (as opposed to centered or tiled) to
your desktop you would specify...

background:                     pixmap
background.pixmap:          ~/.fluxbox/[theme]/pixmaps/[image].jpg

HTH's

Neil
--
"Try to learn something about everything and everything about
something." - Thomas H. Huxley

Email - [email protected] / [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.