kali linux conky配置文件,conky的配置文件

article/2025/3/13 17:55:15

使用的conky配置,备查:

效果:

d44bbd478afb04441ee0f09bdb1200a5.png

.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 FreeSans:size=10

own_window_transparent no

#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_argb_visual true

own_window_transparent yes

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#own_window_type override

# 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 0

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 bmp

# boinc (seti) dir

# seti_dir /opt/seti

# Possible variables to be used:

#

#      Variable         Arguments                  Description

#  acpiacadapter                     ACPI ac adapter state.

#  acpifan                           ACPI fan state

#  acpitemp                          ACPI temperature.

#  adt746xcpu                        CPU temperature from therm_adt746x

#  adt746xfan                        Fan speed from therm_adt746x

#  battery           (num)           Remaining capasity in ACPI or APM

#                                    battery. ACPI battery number can be

#                                    given as argument (default is BAT0).

#  buffers                           Amount of memory buffered

#  cached                            Amount of memory cached

#  color             (color)         Change drawing color to color

#  cpu                               CPU usage in percents

#  cpubar            (height)        Bar that shows CPU usage, height is

#                                    bar's height in pixels

#  downspeed         net             Download speed in kilobytes

#  downspeedf        net             Download speed in kilobytes with one

#                                    decimal

#  exec              shell command   Executes a shell command and displays

#                                    the output in torsmo. warning: this

#                                    takes a lot more resources than other

#                                    variables. I'd recommend coding wanted

#                                    behaviour in C and posting a patch :-).

#  execi             interval, shell Same as exec but with specific interval.

#                    command         Interval can't be less than

#                                    update_interval in configuration.

#  fs_bar            (height), (fs)  Bar that shows how much space is used on

#                                    a file system. height is the height in

#                                    pixels. fs is any file on that file

#                                    system.

#  fs_free           (fs)            Free space on a file system available

#                                    for users.

#  fs_free_perc      (fs)            Free percentage of space on a file

#                                    system available for users.

#  fs_size           (fs)            File system size

#  fs_used           (fs)            File system used space

#  hr                (height)        Horizontal line, height is the height in

#                                    pixels

#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev

#                                    may be omitted if you have only one I2C

#                                    device. type is either in (or vol)

#                                    meaning voltage, fan meaning fan or temp

#                                    meaning temperature. n is number of the

#                                    sensor. See /sys/bus/i2c/devices/ on

#                                    your local computer.

#  kernel                            Kernel version

#  loadavg           (1), (2), (3)   System load average, 1 is for past 1

#                                    minute, 2 for past 5 minutes and 3 for

#                                    past 15 minutes.

#  machine                           Machine, i686 for example

#  mails                             Mail count in mail spool. You can use

#                                    program like fetchmail to get mails from

#                                    some server using your favourite

#                                    protocol. See also new_mails.

#  mem                               Amount of memory in use

#  membar            (height)        Bar that shows amount of memory in use

#  memmax                            Total amount of memory

#  memperc                           Percentage of memory in use

#  new_mails                         Unread mail count in mail spool.

#  nodename                          Hostname

#  outlinecolor      (color)         Change outline color

#  pre_exec          shell command   Executes a shell command one time before

#                                    torsmo displays anything and puts output

#                                    as text.

#  processes                         Total processes (sleeping and running)

#  running_processes                 Running processes (not sleeping),

#                                    requires Linux 2.6

#  shadecolor        (color)         Change shading color

#  stippled_hr       (space),        Stippled (dashed) horizontal line

#                    (height)

#  swapbar           (height)        Bar that shows amount of swap in use

#  swap                              Amount of swap in use

#  swapmax                           Total amount of swap

#  swapperc                          Percentage of swap in use

#  sysname                           System name, Linux for example

#  time              (format)        Local time, see man strftime to get more

#                                    information about format

#  totaldown         net             Total download, overflows at 4 GB on

#                                    Linux with 32-bit arch and there doesn't

#                                    seem to be a way to know how many times

#                                    it has already done that before torsmo

#                                    has started.

#  totalup           net             Total upload, this one too, may overflow

#  updates                           Number of updates (for debugging)

#  upspeed           net             Upload speed in kilobytes

#  upspeedf          net             Upload speed in kilobytes with one

#                                    decimal

#  uptime                            Uptime

#  uptime_short                      Uptime in a shorter format

#

#  seti_prog                         Seti@home current progress

#  seti_progbar      (height)        Seti@home current progress bar

#  seti_credit                       Seti@hoome total user credit

# variable is given either in format $variable or in ${variable}. Latter

# allows characters right after the variable and must be used in network

# stuff because of an argument

#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well

#${font Verdana:size=10}as many times as I choose

#${font Perry:size=10}Including UTF-8,

# stuff after 'TEXT' will be formatted on screen

#${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}

TEXT

