I'm using openbox with feh and I have in my autostart.sh as follow;
(sleep 1 && .HOME/.fehbg) &

But it doesn't load the last bg I set.. I checked the .fehbg and it does have the name of the last bg set!