View previous topic :: View next topic |
Author |
Message |
ruivilela Apprentice
Joined: 05 Oct 2004 Posts: 236 Location: Łódź
|
Posted: Fri Oct 03, 2008 9:10 pm Post subject: Fluxbox background! [SOLVED] |
|
|
I'm trying to put a background in fluxbox in the startup script. The background appears to be replaced by the window style background
I can run the fbsetbg once inside fluxbox but conky goes behind it, but it doesn't have sense to post run it!
Code: |
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
wpsetters=feh fbsetbg -f ~/Outros/some1.jpg
#
# This sets a black background
#/usr/bin/fbsetroot -solid black
# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg
# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp "/home/ruivilela/.fonts"
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
xmodmap "/home/ruivilela/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
pidgin &
conky &
#exaile &
adesklets &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec /usr/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log "/home/ruivilela/.fluxbox/log"
|
Last edited by ruivilela on Sat Oct 04, 2008 9:17 am; edited 1 time in total |
|
Back to top |
|
|
SiberianSniper Guru
Joined: 06 Apr 2006 Posts: 378 Location: Dayton, OH, USA
|
Posted: Fri Oct 03, 2008 11:22 pm Post subject: |
|
|
try modifying the session.screen0.rootCommand line in ~/.fluxbox/init
Code: | session.screen0.rootCommand: fbsetbg -f ~/Outros/some1.jpg |
|
|
Back to top |
|
|
ruivilela Apprentice
Joined: 05 Oct 2004 Posts: 236 Location: Łódź
|
Posted: Sat Oct 04, 2008 9:19 am Post subject: |
|
|
I commented the startup line, and add your line, and now it works. But I made it like it written in fluxbox gentoo wiki, and startup file has recommendations to set background there. |
|
Back to top |
|
|
SiberianSniper Guru
Joined: 06 Apr 2006 Posts: 378 Location: Dayton, OH, USA
|
Posted: Sat Oct 04, 2008 3:34 pm Post subject: |
|
|
Hmm, interesting. I actually haven't looked at the wikis on it since about fluxbox 0.9.14 or so, and the configuration I've been using has worked ever since..... The wiki here seems to imply the rootCommand option is used for wallpapers, and it appears to be confirmed by this page. I think if it's in the startup file before the exec fluxbox line, it will run, but then get overdrawn when the style is loaded. That's why setting it in init is preferred, or at least that's my understanding... |
|
Back to top |
|
|
|