Live World Map for Mac and Linux
What is this?
A script that uses
xplanet to make your desktop wallpaper a live map of the world using NASA imagery.
How do I use this?
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
cronjob.shto point the correct paths for your setup (and change the
myresolutionvariable 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! :)
I'm using Linux, but not Fedora
- If you're using MATE or GNOME you should be able to just edit
cronjob.shto suit your needs and use
apt-getor whatever instead of
- 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 using Windows
I'm sorry, this doesn't work on Windows right now. If you can get it working, that would be amazing!
- Day imagery
NASA (2004), 'Blue Marble Next Generation', Visible Earth, https://visibleearth.nasa.gov/view.php?id=73909
- Night imagery
NASA (2012), 'Night Lights 2012 - Flat Map', Visible Earth, https://visibleearth.nasa.gov/view.php?id=79765