• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Trouble w/ the Fluxbox WM Background (Linux)

EHobaX

Member
Okay. I've read the docs.
I've ran bsetbg ~/filename from command line and it works fine.

Great. I want it to load the bg during startx.
Docs say to edit the

session.screen0.rootCommand:

line in the $HOME/.fluxbox/init file by adding

bsetbg -f ~/filename

to override the current themes background.
That doesn't seem to work. 🙁

If any of you use this WM, any help would be appreciated.
I really hate typing it out everytime. 😛
 
either what n0c said or add bsetbg -full ~/file.jpg to your ~/.xinitrc

edit: and always make sure you didnt spell/capitalize wrong 🙂 i hate mistakes like that
 


<< Okay. I've read the docs.
I've ran bsetbg ~/filename from command line and it works fine.

Great. I want it to load the bg during startx.
Docs say to edit the

session.screen0.rootCommand:

line in the $HOME/.fluxbox/init file by adding

bsetbg -f ~/filename

to override the current themes background.
That doesn't seem to work. 🙁

If any of you use this WM, any help would be appreciated.
I really hate typing it out everytime. 😛
>>




Read the documentation very carefully! 😛 You can run bsetbg to get it to generate a bsetbg file in ~/.fluxbox and then you need to edit
the bsetbg file you generated by un-commenting whatever program you want to use to handle backgrounds and transparecies like the ones seen
in E-Term or Xchat, etc. For example this is what my bsetbg file looks like:



# /home/douglas/.fluxbox/bsetbg
#
# automagically generated with loving care by bsetbg 1.12 on Tue Mar 12 23:17:25 PST 2002
#
# 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.
#

### xv
#FULL="xv -max -smooth -root -quit"
#TILE="xv -root -quit"
#CENTER="xv -rmode 5 -root -quit"
#DEFAULT="xv -rmode 5 -root -quit"

### display
# FULL="display -geometry 800x600 -window root"
# TILE="display -window root"
# CENTER="display -backdrop -window root"
# DEFAULT="display -backdrop -window root"

### Esetroot
# FULL="Esetroot -scale"
# TILE="Esetroot"
# CENTER="Esetroot -c"
# DEFAULT="Esetroot -c"

### wmsetbg
FULL="wmsetbg -s -S"
# TILE="wmsetbg -t"
# CENTER="wmsetbg -e"
# DEFAULT="wmsetbg -e"
[/i] >>






Then after you have edited your bsetbg file you then add the lines==> session.screen0.rootCommand: bsetbg -f ~/.fluxbox/backgrounds/your_background.jpeg
to your init file and add the name of the background file you are going to want to use. It can be in png or jpeg format if you like and if you want you can check and see if
other formats like bmp or gif work but that's up to you to find out since I use/save my backgrounds only in png or jpeg graphic formats.

P.S. Don't forget to create a directory called ===> backgrounds <==== inside your .fluxbox directory so FB will find your images.



FluxBox Documentation Link
 
Sounds like my way is easier 😛

LONG LIVE BLACKBOX!! imitation is the sincerest form of flattery, but nothing beats the original 😉
 


<< Sounds like my way is easier 😛

LONG LIVE BLACKBOX!! imitation is the sincerest form of flattery, but nothing beats the original 😉
>>



You could always do it your way by editing each and every theme as well. Then again the way they have it in FluxBox you can
always change styles and not have to worry about opening up each and every other theme file to change backgrounds. All you have to
do when all is said and done is to open up your init file and change backgrounds in there rather then in the themes themselves.

😛 LONG LIVE FLUXBOX !! 😛
 


<< Sounds like my way is easier 😛

LONG LIVE BLACKBOX!! imitation is the sincerest form of flattery, but nothing beats the original 😉
>>


its not like fluxbox isnt just bb with some crap added on. (crap that can be useful, customization is a good thing 😛)

my main benefits: no more bbkeys
i can customize the window buttons (preferably none, or second to that, maximize in one corner and close in the other)
uh...hm those are probably the only benefits i care about 😛

the tab thing is neat, but i dont use it. i like my terminals spread around so i can see one while typing in another, etc.

since work on bb has resumed, i'd gladly go back if they added the above 2 things.
 
I finally figured out what the problem was. 😛

It was in the theme file. The location of the background didn't
match up to the location of where it was actually stored at.
It had a .fluxbox dir in there when it was really a fluxbux dir.

Thanks n0C. I woudln't have looked in there w/o your suggestion.
Woohoo! Backgrounds are working now!
 
Back
Top