LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fluxbox desktop background (https://www.linuxquestions.org/questions/linux-desktop-74/fluxbox-desktop-background-847745/)

lawlonslawt 12-01-2010 01:29 PM

Fluxbox desktop background
 
I'm currently running Xubuntu with Fluxbox. It's been awhile since I've used Linux, and this is quite a new setup for me. My issue concerns maintaining a background. When I put fbsetbg -l in my .init file, it seems to do nothing. I've also tried fbsetbg -f ~/.fluxbox/path/to/file.jpg, and it doesn't work either. By the by, I'm using feh with fbsetbg. When I manually type in these commands in the terminal, I get the wanted results, but only for that session. I have also tried doing the same in the startup file, and still nothing. The only background I manage to maintain is that of the Xubuntu login screen (the sky blue prettiness). I've read Fluxbox documentation on setting backgrounds; that's how I learned where to start. But, as aforementioned, no luck. Upon logging out of the session or rebooting, I see the Xubuntu login background as my Fluxbox background when I log back in. Any help would be appreciated.

reed9 12-01-2010 01:44 PM

What exactly are you putting in the init file? It's been a while since I used fluxbox, but it should look like
Code:

session.screen0.rootCommand:        fbsetbg -l
You could also, I believe, add fbsetbg -l to ~/.fluxbox/startup.

lawlonslawt 12-01-2010 01:46 PM

Those are the two exact things I've done. :( thanks for the speedy reply!

reed9 12-01-2010 02:10 PM

Hmm. Alright, it may be you need to set the overlay.

Edit ~/.fluxbox/init and add this if it isn't there
Code:

session.styleOverlay: ~/.fluxbox/overlay
Create or edit the file ~/.fluxbox/overlay and put in this
Code:

background: aspect
background.pixmap: /path/to/your/backgroundimage.jpg

You might try nitrogen as well. I've always preferred it, though I use openbox.

Code:

sudo apt-get install nitrogen
nitrogen /path/to/imagefolder

Select your wallpaper.

In ~/.fluxbox/init put
Code:

session.screen0.rootCommand:    nitrogen --restore

lawlonslawt 12-01-2010 03:35 PM

I appreciate all the help, Reed. I swear to Jesus, I tried multiple times adding fbsetbg -l to my startup file, and it did nothing. I just did it again, and it worked! If I run into another problem, I'll refer to the advice you just posted. Again, thank you.

frankbell 12-01-2010 09:35 PM

Quote:

Originally Posted by lawlonslawt (Post 4177462)
I appreciate all the help, Reed. I swear to Jesus, I tried multiple times adding fbsetbg -l to my startup file, and it did nothing. I just did it again, and it worked! If I run into another problem, I'll refer to the advice you just posted. Again, thank you.

I can empathize.

When I worked in tech support, we used to refer to something like this as an FM problem (as in "freaking magic").

I just had a struggle with fbsetbg -R [path to background files] on one of my three computers. It was working fine on the other two.

Darn computers.

If there is such a thing as a Fluxbox groupie, I'm probably it.


All times are GMT -5. The time now is 08:21 PM.