安装炫酷桌面himawaripy实施卫星地图

编程入门 行业动态 更新时间:2024-10-09 04:22:39

安装炫酷<a href=https://www.elefans.com/category/jswz/34/1767000.html style=桌面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, --helpshow this help message and exit
–versionshow program’s version number and exit
–auto-offsetdetermine offset automatically
-o OFFSET, --offset OFFSETUTC 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 DEADLINEdeadline in minutes to download all the tiles, set 0 to cancel
–save-batterystop refreshing on battery
–output-dir OUTPUT_DIRdirectory to save the temporary background image
–dont-changedon’t change the wallpaper (just download it)

更多推荐

安装炫酷桌面himawaripy实施卫星地图

本文发布于:2023-06-28 07:06:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/923593.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:桌面   地图   himawaripy   卫星

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!