** Description changed:
I have a script that randomly selects a wallpaper from my art folder and
than uses the command "fbsetbg" to set it as my background. This script
is in my ~/.fluxbox/startup file.
- The script runs fine and displays the wallpaper when I boot. I noticed,
- however, when I run certain programs (WINE in particular) the fluxbox
- background just disappears, and goes back to a plain gray. I am fairly
- certain the problem is not with the script or the entry on my startup
- file, but I am providing them below anyway.
+ The script runs fine and displays the wallpaper after I login. I
+ noticed, however, when I run certain programs (WINE in particular) the
+ fluxbox background just disappears, and goes back to a plain gray. I am
+ fairly certain the problem is not with the script or the entry on my
+ startup file, but I am providing them below anyway.
Here is my startup file:
wallpaper.sh
gaim &
xmms ~/music/GamingFMClassicConsoleLowBW.pls &
swiftfox &
exec /usr/local/bin/fluxbox
and the script (wallpaper.sh):
#!/bin/bash
WALLPAPERS="/home/paul/wallpaper" #change this path for your system
ALIST=( `ls -w1 /home/paul/wallpaper` )
[EMAIL PROTECTED]
let "number = $RANDOM"
let LASTNUM="`cat $WALLPAPERS/.last` + $number"
let "number = $LASTNUM % $RANGE"
echo $number > $WALLPAPERS/.last
fbsetbg $WALLPAPERS/${ALIST[$number]} &
--
Fluxbox background disappears on certain events
https://launchpad.net/bugs/69938
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs