NGC nap képe:
#!/bin/sh
#Based on code of APOD, you can really find everywhere on the web.
#Downloading html of the Picture-Of-The-Day
wget -N http://photography.nationalgeographic.com/photography/photo-of-the-day/ -O /tmp/ngpod.html
#Getting the URL of the image
img_location=`egrep -o "http://[^<]*1600x1200[^>]*\.jpg" /tmp/ngpod.html`
rm /tmp/ngpod.html
#Download image
TODAY=$(date +'%Y%m%d')
wget $img_location -O ~/Képek/ngc/$TODAY.jpg
# Setting background-image.
# NB: Use an absolute URL
gconftool-2 -t string -s /desktop/gnome/background/picture_filename "/home/???/Képek/ngc/$TODAY.jpg"
gconftool-2 -t string -s /desktop/gnome/background/picture_options "zoom"
# Possible values are "none", "wallpaper" (eg tiled), "centered", "scaled", "stretched", "zoom"
A 3 kérdőjel helyét neked kell megadnod. Illetve az elérési uatat is változtathatod.
Nekem ehez kellene háttéképváltogató:
http://dreamdesktop.net/en/