<<
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