EvilZone
General Tech => Operating System => : Sparky712 March 29, 2013, 09:18:38 PM
-
I'm appending the code to the autostart files (~/.xinitrc, ~/.config/openbox/autostart) but no matter what, the background will not persist through to the next session. Tint2 does, despite not being in either file.
For reference, I have tried the following:
$ sh ~/.fehbg &
and
eval `cat ~/.fehbg`
how can I fix this?
Also, oddly, my Tint2 is autostarting despite not being in either file.
-
Just make a script called set_wallpaper.sh
Append : feh --bg-scale /home/user/WALLPAPER.jpg
Add it to your .xinitrc with a sleep delay of 1 or 2.
That should just work.
-
I use nitrogen with no problems.
-
Thanks both of you, very helpful, +1 to you both.
-
JFYI feh creates a .fehbg script in your home directory everytime you run it to set a wallpaper, so no need for another script calling feh. Just add:
sh ~/.fehbg &
to your .xinitrc file.
-
JFYI feh creates a .fehbg script in your home directory everytime you run it to set a wallpaper, so no need for another script calling feh. Just add:
sh ~/.fehbg &
to your .xinitrc file.
I would add it to openbox autostart but that's just me.
-
I would add it to openbox autostart but that's just me.
Yes that make more sense.
-
you could put it as the first script in autorun to be executed so it shows up right away. But like i said before, I use nitrogen, it doubles as an image viewer also.
-
I always used nitrogen too. In your autostart file just add nitrogen --restore &. Although I'm sure you already got it working by now.
-
Yeah, I got it working now... however, its in my ~/.xinitrc rather than my autostart. for some reason, the commands don't work in my autostart, but they do there. I'd already done it by the time S3my0n commented, but yeah, I've done what he said. everything is working fine.