Himawaripy 实时的地球照片桌面

作者: 云中布衣   分类:  学习笔记    热度: (2144℃)   时间: 2016-12-1 13:40   标签: #烂笔头    

首先呢,Himawaripy是一个 Python3 小脚本。

它会抓取由日本 Himawari 8 气象卫星拍摄的接近实时的地球照片,并将它设置成你的桌面背景。

当然你也可以在安装完成后,你可以将它设置成每 10 分钟运行的定时任务,这样它就可以实时地取回地球的照片并设置成背景了。

它支持的桌面环境

Tested:

  • Unity 7

  • Mate 1.8.1

  • Pantheon

  • LXDE

  • OS X

  • GNOME 3

  • Cinnamon 2.8.8

  • KDE

Not Support:

  • any other desktop environments that are not mentioned above.


    安装:

    cd ~
    git clone https://github.com/boramalper/himawaripy.git
    
    # configure
    cd ~/himawaripy
    vi himawaripy.py
    
    # test whether it's working
    ./himawaripy.py
    
    # set up a cronjob
    crontab -e
    # Add the line:
    */10 * * * * /home/USERNAME/himawaripy/himawaripy.py
    

    卸载:

    # remove the cronjob
    crontab -e
    # Remove the line
    */10 * * * * /home/USERNAME/himawaripy/himawaripy.py
    
    # Remove the data directory
    # By default, `~/.himawari`. Check `output_file` variable in himawaripy.py
    # in case you've changed it.
    rm -rf ~/.himawari
    
    # Remove the installation folder
    rm -rf ~/himawaripy
    

    更多安信息可以访问,它的GitHub公开库: https://github.com/boramalper/himawaripy


    下面是我的桌面截图:

    Image

    56.8K

    发表评论:

    © 云中布衣 2015-2022 | Driven by EMLOG  | SiteMap | RunTime: 15.71ms&RSS  | TOP

    文章数量【317】 评论数量【454】 稳定运行【2802天】

    Visitor IP Address【3.236.207.90】

    Email:ieeflsyu#outlook.com