Linux/manjaro配置系统实时资源监控插件conky

本文介绍了如何在Linux Manjaro上安装和配置conky,一个强大的系统监控工具。通过conky,你可以实时监控CPU、内存、磁盘空间等系统变量。文章包括了conky的简介、安装步骤以及配置方法,帮助用户根据个人需求定制监控界面。
摘要由CSDN通过智能技术生成

效果图

在这里插入图片描述

conky简介

它可以运行在 GNU/Linux 和 FreeBSD 上,是一个基于GPL协议的免费软件。Conky 可以监控许多系统变量,包括 CPU,内存,交换分区,磁盘空间,温度,top,上传,下载,系统消息,以及更多。它具有很高的可配置性,但配置有一些难于理解。Conky是torsmo的一个分支。

安装conky
yay -S conky
配置conky
  1. 编辑用户conky配置文件.conkyrc
sudo vim ~/.conkyrc 
  1. 将配置复制到.conkyrc配置文件中,保存。根据个人需求更改其中网卡、颜色等变量。
# set to yes if you want Conky to be forked in the background
background yes
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 normal
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 240 5
maximum_width 350
# Draw shades?
draw_shades no
# Draw outlines?
d
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值