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 4/19/06, Peter N. Spotts <[email protected]> wrote:
>
> >
> > background:                     pixmap
> > background.pixmap:          ~/.fluxbox/[theme]/pixmaps/[image].jpg
> >
> > HTH's
> >
>
> Aha! Does this imply that the new backgrounding setup wants to see the
> jpg in ~/.fluxbox/[theme]/pixmaps/[image].jpg, instead of an arbitrary
> directory for which one would specify the path in the style file?
>
No, you can place it anywhere you want, but given the structure of
themes/styles (i.e. theme.cfg file in the style folder with a
subdirectory pixmaps holding the picture of the theme), thats why I
wrote it as above.

In actual fact I made (yet another) typo, and the above should read

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

If you regularly change your background to something other than in the
theme I guess you could leave out that section in the config and
instead and an entry to ~/.fluxbox/startup to run fbsetbg upon
starting.

For example in my ~/.fluxbox/keys I have the following entry...

# Random Exploding Dog desktop (http://www.explodingdog.com/)
Mod4 r     :ExecCommand  fbsetbg -R "~/.fluxbox/backgrounds/explodingdog/"

which sets a random picture from the directory as the background when
I press the windoze key + r.  You could put the following in
~/.fluxbox/startup to set the back ground...

fbestbg /[path]/[to]/[your]/[picture]/jpg &

and that would (probably) set the background.

But at the end of the day whether you edit the theme.cfg or the
startup file is of little difference, since your still editing the
file.

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/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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.