• Homepage
  • Categories
有大神帮忙看下吗?为什么没有显示网速
Experiences and Insight124 views ·2 replies
Tofloor
x_清茶
deepin^1
2020-12-01 17:40
Author

网络一直都是00   cocky插件 缺了啥啊 还有CPU的那个颜色怎么改


帮忙看看那里错了

background yes #是否嵌入桌面,“no”表示不嵌入;“yes”表示嵌入。
double_buffer yes

alignment top_right

border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

gap_x 0
gap_y 0
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no

own_window yes
own_window_type dock #'normal', 'dock', 'panel', 'desktop', 'override'.
own_window_transparent yes #背景透明
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#minimum_size 350 750
stippled_borders 1
update_interval 1.0
uppercase no
use_spacer none

show_graph_scale no
show_graph_range no

use_xft yes
xftalpha 1
xftfont Ubuntu:size=12
font WenQuanYi Zen Hei:size=12
xftfont WenQuanYi Zen Hei:size=12
color0 EAEAEA
color1 EAEAEA
color2 green
#cpu
color3 0081FF
#mem
color4 29CBC7
#fs
color5 4DA60C
#显卡
color7 117DBB

TEXT
# **********************************************************************
# 时间
# **********************************************************************
${font WenQuanYi:bold:pixelsize=68}${color1} ${time %H:%M} $font$color1
${voffset -60}$alignr ${font WenQuanYi:bold:pixelsize=18}${time %Y.%m.%d}
${voffset 8}$alignr ${color1}${time %A}
# **********************************************************************
# Computer info
# **********************************************************************
$color1 ${font WenQuanYi:bold:size=10}$color0 计算机信息:$color1 ${stippled_hr }$color2 ${font WenQuanYi:size=9}
${color2}计算机名称: ${goto 80}$color0 ${nodename} $alignr ${color2} 操作系统: $color0 ${exec cat /etc/issue.net} $machine
${color2}内核: ${goto 46}$color0 ${kernel} $alignr ${color2}运行时间:$color0 ${color1}${uptime_short} ${color2}
电池: $color0 ${battery_percent}% ${goto 95} ${color red}${battery_bar}
# **********************************************************************
# CPU
# **********************************************************************
${color0}${cpugraph cpu0 60,500 0081FF 0081FF}
${font WenQuanYi:size=10}${voffset -68}${color red}${goto 10}CPU平均使用率:${cpu cpu0}% ${freq_g (0)}GHz ${goto 260}平均温度:${acpitemp}°C


# **********************************************************************
# 内存
# **********************************************************************
${font WenQuanYi:bold:size=10}$color0 内存信息: $color0 ${stippled_hr }$color2
${font WenQuanYi:size=9}${color 29CBC7}内存: ${color 29CBC7}${goto 100}$memperc% $alignr $mem / $memmax
${goto 95}${color 29CBC7}$membar${color 29CBC7}
# **********************************************************************
# 运行中的进程
# **********************************************************************
${font WenQuanYi:bold:size=10}$color0 进程信息: $color0 ${stippled_hr }$color2
${font WenQuanYi:size=9}$color2系统进程: ${color0} $processes $alignr $color2 正在运行: ${color0} $running_processes${goto 116}
${color2}${voffset 5}名称${goto 245}PID${goto 300}CPU%${goto 350}MEM%$color${voffset 5}${color4}
${top name 1}${goto 240}${top pid 1}${goto 300}${top cpu 1}${goto 350}${top mem 1}
${top name 2}${goto 240}${top pid 2}${goto 300}${top cpu 2}${goto 350}${top mem 2}
${top name 3}${goto 240}${top pid 3}${goto 300}${top cpu 3}${goto 350}${top mem 3}
#**********************************************************************
#硬盘
#**********************************************************************
${font WenQuanYi:bold:size=10}$color0 存储信息: $color0 ${stippled_hr 1}$color2 ${font WenQuanYi:size=9}${color1}
/ ${goto 220}${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${goto 100}${color5}${fs_bar /}
${color1}/home ${goto 220}${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${goto 100}${color5}${fs_bar /home}
#------------+
# Nvidia GPU |
#------------+
${font WenQuanYi:bold:size=10}$color0 显卡:${stippled_hr 1}${execpi lsmod | grep nvidia_uvm}
${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}温度: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
${color1}${voffset 5}版本: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
#**********************************************************************
#网络
#**********************************************************************
${font WenQuanYi:bold:size=10}$color0 网络信息: $color0 ${stippled_hr 1}$color2
${font WenQuanYi:size=9}${color2}无线网卡: $color ${addr wlp2s0} ${goto 260} ${color2}当前带宽: $color${execpi 10 /sbin/iwconfig wlp2s0|grep Rate|cut -d"M" -f1|cut -b20-24} Mbits/sec
${color2}下载: $color${downspeed wlp2s0} k/s ${goto 260} ${color2}上传:$color ${upspeed wlp2s0} k/s
${color E46029}${downspeedgraph wlp2s0 30,120 E46029 E46029} ${goto 260} ${color 2664e4}${upspeedgraph wlp2s0 30,120 2664e4 2664e4}
${voffset -10} ${color E46029}总计: ${totaldown wlp2s0} ${goto 260} ${color 2664e4}总计: ${totalup wlp2s0}

ReplyFavoriteView the author
All Replies
老王
deepin^3
2020-12-06 12:12
#1

你这个conky-manager怎么装上的?我安装完之后就打不开了

ReplyView the author
xiekehui
deepin^1
2020-12-15 12:58
#2

配置里网卡名要改成你现在用的网卡,用ifconfig看下对不对

ReplyView the author
New Thread

Rankings

  • Weekly
  • Monthly
  • Total