logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Ceci est une ancienne révision du document !


Table des matières

ConkyRc config File

Introduction

Fonctionne avec conky version 1.10.8-1 du dépôt Buster.

Installation

apt update && apt install conky conky-all

Preview


===== Utilisation =====

~/.conkyrc :
<code>
conky.config = {
	alignment = 'top_right',
	background = false,
	border_width = 0.5,
	cpu_avg_samples = 4,
	default_color = 'white',
	default_outline_color = 'grey',
	default_shade_color = 'black',
	draw_borders = true,
	draw_graph_borders = true,
	draw_outline = false,
	draw_shades = false,
	use_xft = true,
	font = 'DejaVu Sans Mono:size=10',
	gap_x = 10,
	gap_y = 40,
	minimum_height = 5,
	minimum_width = 5,
	net_avg_samples = 2,
	double_buffer = true,
	out_to_console = false,
	out_to_stderr = false,
	extra_newline = false,
	own_window = true,
	own_window_colour = '000000',
	own_window_class = 'Conky',
	own_window_argb_visual = true,
	own_window_argb_value = 70,
	own_window_type = 'dock',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	update_interval = 5.0,
	use_spacer = 'none',
	show_graph_scale = false,
	show_graph_range = false,
}

conky.text = [[
${font DejaVu Sans Mono:size=14}${alignc}${time %I:%M:%S}
${font Impact:size=10}${alignc}${time %A, %B %e, %Y}
${font Entopia:size=12}${color orange}CALENDAR ${hr 2}$color
${font DejaVu Sans Mono:size=9}${execpi 1800 DA=`date +%_d`; cal | sed s/"\(^\|[^0-9]\)$DA"'\b'/'\1${color orange}'"$DA"'$color'/}
${hr}
${color orange}Hostname: ${color}${nodename}
${color orange}Kernel:   ${color}${sysname} ${kernel}
${color orange}Uptime:   ${color}${uptime}
${hr}
${color orange}CPU:${color} ${freq_g} GHz ${color} $cpu% ${color red}${cpubar 6}
${offset 4}${color black}${cpugraph F600AA 5000a0}
${color orange}0:${color} ${cpu cpu0}% ${cpubar cpu0}
${color orange}1:${color} ${cpu cpu1}% ${cpubar cpu1}
${color orange}2:${color} ${cpu cpu2}% ${cpubar cpu2}
${color orange}3:${color} ${cpu cpu3}% ${cpubar cpu3}
${hr}
${color orange}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}Processes: ${color}${processes}
${hr}
${color orange}RAM:  ${color}${mem}/${memmax}
${memperc}% ${membar 4}
${memgraph F600AA 5000a0}
${color orange}Swap: ${color}${swap}/${swapmax}
${swapperc}% ${swapbar 4}
${hr}
${color orange}SSD /: ${color}${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color orange}HDD /: ${color}${fs_used /home/kawer/Archive}/${fs_size /home/kawer/Archive} ${fs_bar 6 /home/kawer/Archive}
${hr}
${color orange}Moc Player:   ${color green}${moc_title}${color}
${hr}
${color orange}IP WLAN: ${color}${color red}${addr wlp0s29u1u4}${color}
${color orange}Up:   ${color}${upspeed wlp0s29u1u4}
${color orange}Down: ${color}${downspeed wlp0s29u1u4}
${hr}
${color orange}IP LAN:   ${color}${addr eno1}
${color orange}Up:   ${color}${upspeed eno1}
${color orange}Down: ${color}${downspeed eno1}
${hr}
${color orange}IP PVPN:   ${color green}${addr proton0}
${color orange}Up:   ${color}${upspeed proton0}
${color orange}Down: ${color}${downspeed proton0}
${hr}
${color orange}DEFAULT ROUTE:  ${color red}${gw_iface}${color}
${hr}
${color orange}IPV4:      ${color red}${exec curl -s https://ifconfig.me}${color}
${color orange}IPV6:      ${color red}${exec curl -s http://checkipv6.dyndns.org | cut -c77-111}${color}
${hr}
${color orange}Network Graph:
${color black}${downspeedgraph wlp0s29u1u4 32,80 ff0000 0000ff}${alignr}${color black}${upspeedgraph wlp0s29u1u4 32,80 0000ff ff0000}
${color orange} ▼ ${downspeed wlp0s29u1u4}${alignc}${color orange} ${wireless_essid wlp0s29u1u4}${alignr}${color}▲ ${upspeed wlp0s29u1u4}
]]
utilisateurs/kawer/config/conkyrc.1587774924.txt.gz · Dernière modification: 25/04/2020 02:35 par kawer

Pied de page des forums

Propulsé par FluxBB