桌面himawaripy实施卫星地图"/>
安装炫酷桌面himawaripy实施卫星地图
安装炫酷桌面himawaripy
- 酷炫的himawaripy
- 安装himawaripy
- 安装python3.5
- 安装setuptools
- 安装himawaripy
- 设置himawaripy
酷炫的himawaripy
突然发现himawaripy这个软件超级炫酷,
按照git-bub上的介绍:Put near-realtime picture of Earth as your desktop background(实时桌面)但是这个是在澳大利亚的正上方,有点小尴尬。
himawaripy is a Python 3 script that fetches near-realtime (10 minutes delayed) picture of Earth as its taken by Himawari 8 and sets it as your desktop background.
Set a cronjob (or systemd service) that runs in every 10 minutes to automatically get the near-realtime picture of Earth.
git地址:
安装himawaripy
话不多说,开始干活。
安装python3.5
我使用的是ubuntu16。系统自带python3.5,
之前卸载了python3.5,太危险了,,卸载之后,没有图形化页面,代码行还可以操作
检测方式
[user]$ python
[输入TAB键两次]
python python2.7 python3.5 python3m
python2 python3 python3.5m
上面是我的电脑显示的
[user]$ python --version
Python 2.7.11+
上面是版本号
安装setuptools
setuptools 需要用python编译,并且安装
[user]/setuptools-36.2.4$ ls
AUTHORS himawaripy LICENSE osx README.md setup.py systemd
需要root权限
[root]/setuptools-36.2.4$ python3.5 setup.py install
........
安装himawaripy
[user]/himawaripy$ ls
AUTHORS dist himawaripy.egg-info osx setup.py
build himawaripy LICENSE README.md systemd
[user]/himawaripy$ python3.5 setup.py install
.......
设置himawaripy
Configuration
usage: himawaripy [-h] [–version] [–auto-offset | -o OFFSET]
[-l {4,8,16,20}] [-d DEADLINE] [–save-battery]
[–output-dir OUTPUT_DIR] [–dont-change]
set (near-realtime) picture of Earth as your desktop background
optional arguments:
输入据 | 注释 |
---|---|
-h, --help | show this help message and exit |
–version | show program’s version number and exit |
–auto-offset | determine offset automatically |
-o OFFSET, --offset OFFSET | UTC time offset in hours, must be less than or equalto +10 |
-l {4,8,16,20}, --level {4,8,16,20} | increases the quality (and the size) of each tile.possible values are 4, 8, 16, 20 |
-d DEADLINE, --deadline DEADLINE | deadline in minutes to download all the tiles, set 0 to cancel |
–save-battery | stop refreshing on battery |
–output-dir OUTPUT_DIR | directory to save the temporary background image |
–dont-change | don’t change the wallpaper (just download it) |
更多推荐
安装炫酷桌面himawaripy实施卫星地图
发布评论