conky安装配置

article/2025/3/14 7:33:56

conky安装配置

安装conky

sudo apt-get install conky-all

修改配置

在主目录下创建’.conkyrc’

文件内容:

# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Sans:size=11  
own_window_argb_visual yes
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
# mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_type desktop
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 260 5
maximum_width 400
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# border margins
# border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 10
gap_y 35
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about?  This only affects
# certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# none, xmms, bmp, audacious, infopipe (default is none)
# xmms_player bmpTEXT
${color #0277BD}SYSTEM ${hr 1}
#Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Machine:$alignr$machine
Uptime: $alignr$uptime
Temp: ${alignr}${acpitemp} °C
Battery:$alignr${battery BAT0}
#Battery:$alignr${battery_percent BAT0}%  
###############
${color #006064}NETWORK ${hr 1}
IP:${addr wlp5s0}
GateWay:$gw_ip
Down ${downspeed wlp5s0} /s ${alignr}Up ${upspeed wlp5s0} /s
#${downspeedgraph wlp5s0 25,107} ${alignr}${upspeedgraph wlp5s0 25,107}
Total ${totaldown wlp5s0} ${alignr}Total ${totalup wlp5s0}
#############
${color #26C6DA}MEMORY ${hr 1}
Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
Highest MEM $alignr MEM%
${top_mem name 1}$alignr ${top_mem mem 1}
${top_mem name 2}$alignr ${top_mem mem 2}
${top_mem name 3}$alignr ${top_mem mem 3}
##############
${color #FF9800}CPU ${hr 1}
Frequency: ${alignr}${freq dyn} MHz
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
CPU1 ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
CPU2 ${alignr}${cpu cpu2}%
${cpubar 4 cpu2}
Highest CPU $alignr CPU%
${top name 1}$alignr${top cpu 1}
${top name 2}$alignr${top cpu 2}
${top name 3}$alignr${top cpu 3}
##############
${color #00BFA5}FILE SYSTEM ${hr 1}
Disk I/O:$diskio
Root: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Home: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
#############

在这里插入图片描述


http://chatgpt.dhexx.cn/article/2XX8S36O.shtml

相关文章

conky配置

默认配置路径:/etc/conky/conky.conf 复制 conky.conf 到 ~/.config/conky/conky.conf 修改,-- 为注释。 conky.config {alignment top_left,background false,border_width 1,default_color white,--default_outline_color white,--default_sh…

Ubuntu中使用的一个Conky配置

Ubuntu中使用的Conky配置 系统:Ubuntu 20,04(LTS) Conky conky是可以在Linux中实现桌面级系统资源监控的软件。同时由于具有较高的可配置性而成为桌面定制不可或缺的插件式软件之一。 Conky安装(apt) sudo apt install conkyConky配置 …

html设置字体样式罗马,罗马字体英文

路由器之家网今天精心准备的是《罗马字体英文》,下面是详解! word中新罗马字体如何找到 word中新罗马字体如何找到... word中新罗马字体如何找到 新罗马字体是Office Word默认自带的英文字体之一,点击工具栏中的字体,在下拉菜单中就能找到。 扩展资料 Worod优化阅读与写作 …

html入门怎么换字体颜色,html怎么改字体颜色

html改字体颜色的方法:1、通过外部CSS样式来设置字体颜色;2、通过内部CSS样式来设置字体颜色;3、通过font标签来设置字体颜色即可。 本文操作环境:windows7系统、HTML5&&CSS3版,DELL G3电脑 HTML主要是用来写页…

html如何设置整体字体颜色,html字体颜色 html如何设置字体颜色

在浏览网页的过程当中,我们经常可以看见网页上有不同的字体,而且字体的颜色也会有所不同,那么html字体颜色该如何设计呢?今天我们就来看一看有关html设计的相关内容和知识。 html字体颜色——html如何设置字体颜色 如图,给字体所在的div加上id,然后在style中给这个id的di…

html字体图标设置

精灵技术: 为了有效减少服务器接收和发送请求的次数,提高页面的加载速度 精灵技术主要针对背景图片的使用,就是把多个小的背景图片整合到一张大图片中 1精灵图主要针对于小的背景图片的使用 2主要借助背景位置来实现background-position …

HTML中字体大小的设置

在HTML中用其字体标记来修饰文字字体方面的属性,使文字显示更丰富。本文所要讲述的就是网页中常用的字体标记,例如一个标题字体需要变大,并且颜色是红色,字体类别使用黑体或楷体等。 1、字体大小的设置 字体大小用像素表示&…

html 设置整体字体,html font标签如何设置字体样式

html font标签如何设置字体样式 发布时间:2020-09-26 14:41:05 来源:亿速云 阅读:103 作者:小新 html font标签如何设置字体样式?这个问题可能是我们日常学习或工作经常见到的。希望通过这个问题能让你收获颇深。下面是…

html怎么设置字体的背景颜色,html怎样设置字体的背景颜色?

满意答案 cgy1995826 推荐于 2017.11.22 采纳率:42% 等级:13 已帮助:3125人 方法有很多~建议多看看相关教程! 最简单的设置背景颜色: 找到标记,在里面打个空格输入bgcolor"这里写颜色的英文,也可以是16进制,如"#0099FF". 想…

html中怎么设置字体形状,html如何设置字体样式 HTML里怎么设置字体大小?

网页字体样式华文黑体:STHeiti 网页字体样式华文楷体:STKaiti 网页字体样式华文宋体:STSong 网页字体样式华文仿宋:STFangsong 网页字体样式黑体:SimHei 网页字体样式宋体:SimSun 7、网 关于HTML中字体样式和颜色设置 html中 如何在中设置字体样式(粗体斜体等) 字体加粗 …

HTML设置字体大小自适应屏幕与echarts图表颜色根据数据大小实时刷新图表颜色

设置html文字大小根据页面大小自适应,在使用rem之前是使用的px和百分比,后来发现页面缩放或在小屏幕的电脑显示不尽人意,后改用rem,写法如:font-size: .21rem;或font-size: 2.1rem;如果前面是0的话可以省略,这样字体就…

html设置表单里面字体格式为中文,html设置字体样式 html怎么设置字体样式 html字体怎么设置...

分享网页的字体样式,这个只要平时最普通,最常用,最实用的网页字体样式font-family:Microsoft YaHei。 或许多年后再见,各自安静生活数年,在某个人潮拥挤的街头透过公交的玻璃窗看见你,想让司机马上停车,想用力拍打窗户引起你的注意,想从车上跳下想奔跑,想大喊大叫把整…

html中设置字体字号,html中设置字体大小的方法

html中设置字体大小的方法 发布时间:2020-12-08 09:49:46 来源:亿速云 阅读:163 作者:小新 这篇文章将为大家详细讲解有关html中设置字体大小的方法,小编觉得挺实用的,因此分享给大家做个参考,希…

html中字的属性设置,html怎么设置字体属性

html设置字体属性的方法:首先在html文件中,建立一个h1标签;然后在style中写css样式;接着设置文字大小的属性为“font-size:12px”;最后通过“color:red;”属性设置字体颜色即可。 本文操作环境:Windows7系统…

html给字体设置大小,如何设置html字体大小

html字体大小的设置方法:1、在font标签中使用size属性设置,语法“”,随着size的值越大,显示的字体就会越大;2、使用“font-size”属性,语法“font-size:值”,值越大,字体就越大。 本…

HTML编程怎么设置字体,html怎么设置字体

html设置字体的方法:1、【font-variant】属性可以设定小型大写字母;2、【font-weight】属性设置文本的粗细;3、【font-size】属性设置文本的大小。 本教程操作环境:windows7系统、html5版,DELL G3电脑。 html设置字体的…

html字体及文本样式设置

文本属性 -颜色属性 color:black or color:rgb(255,255,255) or color:rgba(255,0,0,0.5) 第四个为透明值设置,取值0-1 or color:#000 十六进制 - font-style 用于打开和关闭斜体文本 font-style:italic;斜体 normal 正常 - font-weight 为字体设置粗细…

HTML5的字体样式设置方法(一)

字体类型: 标签{属性名font-family:值;} 可以设置文字的字体风格。 字体类型可以用引号包起来,也可以不写。 后面会有好几个用逗号分隔开的,意思是逐个应用,哪个浏览器支持就应用哪个,浏览器一看第一个我…

HTTPS的工作原理

内容有点多,但干货满满,相信我,你一定会有收获! 在正式开始讲解https之前我们还得先搞清楚两个概念:什么是对称加密,以及什么是非对称加密? 对称加密的介绍 对称加密比较简单,就是…

深度解析HTTPS原理

深度解析HTTPS原理 HTTPS(全称:HyperText Transfer Protocol over Secure Socket Layer),其实 HTTPS 并不是一个新鲜协议,Google 很早就开始启用了,初衷是为了保证数据安全。 近两年,Google、Ba…