Click to See Complete Forum and Search --> : Fluxbox Backgrounds?
blackhawk714
02-27-2004, 01:42 AM
I was wondering how I can get any background image that I want on Fluxbox 0.9.8. I have the image in the /.fluxbox/backgrounds folder and it is incorperated in the theme file that I can choose. I don't understand what is wrong here. Thanks for your help :)
Icarus
02-27-2004, 02:07 AM
try this...
fbsetbg -a "/home/mahdi/.fluxbox/backgrounds/<your image>
or my favorate, have it choose randomly
fbsetbg -r /home/mahdi/.fluxbox/backgrounds
If you have any problems, post the errors for us
blackhawk714
02-27-2004, 02:45 AM
I edited the command in the theme file like you said and it didn't work. I chose that theme and the background still stays black. No errors. Help please. Thanks
mengle
02-27-2004, 02:50 AM
Hey Blackhawk,
I've been having a similar problem and haven't been able to solve it. Here's an example of what I have in one of my theme files:
rootCommand: fbsetbg -f /home/mark/.fluxbox/backgrounds/GreenPic-1280.jpg
All I get is a black screen, too. However, if I type this command into aterm, the wallpaper loads up fine and dandy like sour candy. :p
blackhawk714
02-27-2004, 03:01 AM
Thanks that worked. Will it stay that way if I log out and log back on? :D thanks again
mengle
02-27-2004, 03:59 AM
If you just typed the command into console it only lasts for that session (but that's all I can get to work). If you added to the style file then it should work whenever you load that style (theoretically but I've never been able to get it to work).
blackhawk714
02-27-2004, 04:18 AM
that really does suck. Anyone have any suggestions on this problem. Thanks for all of your help.
Loki3
02-27-2004, 04:24 AM
Originally posted by blackhawk714
that really does suck. Anyone have any suggestions on this problem. Thanks for all of your help.
Use Esetroot! :D Sorry, that's a pretty lame answer but Esetroot comes packaged with Eterm so you might as well get the nice transparent terminals and the background setting abilities in one package.
MisterB
02-27-2004, 04:36 AM
If you edit your ~/.fluxbox/init file and look for the line that i have my .jpg on and edit yours accordingly. You'll either have to restart fluxbox with the menu option. Or just quit X and startx again. [thats really bad grammer but im too tired to fix it..heh, i think you'll get the jist of it.] :D
session.screen0.focusModel: ClickToFocus
session.screen0.rootCommand: Esetroot ~/backgrounds/gentoo1024x768.jpg
session.screen0.menuDelayClose: 0
mengle
02-27-2004, 04:41 AM
Hmm...But if I'm correct, by editing the init file, that will give you the same wallpaper regardless of the style you select. I think the Blackhawk was interested in was having a different wallpaper for each style (at least I am) in which case AFAIK you want to edit the specific style config files instead.
merclude
02-27-2004, 05:26 AM
fbsetbg is just a wrapper, it tries to set the background via different programs, and if i recall correctly, it prefers 'feh' first , then i think 'esetroot' ..dunno after that...i use feh :) and it works fine, different styles load different backgrounds..wee
blackhawk714
02-27-2004, 02:09 PM
Cool, thanks guys. I will get eterm and use esetroot, and thanks for all of your help. I really appriciate it. Fluxbox is really cool. ;)
knute
02-27-2004, 02:35 PM
Did you actually set fluxbox up to use the configs in your ~/.fluxbox or are they still set up for /usr/share/fluxbox/ ??
I can't remember which file that part is in, but it's worth looking at.
I've used several different wm's and I may be confusing this with enlightenment, but isn't there an option to override the theme somewhere? That's with putting the command in ~/.fluxbox/init, I believe.
Sorry, been awhile since I've configured flux! ;)
My 2 cents.
Icarus
02-27-2004, 02:53 PM
Yes, it's ~/.fluxbox/init that will override any theme settings. This is a good place to set your background, unless you take whatever the them gives you
knute
02-27-2004, 03:11 PM
So then there must be a set background command in the ~/.fluxbox/init file that is setting these backgrounds to be black then. :D
mengle, blackhawk ;)
Icarus
02-27-2004, 03:20 PM
Probably...
Check ~/.fluxbox/init
and look for a line like
session.screen0.rootCommand: fbsetbg -f /home/mark/.fluxbox/backgrounds/GreenPic-1280.jpg
comment that out with a # or ! at the beginning of the line and restart fluxbox
mengle
02-29-2004, 05:04 PM
Hmm. nothing in the init or startup files that would cause problems. Weird. I saw another post ( here (http://www.justlinux.com/forum/showthread.php?s=&threadid=122162&highlight=fluxbox+and+wallpaper)) where someone was discussing a weird bug in fluxbox where if you ever setup a fbsetbg command in your init file then later removed it, you weren't able change wallpapers for each individual style. That seems to be exactly what a happened to me. Oh well.