日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

ipad远程linux桌面背景,设置一个动态的壁纸作为你的linux桌面

發布時間:2024/1/1 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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桌面的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。