分享
是一种美德

deepin Conky和Conky Manager

1、在终端中安装 conky

sudo apt-get install conky

2、安装Conky Manager

wget --no-check-certificate https://github.com/teejee2008/conky-manager/releases/download/v2.4/conky-manager-v2.4-amd64.run

可以自行参考https://github.com/teejee2008/conky-manager/releases/

3、配置权限and 运行

chmod +x ./conky-manager-v2.4-amd64.run   ##配置权限
sudo ./conky-manager-v2.4-amd64.run  ##运行

4、现在开始自定义配置文件

cd ~/.conky/
新建一个文件夹yxconky并进入文件夹新建一个文件yx_conky

写入以下代码
default_color white
double_buffer yes
no_buffers yes
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0
 
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders n0
minimum_size 300 1
maximum_width 406
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 6
gap_y 5
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
use_xft yes
xftfont WenQuanYi Zen Hei:pixelsize=12
override_utf8_locale yes
use_spacer no
minimum_size 300 1
TEXT
${font LCD:style=Bold:pixelsize=40}${alignc}${time %I:%M:%S}
${font LCD:style=Bold:pixelsize=20}${time %Y年%b%d日 星期%a}${alignc}
${font WenQuanYi Zen Hei:pixelsize=14}
 
${color #98c2c7}姓名:  ${color}$alignr 新新点灯
${color #98c2c7}邮箱:  ${color}$alignr 可自己填写
${color #98c2c7}内核:  ${color}$alignr$kernel
${color #98c2c7}已开机: ${color}$alignr$uptime
 
 
${color #98c2c7}CPU使用率: ${color}$cpu%
 
$cpubar
 
 CPU1 温度:  $alignr${exec sensors | grep 'Core 0' | cut -c17-25}
 CPU2 温度: $alignr${exec sensors | grep 'Core 1' | cut -c17-25}
 
${color #98c2c7}CPU占用:${color}
 
 ${top name 1} ${alignr}${top cpu 1} 
 ${top name 2} ${alignr}${top cpu 2} 
 ${top name 3} ${alignr}${top cpu 3} 
 ${top name 4} ${alignr}${top cpu 4} 
 ${top name 5} ${alignr}${top cpu 5} 
 ${top name 6} ${alignr}${top cpu 6} 
 
${color #98c2c7}物理内存:${color}${alignr}$mem / $memmax
 
${membar}
 
${color #98c2c7}根分区: ${color}${alignr}${fs_free /} / ${fs_size /}
 
${fs_bar 4 /}
 
#${color #98c2c7}Home分区: ${color}${alignr}${fs_free /home} / ${fs_size /home}
 
#${fs_bar 4 /home}
 
#${color #98c2c7}网络使用:${color}
 
#下载速度:$alignr${downspeed wlp3s0} k/s
#上传速度:$alignr${upspeed wlp3s0} k/s
${downspeedgraph wlp3s0 324D23 77B753}

保存,并终端输入conky-manager勾选yx_conky文件并进入该程序设置界面打开开机自启动

完成

或者直接在终端运行 conky-manager

分享按钮
赞(2)
转载请注明来源地址:MN乐享 » deepin Conky和Conky Manager

评论 2

评论前必须登录!

 

  1. #-49

    自己顶一下

    wangtong1个月前 (06-02)