Thread: gconf-tool doesn't work on start-up
i want change desktop background on every boot. so, made script reads images file contains path (the 1st path on 1st line, 2nd path on 2nd line etc)
so, script (located @ /home/background_change) is
this @ programming talk well, don't think has programming. have add string /home/$user/.gnomerc :code:b=`cat /home/previous_image` c=`expr $b + 1` show_now=`image=$(sed -n "${c}p;${c}q" /home/images_list)` echo "the image shown $show_now" gconftool-2 --type string --set /desktop/gnome/background/picture_filename "$show_now" echo $c > /home/previous_image` sleep 5;
gnome-terminal -e /home/background_change&
this means script run once @ start-up. mad thing $show_now path exists , if start gnome-terminal , give hand
gconftool-2 --type string --set /desktop/gnome/background/picture_filename "$show_now"
wallpaper change , drives me crazy!!!![]()
posted in wrong place somehow, sorry guys.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] gconf-tool doesn't work on start-up
Ubuntu
Comments
Post a Comment