不多说,先上图。
大家把目光放到右边就行了。
1、安装conky
debian或ubuntu用户直接apt-get install conky-all就行了。
或者也可以直接从源码编译安装,https://github.com/brndnmtthws/conky,目前最新版是1.10.0。
安装完成后可以试着从终端模拟器中启动,conky -d,其中参数d表示已后台进程(Daemonize)启动。不过默认配置会很难看。
2、使用自己的配置文件
conky的github上有一些配置文件:https://github.com/brndnmtthws/conky/wiki/User-Configs
conky 1.10与之前版本的最大区别就是使用了新的配置文件格式。
这些配置基本上都是1.10版本之前的,不过你可以稍作修改。
与1.10版本之前的版本主要区别如下:
-
wrap your config section in
conky.config = { ... }
-
wrap your TEXT section in
conky.text = [[ ... ]]
-
the config options are lookup values and you need to assign the values (i.e. use "=")
-
each line in the config section ends with ","
-
replace "yes" and "no" with "true" and "false&