本文介绍在Linux操作系统下安装Yin-Yang以能够在KDE中设置自动夜间模式,虽然本文主要是关注KDE Plasma 5桌面环境的,但Yin-Yang也适用于其他桌面环境。
下载链接
在Linux下安装Yin-Yang
Yin-Yang应用程序作为AppImage发布(参考:下载运行AppImage:简单、可靠、快速的特性),当前的版本是Yin-Yang Beta v1.0,在终端中下载:
wget https://github.com/daehruoydeef/Yin-Yang/releases/download/v1.0-beta/Yin-Yang.AppImage
应用程序完成下载后,制作一个带有“AppImages”标签的新文件夹,这个文件夹是必要的,这样我们就可以将Yin-Yang应用程序放在安全的地方,并防止意外删除。
要创建新的“AppImages”文件夹,请使用mkdir命令:
mkdir -p ~/AppImages
使用为Yin-Yang创建的新文件夹,使用mv命令将文件移入其中:
mv Yin-Yang.AppImage ~/AppImages/
使用CD命令“AppImages”文件夹:
cd ~/AppImages
最后,通过更新文件的权限集来完成Yin-Yang应用程序的安装过程:
chmod +x Yin-Yang.AppImage
注:如果AppImage版本有问题,可获取源代码进行编译安装。
在KDE上配置自动夜间模式
配置KDE使用Yin-Yang运行夜间模式,必须首先打开Yi