View previous topic :: View next topic |
Author |
Message |
troubador n00b
Joined: 24 Apr 2006 Posts: 12 Location: Ithaca, NY
|
Posted: Mon Apr 24, 2006 11:47 pm Post subject: Fluxbox, fbsetbg and root-tail |
|
|
I'm trying to setup my background image in fluxbox. In my ~/.fluxbox/startup, I have this:
Code: | fbsetbg -f ~/graphics/wallpaper.jpg |
And when I start fluxbox, I get this pop-up error:
Code: | fbsetbg: Something went wrong while setting the wallpaper.
Run 'xv -max -smooth -root -quit /home/user/wallpaper.jpg' from an xterm to find out what. |
Following the advice of the error:
Code: |
~$ xv -max -smooth -root -quit /home/user/wallpaper.jpg
X Error: BadWindow (invalid Window parameter)
Major Opcode: 4
|
I've tried loading the bg with xv straight from the fluxbox style, and, while that works, there are strange buffering issues with my root-tail such that it doesn't get drawn until I run a window over it or something's written onto the log. Does anyone know what I can do about this error message or how to suppress it? |
|
Back to top |
|
|
misho Apprentice
Joined: 15 Apr 2004 Posts: 189
|
Posted: Tue Apr 25, 2006 3:16 am Post subject: |
|
|
I would unmask and emerge hsetroot.
Then you can set your background with fbsetroot -u hsetroot [filename]. At least, do so the first time, fbsetbg will remember it after that, or it might use it by default anyway. On my computer, running fbsetbg -i yields:
Code: | hsetroot is a nice wallpapersetter. You won't have any problems. |
(In case you don't trust me ) _________________ "Pssht. Extreme sports. If you want a real adrenaline rush, go write a physics exam without a calculator." - D.Z. |
|
Back to top |
|
|
troubador n00b
Joined: 24 Apr 2006 Posts: 12 Location: Ithaca, NY
|
Posted: Tue Apr 25, 2006 4:26 am Post subject: |
|
|
Awesome Works perfectly. Just so it's even more clear to anyone else who stumbles on this post: fbsetbg can or always uses other wallpapersetters to actually manage the wallpaper. "fbsetbg -u hsetroot" establishes hsetroot as the "wallpapersetter" for fbsetbg.
Apparently the error that came up was from the wallpapersetter (xv, most likely) that was originally associated with fbsetbg. So, changing that, things are now fine. "fbsetbg -i" outputs the wallpapersetter currently associated with fbsetbg. It so happens that hsetroot is a nice one, and that no problems come up when using it
Thanks, misho! |
|
Back to top |
|
|
|
|
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
|
|