LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox background problem (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-background-problem-158936/)

rgriffin 03-17-2004 09:23 AM

Fluxbox background problem
 
I've got a fresh install of Fedora Core1 which I updated with YUM. Everything went fine and so I then did a yum install of fluxbox. Installed fine but I'm unable to use the fbsetbg command to change my background in fluxbox. It's the 0.9.8 version which I've used before without a problem. No commands will change the background and I'm confursed because I've had this exact same setup before and it worked perfectly. I'm no Linux expert by any means and this is got me stumped. Other than the background not changing things work perfectly. Any help would be appreciated.

Komakino 03-17-2004 09:29 AM

Are you logged in as root? Fluxbox by default prevents you running certain commands as root.

rgriffin 03-17-2004 09:34 AM

I've tried it as root and as user and the commands just won't work. I'm quite the newbie at Linux and so when I get a system issue I can't fix I usually just do a complete reinstall and try again. I'm getting tired of doing that and want to buckle down and learn how to fix things an easier way......

Komakino 03-17-2004 10:24 AM

The command is bsetbg, not fbsetbg, it uses the blackbox background set script.
Run bsetbg and it'll configure some stuff (it'll see what display tools you have, e.g. xv, display...) then you can either edit your .fluxbox/init file and change the line rootcommand to use bsetbg or you can use it manually.

rgriffin 03-17-2004 03:17 PM

Nope....the command does nothing for me.....

mikshaw 03-17-2004 05:26 PM

You need to have something installed that will set the background. fbsetbg is merely a wrapper, and won't work unless you have something like bsetroot or bsetbg or Esetroot.

Genesee 03-17-2004 05:50 PM

did you try wmsetbg ?

(I'm going from memory here... but I seem to remember having the same prob. at some point :confused: )

here's a good reference that may help:

http://reviewed.homelinux.org/man/fluxbox/

Bruce Hill 03-20-2004 11:53 PM

Re: Fluxbox background problem
 
Quote:

Originally posted by rgriffin
I've got a fresh install of Fedora Core1 which I updated with YUM. Everything went fine and so I then did a yum install of fluxbox. Installed fine but I'm unable to use the fbsetbg command to change my background in fluxbox. It's the 0.9.8 version which I've used before without a problem. No commands will change the background and I'm confursed because I've had this exact same setup before and it worked perfectly. I'm no Linux expert by any means and this is got me stumped. Other than the background not changing things work perfectly. Any help would be appreciated.
Try this - it works for me:

Just edit the style-file ...
<favourite editor> `grep styleFile ~/.fluxbox/init | cut -f 2`
replace what it has for rootCommand with your line.

For example, this is what I did ->

bash-2.05b# pico /usr/X11R6/share/fluxbox/styles/Spiff
<snip, snip>
rootCommand: bsetbg -f ~/slack1.png

You can use that command ->
bsetbg -f ~/slack1.png
to set a background from wherever your file is located. Mine
is in my home directory. But the background will not be there
is you restart the x-server unless you edit the style file.

Thanks to Tinkster for telling me how to do this! :}

Pwnz3r 03-21-2004 01:35 AM

Try xsetbg and then the filename. It works for me just fine.

ambelos 03-25-2004 07:05 AM

nope, i don't think any of those things is the problem. i had the same exact thing going on. i had to edit the bsetbg config file. it should be in your .flubox folder.

# /home/politisj/.fluxbox/bsetbg
#
# automagically generated with loving care by bsetbg 1.12 on Wed Feb 18 09:59:59 EST 2004
#
# uncomment the set below that corresponds to your favorite root-image
# application, or mix and match to suit your pleasure.
#
# xli misbehaves under larger screen resolutions when using the -fillscreen
# option. use -fullscreen if your resolution is higher than 1024x768.
#

### xsri
FULL="xsri --scale-width=100 --scale-height=100"
TILE="xsri --tile"
CENTER="xsri --center-x --center-y"
DEFAULT="xsri --center-x --center-y"

### display
# FULL="display -geometry 1024x768 -window root"
# TILE="display -window root"
# CENTER="display -backdrop -window root"
# DEFAULT="display -backdrop -window root"


display will work too, but for some reason wouldn't work with transparency. so, just use xsri. works fine now. if THIS don't work, THEN try what everyone else is saying.

Bruce Hill 03-25-2004 07:16 AM

Re: Fluxbox background problem
 
Quote:

Originally posted by rgriffin
No commands will change the background and I'm confursed because I've had this exact same setup before and it worked perfectly.
We didn't ask. What commands have you tired?
Where do you stand with this issue now?

rgriffin 03-25-2004 08:14 AM

I reinstalled fluxbox with the fedora RPM and fbsetbg works....but it still stumps me because it was working perfectly when I installed it with the source file....go figger

ambelos 03-25-2004 09:20 AM

this must be one of those super odd cases where the rpm works better than compileing from source.

acctualy, i just remembered. fbsetbg is a small package specificly for flux, ithink, and isn't included if u compile from source. they may have added it to the rpm package, so, that just might be the reason.

Bruce Hill 03-25-2004 03:22 PM

Quote:

Originally posted by ambelos
this must be one of those super odd cases where the rpm works better than compileing from source.
That would be one for "Ripley's Believe It or Not" -- I'd choose not. ;)

Pwnz3r 03-25-2004 04:28 PM

It's too doubtful... just way too doubtful. lol


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