LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   setting bg in Flux (https://www.linuxquestions.org/questions/linux-software-2/setting-bg-in-flux-31374/)

nautilus_1987 09-28-2002 05:57 AM

setting bg in Flux (Chad pay attention :) )
 
Hi there!

Smth happened - I cannot set my bg in FLux:
I put in some style
rootCommand: bsetbg -full ~/.fluxbox/backgrounds/backgroung.jpg
and nothing works :(
I have read all FAQ's
any another ideas?

MasterC 09-28-2002 06:12 AM

Did something work before? Also, is the image that you want as your bg really located in .fluxbox or some other directory?

nautilus_1987 09-28-2002 06:22 AM

I really don't remember!!!
the image I want to set is in /root/.fluxbox/background/darksystem.jpg

MasterC 09-28-2002 06:36 AM

And are you root? You shouldn't be! :D You root surfer! Just kidding buddy. If you know the image is located in, say /home/images/chad.png then use that in your entry:
rootCommand: bsetbg -full /home/images/chad.png

And that's just an example, but shows what I am saying.

Cool

nautilus_1987 09-28-2002 06:40 AM

I should put it in init or style?

MasterC 09-28-2002 06:42 AM

You know, I am pretty sure I have mine in init. Try it in init.

Cool

nautilus_1987 09-28-2002 06:47 AM

Damn.......It doesn't work...........

MasterC 09-28-2002 06:49 AM

If it's in /root, and you aren't root, then move the image, or rather, copy the image to a location that your user can use it.

MasterC 09-28-2002 06:51 AM

Place this line in your ~/.fluxbox/init file:
session.screen0.rootCommand: bsetbg -f /home/images/image.png

Replacing /home/images/image.png with the location of the file. Remember it has to be a place accessible by the user in question.

Cool

nautilus_1987 09-28-2002 07:04 AM

Wait a second ... is there some different if I will put a jpg image or png? Mine is in jpg :)

MasterC 09-28-2002 07:08 AM

I doubt it. I am just partial to png's. Better quality for the compression.

Cool

MasterC 09-28-2002 07:19 AM

Did the plug above not work when placing it in .fluxbox/init?

nautilus_1987 09-28-2002 07:20 AM

once again nothing works.......I think it is time for rest.....In 2 back to Linux and I will try to configure background in Flux again
thnx for help Chad!

MasterC 09-28-2002 07:20 AM

I got that straight from the flux docs. It's what I used, and it worked first time up. Although if you are doing this as root, that might be your pull. Maybe root can't set bg's. Also, might be a permissions problem, that's what keeps coming back to me, unless of course you are root.

Cool

MasterC 09-28-2002 07:21 AM

No problem ;)

Good luck :)


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