ipad远程linux桌面背景,设置一个动态的壁纸作为你的linux桌面
參考https://github.com/boramalper/himawaripy
himawaripy
把一個近實時的地球圖片作為你的桌面背景
himawaripy是一個基于python3的小腳本,它可以取回一個近實時(默認10分鐘延遲)的由衛星Himawari 8 (ひまわり8號)拍攝的地球圖片作為你的桌面背景
設置一個每十分鐘運行的cronjob來自動運行它
支持環境
已測試
Unity 7
Mate 1.8.1
Pantheon
LXDE
OS X
未測試
GNOME 3
KDE
不支持
any other desktop environments that are not mentioned above.
配置
.你可以通過修改配置文件來改變圖片質量 ( 4, 8, 16,? 20)
也可以通過修改output_file 變量來更改圖片存儲路徑,默認為~/.himawari/himawari-latest.png
安裝
cd ~
git clone https://github.com/boramalper/himawaripy.git
# configure
cd ~/himawaripy/
vi himawaripy/config.py
# install
sudo python3 setup.py install
# test whether it's working
himawaripy
# Get the installation path of himawaripy by running the command
which -- himawaripy
# Set himawaripy to be called periodically
## Either set up a cronjob
crontab -e
### Add the line:
*/10 * * * * ## OR, alternatively use the provided systemd timer
### Configure
vi systemd/himawaripy.service
# Replace "" with the output of the aforementioned command.
### Copy systemd configuration
cp systemd/himawaripy.{service,timer} $HOME/.config/systemd/user/
### Enable and start the timer
systemctl --user enable --now himawaripy.timer
卸載
# Remove the cronjob
crontab -e
# Remove the line
*/10 * * * * # OR if you used the systemd timer
systemctl --user disable --now himawaripy.timer
rm $HOME/.config/systemd/user/himawaripy.{timer,service}
# Remove the data directory
# By default, `~/.himawari`. Check `output_file` variable in config.py
# in case you've changed it.
rm -rf ~/.himawari
# Uninstall the package
sudo pip3 uninstall himawaripy
示例
總結
以上是生活随笔為你收集整理的ipad远程linux桌面背景,设置一个动态的壁纸作为你的linux桌面的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 软件生成问候图片_省时省力,独一无二的素
- 下一篇: Ultrawide bandwidth(