Set your Desktop background to near realtime picures of the earth.
Supports all known geostationary satellites, high resolution sentinel images and Nasa Solar Dynamics Observatory Images!
- Download latest release and unzip it.
chmod +x install.sh- Place the folder somewhere appropriate. For example in
/usr/bin/ - Execute
install.shand pass all the parameter you want for your Desktop image. E.g.install.sh -s meteosat-11 -z 3 - That's it! You can test your installation by calling the binary with
-dirset to./.
E.g. for Linux./changeBackground -dir ./
git clone https://github.com/L-Roth/Live-Earth-Wallpapers.gitcd Live-Earth-Wallpaperschmod +x install.sh./install.sh ["your choosen flags"]Replace the brackets with all flags and arguments you want for your Script. For Options see Script options
Do not include the brackets!- Check if crontab is installed:
crontab -l
For mac: Depending on your Security Settings you might need to add the newly created venv to the $PATH. See this post on StackOverflow
git clone https://github.com/L-Roth/Live-Earth-Wallpapers.gitpython3 -m venv venvsource venv/bin/activatepip install -r requirements.txt- Test installation with:
python3 /path/to/projectDir/changeBackground.py -z 0 -s meteosat-11. The ImagebackgroundImage.pngshould have updated.
Set a cronjob to execute the changeBackground.py script routinely:
- execute
env | grep -i displayto find your exact DISPLAY name. (probably :0 or :0.0) */30 * * * * DISPLAY=:{your display name from 1.} python3 /path/to/ProjectDir/changeBackground.py -z 3 -s meteosat-11 -p feh
Example: */30 * * * * DISPLAY=:0 python3 /path/to/ProjectDir/changeBackground.py -z 3 -s meteosat-11 -p feh
To update the Background you need either feh, nitrogen or gsettings to be installed.
usage: changeBackground.py [-h] [-z {0,1,2,3,4}] [-s {goes-16,goes-17,goes-18,himawari,meteosat-9,meteosat-11,sentinel,sdo}] [-m {geocolor,natural_color,0171,0171pfss,0304,0304pfss,HMIIC}]
[-o OUTFILE] [-p {feh,nitrogen,gsettings,osascript,apple_defaults,windows}] [-a LATITUDE] [-b LONGITUDE] [-w WIDTH] [-he HEIGHT]
options:
-h, --help show this help message and exit
-z {0,1,2,3,4}, --zoomLevel {0,1,2,3,4}
Only for sentinel. Used to specify the scale of the image in km. -z 0 is 1000km in width and -z 4 is 150km in width
-s {goes-16,goes-17,goes-18,himawari,meteosat-9,meteosat-11,sentinel,sdo}, --source {goes-16,goes-17,goes-18,himawari,meteosat-9,meteosat-11,sentinel,sdo}
Select Satellite as a source. goes-16, goes-17, goes-18, himawari, meteosat-9, meteosat-11, sentinel, sdo (NASA Solar Dynamics Observatory)
-m {geocolor,natural_color,0171,0171pfss,0304,0304pfss,HMIIC}, --colorMode {geocolor,natural_color,0171,0171pfss,0304,0304pfss,HMIIC}
Select a color composite. geocolor and natural_color for goes, meteosat and himawari. The rest is only for SDO
-o OUTFILE, --outFile OUTFILE
Full path to a dir to save all loaded images. If not specified no images will be saved. Useful for Timelapse generation
-p {feh,nitrogen,gsettings,osascript,apple_defaults,windows}, --bgProgram {feh,nitrogen,gsettings,osascript,apple_defaults,windows}
Select Programm to set the Background.
-a LATITUDE, --latitude LATITUDE
Set the latitude of the Background image bounding box you want to set. Only for Sentinel as source.
-b LONGITUDE, --longitude LONGITUDE
Set the longitude of the Background image bounding box you want to set. Only for Sentinel as source.
-w WIDTH, --width WIDTH
wanted width of the Wallpaper Image
-he HEIGHT, --height HEIGHT
wanted heigth of the Wallpaper Image
-z The zoom Factor for Sentinel. This is related to the distance in Km, the image covers. (0=1000km 4=150km). This is auto calculated for every other satellite.
-w -he This specefies the image size in pixels. It will scale the image to fit inside the given pixels and fill the rest with black color. When used togehter with -z it will scale the image. No matter how large the image was before. In other words: If you want a high resolution image. set -z to a large number and pass a corresponding image size with it.
-p This lets you choose between one of the programms to set the Image as your background.
For Linux use feh, nitrogen or gsettings as -p flag.
For MacOs use feh, osascript or apple_defaults as -p flag.
For Windows use windows as -p flag.
Experience shows that not every programm will work. But most of the time at least one will.;)
-a -b This specefies the location for the sentinel image. It has no effekt, when used in combination with every other satellite.
Sentinel
| Satellite | Example image |
|---|---|
| Sentinel |
| Satellite | example Image |
|---|---|
| Goes-16 | |
| Goes-17 | |
| Goes-18 | |
| Himamwari-8 | |
| Meteosat-9 | |
| Meteosat-11 |
SDO
| mode | normal | pfss (magentometer) |
|---|---|---|
| 0171/0171pfss | ![]() |
![]() |
| 0304/pfss | ![]() |
![]() |
| HMIIC | ![]() |
- Read the Contributing Readme.
- Filter issues by "For Contributers" Label to find topics to work on.
- Feel free to add your own ideas/ features or open a Discussion in the Discussions tab.
pyinstaller --onefile --nowindow changeBackground.py- call executable with
-dir ./flag



















