sunset/sunrise wallpaper switcher

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on

4 .6

This script switches the wallpaper at sunrise and sunset.


0. get two wallpaper, one for days and another for nights

1. install the prequisite perl module as root:

cpan -i Astro::Sunrise

2. download the script and save it to anywhere. (e.g.: ~/.gnome2/nautilus-scripts)

3. set script attribute to executable (chmod +x filename)

4. edit the script,
set the pathes of the two wallpapers here:

$dayimg = '~/wallpapers/day.jpg';
$nightimg = '~/wallpapers/night.jpg';

and set your location's coordinates here:

$longitude = 19.1919;
$latitude = 51.5151;

5. set crontab to run the script at every 10 minutes:

crontab -e

then put the following line to crontab (change the path to your script location):

*/10 * * * * ~/.gnome2/nautilus-scripts/

6. add the script to the list of autorun applications.

System->Preferences->More Preferences->Sessions

Note: the script inspired by the wallpapers on the screenshot which are artworks of Asaki Hoshino and can be found here :
Be the first to comment
product-maker I4C Feb 19 2013 3 bad
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Dec 27 2009
added Dec 27 2009
downloads 24h
mediaviews 24h 0
pageviews 24h 1
System Tags addon