Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem with fluxbox wallpaper settings...
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
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sun Oct 01, 2006 3:14 pm    Post subject: [Solved] Problem with fluxbox wallpaper settings... Reply with quote

Hi, all...

I have started using fluxbox as the WM on a new gentoo laptop. I have set it up, following the wiki HOWTO , but I'm struggling with the section entitled:
Quote:
Setting the wallpaper using fbsetbg


In particular, I want either the fbsetbg -l or, even better, fbsetbg -r to work, now that I have my menu set to choose any of several backgrounds, using:
Code:

                [end]
                [submenu] (Wallpaper)
                        [wallpapers] (~/.fluxbox/backgrounds) {feh --bg-scale}
        [end]


In my ~/.fluxbox/startup, I have:
Code:

# fluxbox startup-script:

# This sets a black background

# /usr/bin/fbsetroot -solid black

# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg

# Applications you want to run with fluxbox.

unclutter -idle 2 &
xscreensaver &

exec /usr/bin/fluxbox

...and in ~/.fluxbox/init I have modified the following line, accordingly:
Code:

session.screen0.rootCommand:  fbsetbg -l ~/.fluxbox/backgrounds


The fbsetbg -l option brings up a single default background that is located in ~/fluxbox/lastwallpaper:
Code:

cat lastwallpaper
$full|/home/cgmd/.fluxbox/backgrounds/gentoo-monolith.jpg|:0.0


The fbsetbg -r option brings up a black background. :(

Finally, my ~/.fluxbox/backgrounds/ contains the following:
Code:
~/.fluxbox/backgrounds $ ll
total 1108
-rwxr--r-- 1 cgmd cgmd   66239 Sep 11 05:53 blackversion.jpg
-rwxr--r-- 1 cgmd cgmd   71533 Sep 11 05:53 bsd.jpg
-rwxr--r-- 1 cgmd cgmd 136038 Sep 11 05:53 egg.jpg
-rwxr--r-- 1 cgmd cgmd 101908 Sep 10 21:09 gentoo-monolith.jpg
-rwxr--r-- 1 cgmd cgmd   33930 Sep 11 05:53 gentoo.jpg
-rwxr--r-- 1 cgmd cgmd   33258 Sep 11 05:53 handy.jpg
-rwxr--r-- 1 cgmd cgmd   31673 Sep 11 05:53 linux-X-files-trustno1.jpg
-rwxr--r-- 1 cgmd cgmd 142576 Sep 11 05:53 linux-from-scratch.jpg
-rwxr--r-- 1 cgmd cgmd   45906 Sep 11 05:53 linux-kde-big-k-pov.jpg
-rwxr--r-- 1 cgmd cgmd 105114 Sep 11 05:53 p1600.jpg
-rwxr--r-- 1 cgmd cgmd 200948 Sep 11 05:53 sgt-pepper.jpg
-rwxr--r-- 1 cgmd cgmd 104686 Sep 11 05:53 wall.jpg


Hopefully, someone with more feh expertise, than I, will help me troubleshoot this! :D

Thanks!!
_________________
"Primum non nocere" ---Galen


Last edited by cgmd on Mon Oct 02, 2006 1:03 am; edited 1 time in total
Back to top
View user's profile Send private message
GameTheory
n00b
n00b


Joined: 06 Aug 2006
Posts: 19

PostPosted: Sun Oct 01, 2006 4:45 pm    Post subject: Reply with quote

In ~/.fluxbox/init don't you want
Code:

session.screen0.rootCommand:    fbsetbg -r ~/.fluxbox/background/

?
_________________
He's just a poor kid from the stupid ages.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Mon Oct 02, 2006 1:03 am    Post subject: Reply with quote

GameTheory wrote:
Quote:
In ~/.fluxbox/init don't you want
Code:

session.screen0.rootCommand: fbsetbg -r ~/.fluxbox/background/


Thanks for the suggestion.

In fact, I have resolved this issue by using the following in ~/.fluxbox/startup
Code:
fbsetbg -r ~/.fluxbox/backgrounds/


And changing the entry in ~/.fluxbox/init back to its default:
Code:
session.screen0.rootCommand:


Following that, the wallpaper changes with each fluxbox reload, as I had hoped it would! :D

Thanks, again!
_________________
"Primum non nocere" ---Galen
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