LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-01-2010, 02:29 PM   #1
lawlonslawt
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
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.
 
Old 12-01-2010, 02:44 PM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
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.
 
Old 12-01-2010, 02:46 PM   #3
lawlonslawt
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Those are the two exact things I've done. thanks for the speedy reply!
 
Old 12-01-2010, 03:10 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
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
 
Old 12-01-2010, 04:35 PM   #5
lawlonslawt
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 12-01-2010, 10:35 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,104

Rep: Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538
Quote:
Originally Posted by lawlonslawt View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox background problem rgriffin Linux - Software 22 03-29-2004 11:43 PM
fluxbox background ambelos Linux - Software 16 02-26-2004 02:11 AM
fluxbox background again! nxny Linux - Software 2 08-12-2002 02:19 PM
Making the background stretch to fill your desktop in fluxbox ShibbyLinux Linux - General 2 04-11-2002 08:37 PM
fluxbox background yaker Linux - General 3 03-31-2002 05:11 PM


All times are GMT -5. The time now is 03:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration