Conky plante
Antoniop Membre non connecté
-
- Voir le profil du membre Antoniop
- Inscrit le : 21/12/2011
- Groupes :
Suite à ma migration vers mageia 10, j'ai du faire quelques modifs sur mon script conky, qui ne marchait plus sous wayland.
Maintenant, il marche mais il plante au bout d'un moment, je ne sais pas pourquoi.
Voici le script :
Code TEXT :
conky.config = {
--#####################
-- - Conky settings - #
--#####################
update_interval = 3,
total_run_times = 0,
net_avg_samples = 1,
cpu_avg_samples = 2,
imlib_cache_size = 0,
double_buffer = false,
out_to_x = false,
out_to_wayland = true,
format_human_readable = true,
--####################
-- - Text settings - #
--####################
use_xft = true,
font = 'Droid Sans:size=10',
override_utf8_locale = true,
text_buffer_size = 2048,
--############################
-- - Window specifications - #
--############################
own_window_class = 'Conky',
own_window = true,
own_window_transparent = true,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
alignment = 'top_right',
gap_y = -5,
gap_x = -5,
border_inner_margin = 8,
minimum_width = 220, minimum_height = 500,
maximum_width = 300,
default_bar_width = 86, default_bar_height = 6,
--########################
-- - Graphics settings - #
--########################
draw_shades = false,
default_shade_color = '#000000',
default_color = '#FFFFFF',
color1 = '#000000',
own_window_colour = '#000000',
};
conky.text = [[
####-Time-####
${voffset 0}${color EAEAEA}${font GE Inspira:pixelsize=60}${time %H:%M}${font}${voffset -50}${offset 10}${color FFA300}${font GE Inspira:pixelsize=42}${time %d} ${voffset -5}${color EAEAEA}${font GE Inspira:pixelsize=22}${time %B} ${time %Y}${font}${voffset 24}${font GE Inspira:pixelsize=28}${offset -140}${time %A}
${font Ubuntu:pixelsize=12}${color FFA300}System $color$kernel${font Ubuntu:pixelsize=12}${color FFA300}${alignr}Uptime $color$uptime
${voffset 5}${font Ubuntu:pixelsize=12}${color FFA300}Root $color${fs_used /} / ${fs_size /}${color FFA300}${alignr}Home $color${fs_used /home} / ${fs_size /home}
#
####-Network-###
${color FFA300}Active interface ${color0} enp3s0
${color FFA300}Download ${color0}${downspeedf enp3s0} KiB/s $alignr${color FFA300}Upload ${color0}${alignr}${upspeedf enp3s0} KiB/s
${downspeedgraph enp3s0 30,145 0cff00 FF2200 -l -t} $alignr${upspeedgraph enp3s0 30,145 0cff00 FF2200 -l -t}
${alignr} IP address: ${execi 60 curl ipinfo.io/ip}
###-Process Panel-###
${voffset -30}
${color FFA300}Moyenne ${color0}${offset 5}${cpu cpu0}%${alignr}${cpubar cpu0 5,150}
${color FFA300}CPU1 ${color0}${offset 5}${cpu cpu1}%${alignr}${cpubar cpu1 5,150}
${color FFA300}CPU2 ${color0}${offset 5}${cpu cpu2}%${alignr}${cpubar cpu2 5,150}
${color FFA300}CPU3 ${color0}${offset 5}${cpu cpu3}%${alignr}${cpubar cpu3 5,150}
${color FFA300}CPU4 ${color0}${offset 5}${cpu cpu4}%${alignr}${cpubar cpu4 5,150}
${color FFA300}Temp: ${color0}${offset 5}${hwmon 1 temp 1}°C ${color FFA300}${alignr}Freq: ${color0}${offset 5}${freq} Hz
${offset 10}${top name 1} $alignr ${top cpu 1}%
${offset 10}${top name 2} $alignr ${top cpu 2}%
${offset 10}${top name 3} $alignr ${top cpu 3}%
${color FFA300}RAM ${color0}${offset 5}${mem} / ${memmax}${alignr}${membar 5,150}
${offset 10}${top_mem name 1} $alignr ${top_mem mem_res 1}
${offset 10}${top_mem name 2} $alignr ${top_mem mem_res 2}
${offset 10}${top_mem name 3} $alignr ${top_mem mem_res 3}
]];
Je le lance avec :
Code BASH :
nohup conky -c MyConky2.5 &
Quelqu'un a-t-il un conky qui fonctionne ?
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie