Xplanet should now be fully operational and fully automated. I hope you enjoy Xplanet as much as I have. And a special thank you to Hari and the other developers out there building upon Xplanet.
Recapping Our Additions
So we started by installing Apple’s command-line tools to get a compiler to install Homebrew which we used to install Xplanet.
Homebrew will install Xplanet and other binaries, by default, into /usr/local. The source code Homebrew uses to build the packages, like Xplanet, are downloaded into /Library/Caches/Homebrew and the compilation logs are kept in ~/Library/Logs/Homebrew (notice the cache is in the root Library directory and the logs are in the users’ home Library directory). Most everything else, however, resides in /usr/local, e.g., the Cellar, the Library. The other directories are important repositories, but usually only hold symbolic links.
You might have also modified the /etc/paths file to re-arrange the order of directories.
We then created the Xplanet home directory at ~/.xplanet and defined the directory structure to place the map images, marker files, scripts, and logs. I’m making available the directory structure and personal files I’ve discussed and used. Download to your home directory and extract. This will create the .xplanet home directory.
We downloaded the earth, night, bump, and specular maps and linked them to the images sub-directory. The cloud map and marker files will be automatically downloaded through the scripts so we did not download them.
There were a total of 9 specific changes to make:
- Modified the earth marker file to our liking
- Making sure the config file points to the correct maps and markers
- Changing the WorkingDirectory of the seven (7) plist files to reference your Xplanet home directory (just look for “[username]“) since the plist files will not pickup $USER
The last step was to copy the plists to ~/Library/LaunchAgents and reboot.