[SOLVED] preserving feh's LXDE wallpaper between sessions
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I disliked LXDE's pcmanfm so much that I've switched over to feh and idesk but for the life of me I can't get feh's wallpaper setting to stay between sessions. Typing 'feh --bg-scale /usr/share/lxde/wallpapers/lxde_blue.jpg' immediately gives me what I want, but next login it's gone again.
I know I have to put an entry in ~/home/pargoo/.config/openbox/autostart.sh but nothing works. So far I've tried:
eval `cat $HOME/.fehbg` &
eval `cat $HOME/pargoo/.fehbg` &
eval `cat ~/.fehbg` &
eval `cat ~/home/pargoo/.fehbg` &
eval $(cat ~/.fehbg &)
sh `/.fehbg` &
...all suggestions from various forum posts, and a couple of variations on top of these. What am I missing?
I don't know about LXDE, but 'sh ~/.fehbg' (with the & if necessary, though I don't believe it is, in this case) should do. You don't need any cat or backticks and definitely no eval, as the file contains a literal command.
Well, I'm utterly, utterly stumped. I've deleted and recreated everything, re-edited all the files and made ~/.fehbg executable with every entry line I can think of that doesn't involve foreign languages. Still no wallpaper although 'feh --bg-scale /usr/share/lxde/wallpapers/lxde_blue.jpg' always produces the wallpaper I want. Next login, NOTHING but grey. At present my ~/.config/autostart.sh contains this: sh `/.fehbg` &
To make matters worse, I can't even get a wallpaper to appear in Icewm! My setup is the same as my Slackware 11 one, which has always been easy. The EXACT setup on S13.1 refuses to produce the goods, but that's another story :/
Could my gtkrc-2.0 file setting transparent icon drop boxes in xfce be causing confusion???
Update: I was sitting staring angrily at my gray/iconless Icewm screen when for no real reason I clicked on ~/.config/openbox/autostart.sh in konqueror. Bam! Suddenly I had my wallpaper AND idesk icons(!) So that script *does* work. I just don't understand how to start it at login. Help!
I'll settle for fixing this issue for the moment. If I can't nut out the other stupid feh problem I'm going to ditch it and give rox-filer a chance...
Well, sooooorta solved...
Believe me, I had sh ~/.fehbg & inserted as precisely that, both with ` *and* ' as suggested, too, and nada!
And ~/.fehbg *was* set executable. It was still being completely ignored, so I gave up. Life is too short, so I just tweaked my /etc/xdg/lxsession/LXDE/autostart file to read:
I don't care that it sets the wallpaper in stone. I'm not after any other. The default blue one looks cool enough for me. I will try your entry: <sh ~/.fehbg &> again some time in the future. I'm just tired of playing with the thing and am happy to have it working at all...
Apologies about the 'clicking on the autostart.sh in konqueror' post. My bad. Blame tiredness. It's a different issue :/