sunset/sunrise wallpaper switcher

Nautilus Scripts

Source i (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
Become a Fan
4.7

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/

Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Nautilus Scripts from Simzer:

random-nasa-wallpaper
Simzer
last update date: 15 years ago

Score 4.7

dot-tree
Simzer
last update date: 16 years ago

Score 4.7

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags