You are not logged in.
I use feh to manage my background and image viewing. I set my background with the following code.
sudo feh --bg-fill ~/path/to/image.pngAnd I add my sh script to ~/.config/openbox/autostart (full autostart posted)
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
tint2 &
volumeicon &
hsetroot -fill /usr/share/wallpapers/sandbox-background-scenic-dark-images-ocean-158600.jpg &
#clipit &
conky &
sh ~/.fehbg &
numlockx &
# Enable as required
#compton -cCGb &
#xbacklight -set 100 &
#/usr/bin/synclient TouchpadOff=1 &
#xxkb &
#spacefm -d &
#setxkbmap gb &But after every second restart, my background goes back to the default. First restart, it stays the same. Next restart, it shows the default.
If anyone could provide some help, I would greatly appreciate it.
8GB RAM | AMD Phenom II X4 965 Black Edition (3.4 GHz) | EVGA GTX 770 SC ACX
Offline
It may be caused by hsetroot line in autostart, you are setting wallpapers 2 times.
Offline
@Roshless
I didn't even see that. Would it be best to remove the feh line completely and just change hsetroot or remove the hsetroot line? Or would it not matter and just be preferential?
8GB RAM | AMD Phenom II X4 965 Black Edition (3.4 GHz) | EVGA GTX 770 SC ACX
Offline
I think you don't need to use sudo, it's user background.
You can add a line with feh in your autostart file and comment hsetroot.
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
tint2 &
volumeicon &
#hsetroot -fill /usr/share/wallpapers/sandbox-background-scenic-dark-images-ocean-158600.jpg &
#clipit &
conky &
#sh ~/.fehbg &
feh --bg-fill ~/path/to/image.png
numlockx &
# Enable as required
#compton -cCGb &
#xbacklight -set 100 &
#/usr/bin/synclient TouchpadOff=1 &
#xxkb &
#spacefm -d &
#setxkbmap gb &I don't know if it'll work but I'll try it.
Last edited by Alber (2014-01-08 15:00:50)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline