LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Setting Fluxbox Background (https://www.linuxquestions.org/questions/slackware-14/setting-fluxbox-background-568920/)

alkos333 07-12-2007 10:03 PM

Setting Fluxbox Background
 
I added the following command to my ~/.fluxbox/init to have fbsetbg take care of the background setting:

Code:

session.screen0.rootCommand: fbsetbg -f ~/.fluxbox/backgrounds/SiamesicRobots1600.jpg
It does set the background, but I'm getting the following popup message every time I start Fluxbox:

Code:

fbsetbg: Something went wrong while setting the wallpaper.
Run 'xv -max -smooth -root -quit /home/me/.fluxbox/backgrounds/SiamesicRobots1600.jpg' from an xterm to find out what

So I pasted that command in the terminal and got the following:

Code:

me@laptop0:~$ xv -max -smooth -root -quit /home/me/.fluxbox/backgrounds/SiamesicRobots1600.jpg
X Error: BadWindow (invalid Window parameter)
  Major Opcode:  4


How do I fix this?

gilead 07-12-2007 10:28 PM

I don't set the background image there, I use ~/.fluxbox/overlay and set the background.pixmap property. There's some more info at http://fluxbox-wiki.org/index.php/Ho...the_background, but I don't see any errors when it sets the background here.

alkos333 07-12-2007 11:00 PM

The problem solved - I switched to wmsetbg.


All times are GMT -5. The time now is 10:06 AM.