Set a desktop picture on all desktops on OS X.
OS X 10.9+. Python 2.7.
To set a picture for all desktops:
python desktops.py picture
Without arguments, lists recent desktop pictures:
python desktops.py
- For changes to take effect, the Dock is restarted. As a result, all minimized windows are maximized.
- The script modifies the desktop picture database
~/Library/Application Support/Dock/desktoppicture.db
. If you want to be catious, back up this file before running the script.
- Gist by gregneagle
- Overview of the desktop pictures database