LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2006, 12:29 PM   #1
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
Fluxbox can't set background!


I've had this problem for quite and while and it's driving me nuts...

When I change to a style in Fluxbox the style doesn't set the background, even though the style is correct, this happens for every single style, including the default ones. The style will set the window decorations and the taskbar but not the background.

This problem is a configuration issue because when I start fluxbox in a fresh user account and select the same styles, they all set the background image correctly every time - there is noting wrong with the styles themselves. When logged in as my regular user I can set the backgound myself using fbsetbg. Fbsetbg -i tells me I am using Esetroot:
Code:
$ fbsetbg -i
Esetroot is a nice wallpapersetter. You won't have any problems
rubbing salt in the wound? The thing is, fbsetbg does work, at least if I type it into an xterm myself, and the styles use the rootcommand fbsetbg /path/to/jpeg to set the wallpaper so I don't understand why this doesn't work.

All suggestions welcome!
 
Old 06-03-2006, 12:59 PM   #2
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Dont know if you have seen this http://fluxbox.sourceforge.net/docbo...l/chap-bg.html but you might have to edit your ~/.fluxbox/init file if its overriding the theme background.
 
Old 06-03-2006, 01:34 PM   #3
oldsko0l
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Ubuntu Dapper, Gentoo 2006.1
Posts: 140

Rep: Reputation: 15
yum install feh
or apt-get install feh

and then in ~/.fluxbox/init you add this
feh --bg-scale /home/oldsko0l/.fluxbox/backgrounds/Spycho-1024.jpg

in the right of this
session.screen0.rootCommand:
 
Old 06-03-2006, 01:34 PM   #4
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
the line in my init file is:
Code:
session.screen0.rootCommand:    fbsetbg -l
i'll try commenting this out and see if it works...

EDIT: IT works!

The issue now is how do you set another background and then have it re-set it the next time you log in, this is what fgsetbg -l was good at, but now it seems I have to choose between being able to have a changeable wallpaper or having a style settable wallpaper..

Last edited by humbletech99; 06-03-2006 at 01:39 PM.
 
Old 06-03-2006, 02:43 PM   #5
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Yeah thats what I ended up with, have to set the background manually. It does work but not quite as easily as just changing the theme.
 
Old 06-03-2006, 02:57 PM   #6
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
but every time you log off and back in the background goes back to the theme's background...

irritating if you try using a background other than the one from your current theme.
 
Old 06-03-2006, 03:28 PM   #7
oldsko0l
Member
 
Registered: Feb 2006
Location: Belgium
Distribution: Ubuntu Dapper, Gentoo 2006.1
Posts: 140

Rep: Reputation: 15
change it in the init file then it will load it automatically
 
Old 06-03-2006, 04:13 PM   #8
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
This is in my init file:
session.screen0.rootCommand: fbsetbg -f /home/brads/neuron1.jpg

Of course if I change theme the background has to be changed manually.
 
Old 06-03-2006, 06:58 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
If you are using a recent version (I think 0.9.15.1 onwards) the command used in styles has changed and the 'rootcommand' won't recognised.

Read the changelog on fluxbox site for info on the new commands.
 
  


Reply



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 ambelos Linux - Software 16 02-26-2004 01:11 AM
set a background permanently in fluxbox Vincent Slackware 10 01-16-2004 12:32 PM
how to set fluxbox background? Vincent Slackware 3 11-02-2003 03:43 PM
fluxbox background again! nxny Linux - Software 2 08-12-2002 01:19 PM
fluxbox background yaker Linux - General 3 03-31-2002 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration