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 opencode.net

0
Score 46.0%
Description:

This script switches the wallpaper at sunrise and sunset.

Install:

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/setbg.pl

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 : http://hybridworks.deviantart.com/gallery/
Be the first to comment
12345678910
1
product-maker I4C Feb 19 2013 3 bad
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1
updated Dec 27 2009
added Dec 27 2009
downloads today
0
page views today 3
System Tags addon