${color #ffa200}${font Freesans:size=20}S${font Freesans:size=10}YSTEM ${hr 1}${color}

Hostname: $alignr$nodename

Kernel: $alignr$kernel

Uptime: $alignr$uptime

Temp: ${alignr}${acpitemp}°C

Login User: ${alignr}${exec whoami}

CPU: ${alignr}${freq dyn} MHz

Processes: ${alignr}$processes ($running_processes running)

Load: ${alignr}$loadavg

${color #ffa200}${font Freesans:size=20}C${font Freesans:size=10}PU${hr 1}

${color}CPU0 ${alignr}${cpu cpu0}%

${color #78af78}${cpubar 4 cpu0}

${color}CPU1 ${alignr}${cpu cpu1}%

${color #78af78}${cpubar 4 cpu1}

${color}CPU2 ${alignr}${cpu cpu2}%

${color #78af78}${cpubar 4 cpu2}

${color}CPU3 ${alignr}${cpu cpu3}%

${color #78af78}${cpubar 4 cpu3}

${color}CPU4 ${alignr}${cpu cpu4}%

${color #78af78}${cpubar 4 cpu4}

${color}CPU5 ${alignr}${cpu cpu5}%

${color #78af78}${cpubar 4 cpu5}

${color}CPU6 ${alignr}${cpu cpu6}%

${color #78af78}${cpubar 4 cpu6}

${color}CPU7 ${alignr}${cpu cpu7}%

${color #78af78}${cpubar 4 cpu7}

${color}${top name 1}${alignr}${top cpu 1}%

${color #ffa200}${font Freesans:size=20}M${font Freesans:size=10}EMORY${hr 1}

${color}Ram ${alignr}$mem / $memmax ($memperc%)

${membar 4}

${color}swap ${alignr}$swap / $swapmax ($swapperc%)

${swapbar 4}

${color #ffa200}${font Freesans:size=20}N${font Freesans:size=10}VIDIA ${hr 1}${color}

${color}Temp ${alignr}${exec nvidia-settings -q gpucoretemp -t}°C

${color}GPU Clock ${alignr}${exec nvidia-settings -q GPUCurrentClockFreqs -t}Mhz

${color}Video RAM ${alignr}${exec nvidia-settings -q videoram -t}KiB

${color}Driver Version ${alignr}${exec nvidia-settings -q NvidiaDriverVersion -t}

${color #ffa200}${font Freesans:size=20}A${font Freesans:size=10}PPLICATIONS ${hr 1}${color}

Highest CPU $alignr CPU%  MEM%

${top name 1}$alignr${top cpu 1}   ${top mem 1}

${top name 2}$alignr${top cpu 2}   ${top mem 2}

${top name 3}$alignr${top cpu 3}   ${top mem 3}

Highest MEM $alignr CPU%  MEM%

${top_mem name 1}$alignr${top_mem cpu 1}   ${top_mem mem 1}

${top_mem name 2}$alignr${top_mem cpu 2}   ${top_mem mem 2}

${top_mem name 3}$alignr${top_mem cpu 3}   ${top_mem mem 3}

${color #ffa200}${font Freesans:size=20}F${font Freesans:size=10}ILE ${font Freesans:size=20}S${font Freesans:size=10}YSTEM ${hr 1}${color}

Root: ${alignr}${fs_free /} / ${fs_size /}

${fs_bar 4 /}

Home: ${alignr}${fs_free /home} / ${fs_size /home}

${fs_bar 4 /home}

${color #ffa200}${font Freesans:size=20}N${font Freesans:size=10}ETWORK ${hr 1}${color}

Down ${downspeed eno1} k/s ${alignr}Up ${upspeed eno1} k/s

${downspeedgraph eno1 25,107} ${alignr}${upspeedgraph eno1 25,107}

Total ${totaldown eno1} ${alignr}Total ${totalup eno1}

阅读(1111) | 评论(0) | 转发(0) |


http://chatgpt.dhexx.cn/article/4JaDyTDG.shtml

相关文章

ubuntu美化之conky美化

​​一.安装 conky-manager 首先我们需要安装conky-manager。软件下载地址如下: https://github.com/teejee2008/conky-manager/releases 下载下来发现安装不上,因为conky- manager已经很久没有维护了,所以很多依赖已经废弃了。缺少一个re…

linux如何卸载conky,Ubuntu 14.04安装Conky配置软件Conky Manager 1.2

Conky Manager软件非常简单,只要打开选择你所需要的conky主题,就可以再桌面显示,对于单个主题下有多个部件的话还可以选择全部开启或者开启其中部分部件,还可以导入conky主题,然后再conky manager中选择,对…

conky-lua

--经过数天的查阅网上的资料(资料各种坑啊,一系列问题!),终于让他在linux-mint17 cinnamon工作了 网络上的资料问题: getting "llua_do_call: funcction conky_clock_rings execution failed: attempt…

conky安装配置

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 w…

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设置字体的…