The popular NASA Astronomy Picture of the Day produces wonderful images that make for a great desktop background. This script will download the NASA APOD and set it as your background in OSX.
http://en.wikipedia.org/wiki/Astronomy_Picture_of_the_Day
http://apod.nasa.gov/apod/astropix.html
Tested on, OSX 10.7.4 During testing, it just sets the background for the space the terminal is on when it is run. I have no idea how this will interact with cron. I'll find out over the next few days.
I just modified it to work on OSX, and Commented out the use of PIL and the resizing of the image, as OSX can deal with that itself.
- Place the file wherever you like and chmod +x it to make it executable
- Set the defaults in the file
- Edit cron.txt to properly reference the file, and adjust the time at which it runs if you want. (First number is minutes, next is hours.)
- Nothing, I don't really intend to do much with it.
Open-source and free for use.
Copyright 2012 David Drake
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
David Drake
@randomdrake | http://randomdrake.com | LinkedIn
Theo Belaire