Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox background! [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ruivilela
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 236
Location: Łódź

PostPosted: Fri Oct 03, 2008 9:10 pm    Post subject: Fluxbox background! [SOLVED] Reply with quote

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
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Fri Oct 03, 2008 11:22 pm    Post subject: Reply with quote

try modifying the session.screen0.rootCommand line in ~/.fluxbox/init

Code:
session.screen0.rootCommand:    fbsetbg -f ~/Outros/some1.jpg
Back to top
View user's profile Send private message
ruivilela
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 236
Location: Łódź

PostPosted: Sat Oct 04, 2008 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Sat Oct 04, 2008 3:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum