A script that uses xplanet
to make your desktop wallpaper a live map of the world using NASA imagery.
- Install
xplanet
(use the correct line for your OS):brew install xplanet # MacOS with Homebrew - see https://brew.sh/ sudo dnf install -y xplanet # Fedora, Red Hat sudo apt-get install -y xplanet # Ubuntu, Mint, Debian sudo pacman -S xplanet # Arch Linux
- Clone the repository:
cd ~/00blair/gitrepos/ # or wherever you keep this stuff git clone -v https://github.com/blairw/liveworldmap
- Edit the config files
config/config.conf
andcronjob.sh
to point the correct paths for your setup (and change themyresolution
variable in the latter, to suit your screen!). - Open your crontab for editing:
export EDITOR=nano # I don't like vim.. sorry.. crontab -e
- Put in an entry for the script:
PATH=/usr/local/bin:/usr/bin:/bin */5 * * * * /Users/blair/00blair/gitrepos/liveworldmap/cronjob.sh
(You only need that first line with PATH
if you're using Mac.)
Happy wallpaper-cronning! :)
- If you're using MATE or GNOME you should be able to just edit
cronjob.sh
to suit your needs and useapt-get
or whatever instead ofdnf
. - I think you might be able to get this working on KDE if you use KDE? Sorry I can't test this because I don't have any KDE installs, personally find KDE a bit too cluttered. This looks promising though: https://www.reddit.com/r/kde/comments/65pmhj/change_wallpaper_from_terminal/
I'm sorry, this doesn't work on Windows right now. If you can get it working, that would be amazing!
- Day imagery
world.topo.bathy.200412.3x5400x2700.jpg
:
NASA (2004), 'Blue Marble Next Generation', Visible Earth, https://visibleearth.nasa.gov/view.php?id=73909 - Night imagery
dnb_land_ocean_ice.2012.3600x1800.jpg
:
NASA (2012), 'Night Lights 2012 - Flat Map', Visible Earth, https://visibleearth.nasa.gov/view.php?id=79765