LoREZ
October 8th, 2009, 10:46 AM
Hi, everyone, and thanks in advance for any help. I looked around and couldn't find this problem anywhere, although I know the root cause (I think).
I wrote this small script so I could change my wallpaper randomly by double-clicking an launcher on my gnome-panel:
#!/bin/bash
#rWall is licensed under GPL v2.0 (queue inflated sense of self-importance).
#A script to select random images from the specified directories and tile them to the background with feh.
#Feh stores background settings in $HOME/.fehbg. Use the following options to change feh's behavior.
#feh --bg-center
#feh --bg-scale
#this sets a variable for later use.
wallpaper=$(find $HOME/Pictures/custom_backgrounds/1680/ -name "*1680*.j*g" | sort -R | head --lines=1)
#this sets the output in quotes, in case the target image has gaps or other problem characters in its name.
feh --bg-tile "$wallpaper"
exit
Go easy: I'm just learning bash scripting.
Anyhow, when I employ this little gem, it kills my icons and I can't use the right mouse button on the desktop, nor can I launch conky. Of course, they are all still there, but the wallpaper is covering them! I know conky writes to the root window when "own_window no" is set, so I changed that, but now I get trails when I move windows around.
Is this normal behavior for feh, and is there a switch to have it write to the same space nautilus is using for the wallpaper?
In a related problem, when I launch uTorrent with wine or (conky without using feh), my desktop icons disappear, but they come back briefly while I mouseover them. Any solutions for that one would be appreciated as well.
I wrote this small script so I could change my wallpaper randomly by double-clicking an launcher on my gnome-panel:
#!/bin/bash
#rWall is licensed under GPL v2.0 (queue inflated sense of self-importance).
#A script to select random images from the specified directories and tile them to the background with feh.
#Feh stores background settings in $HOME/.fehbg. Use the following options to change feh's behavior.
#feh --bg-center
#feh --bg-scale
#this sets a variable for later use.
wallpaper=$(find $HOME/Pictures/custom_backgrounds/1680/ -name "*1680*.j*g" | sort -R | head --lines=1)
#this sets the output in quotes, in case the target image has gaps or other problem characters in its name.
feh --bg-tile "$wallpaper"
exit
Go easy: I'm just learning bash scripting.
Anyhow, when I employ this little gem, it kills my icons and I can't use the right mouse button on the desktop, nor can I launch conky. Of course, they are all still there, but the wallpaper is covering them! I know conky writes to the root window when "own_window no" is set, so I changed that, but now I get trails when I move windows around.
Is this normal behavior for feh, and is there a switch to have it write to the same space nautilus is using for the wallpaper?
In a related problem, when I launch uTorrent with wine or (conky without using feh), my desktop icons disappear, but they come back briefly while I mouseover them. Any solutions for that one would be appreciated as well.