Skip to content
Make your Mac or Linux wallpaper a live world map using NASA imagery
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
docs [fix] Filename for mac screenshot Jul 24, 2019
images
.gitignore
README.md
cronjob.sh

README.md

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.

Screenshot on macOS

How do I use this?

  1. 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
  2. Clone the repository:
    cd ~/00blair/gitrepos/ # or wherever you keep this stuff
    git clone -v https://github.com/blairw/liveworldmap
  3. Edit the config files config/config.conf and cronjob.sh to point the correct paths for your setup (and change the myresolution variable in the latter, to suit your screen!).
  4. Open your crontab for editing:
    export EDITOR=nano # I don't like vim.. sorry..
    crontab -e
  5. 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

Screenshot on Linux

  • If you're using MATE or GNOME you should be able to just edit cronjob.sh to suit your needs and use apt-get or whatever instead of dnf.
  • 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!

Acknowledgements

You can’t perform that action at this time.