Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
8 tiny steps to fluxbox background heaven!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Thu Aug 07, 2003 3:01 am    Post subject: 8 tiny steps to fluxbox background heaven! Reply with quote

Getting any backgrounds into the fluxbox menu was a mystery to me until I started hacking around my system. Here's what I found:

Default system images are stored in: /usr/share/commonbox/backgrounds/

The default backgrounds menu item is:
/usr/share/commonbox/imagebgmenu

You need xv installed to make this all work.

So armed, I did this:

Code:
   Download the tarball from ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
   Copy the tarball to /usr/portage/distfiles/
   Run emerge xv
   Copy /usr/share/commonbox/imagebgmenu to ~/.fluxbox/
   Create the folder ~/.fluxbox/backgrounds/ and place your images there
   Edit your ~/.fluxbox/menu file and replace the following line:

[include] (/usr/share/commonbox/imagebgmenu)

with this one:

[include] (~/.fluxbox/imagebgmenu)

   Edit your ~/.fluxbox/imagebgmenu so that it is similar to mine shown here:
      
[submenu] (background images) {choose image...}
    [submenu] (System Images)
        [exec] (gentoo) {xv -root -rmode 5 -max -quit /usr/share/commonbox/backgrounds/gentoo.jpg}
           [exec] (potter) {xv -root -rmode 5 -max -quit /usr/share/commonbox/backgrounds/shot0001.jpg}
    [end]
    [submenu] (User Images)
           [exec] (gentoo) {xv -root -rmode 5 -max -quit ~/.fluxbox/backgrounds/gentoo-box-1280x1024.png}
   [exec] (powered by) {xv -root -rmode 5 -max -quit ~/.fluxbox/backgrounds/powered-big.png}
              [exec] (potter) {xv -root -rmode 5 -max -quit ~/.fluxbox/backgrounds/shot0001.jpg}
    [end]
[end]

   Enjoy your new backgrounds from  Settings -> background images -> User Images


It's a few steps, but this way, users have their own folders in which to store images instead of you having to provide them or allowing them write access to /usr/share/commonbox/backgrounds/. I shudder at the mere thought. :twisted:

Happy Hacking

--Joe
_________________
Linux User#226477
Back to top
View user's profile Send private message
panthar
n00b
n00b


Joined: 01 Sep 2002
Posts: 9

PostPosted: Thu Aug 07, 2003 1:37 pm    Post subject: Reply with quote

The *box window managers have some nice utility packages that can help you in your quest for a background without resorting to XV ;)

Take a look at the x11-misc/commonbox-utils package, which includes these small, helpful apps:

Code:
/usr/bin/bsetroot
/usr/bin/bsetbg
/usr/bin/commonbox-imagebgmenugen
/usr/bin/commonbox-menugen

_________________
There are 11 types of people - those who can count in binary and those who cannot.
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Thu Aug 07, 2003 1:40 pm    Post subject: Reply with quote

you *really* have a harry_potter background ???
I'm inbetween LOLing and PUKEing...
=)
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Thu Aug 07, 2003 2:06 pm    Post subject: Reply with quote

LOL, kitano.:D
Actually, i was playing the DVD for my daughter and inadvertantly took a screenshot...figured I'd put the image to use for something.

--Joe
_________________
Linux User#226477
Back to top
View user's profile Send private message
enrique
Guru
Guru


Joined: 03 Sep 2002
Posts: 342
Location: Denmark

PostPosted: Thu Aug 07, 2003 2:30 pm    Post subject: Reply with quote

To set the background in fluxbox I recommend: this tread

For pekwm use this :)
_________________
Kind regards, enrique
Workstation,HTPC,Powerbook
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Thu Aug 07, 2003 7:29 pm    Post subject: Reply with quote

Thx, enrique... hadn't had time to sit down and script any. Automation is very nice.

--Joe
_________________
Linux User#226477
Back to top
View user's profile Send private message
wouzer
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 82
Location: The Hague, The Netherlands

PostPosted: Mon Aug 11, 2003 8:50 pm    Post subject: Reply with quote

panthar, not meaning to irritate you but your signature doesn't make sense.
"11" means "3". It should be "there are 10 types of people" while "10" means "2". I gues you don't understand binary your self :)

It might be a joke, but i guess most people who do understand binary, don't get it.

Again, I'm not offending you, but it looks a little silly.
Greetings Wouzer51
_________________
It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt. (Mark Twain)
Back to top
View user's profile Send private message
jrollins
n00b
n00b


Joined: 16 Aug 2002
Posts: 33
Location: Colorado

PostPosted: Thu Aug 14, 2003 2:17 am    Post subject: Reply with quote

wouzer wrote:
panthar, not meaning to irritate you but your signature doesn't make sense.
"11" means "3". It should be "there are 10 types of people" while "10" means "2". I gues you don't understand binary your self :)

It might be a joke, but i guess most people who do understand binary, don't get it.

Again, I'm not offending you, but it looks a little silly.
Greetings Wouzer51


That's the joke...he can't count in binary.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum