Skip to main content

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
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;
this @ programming talk well, don't think has programming. have add string /home/$user/.gnomerc :
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

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい