Bonjour à tous,
j'ai un souci depuis peu ( sous Fedora 34 ) avec Conky.
ce dernier se crash systématiquement et je ne vois pas d'où ça vient.
Voici le code de mon conky.conf :
-- onky passe en version 1.10. Cela entraîne de gros changements sur la configuration :
-- Mettre la partie configuration dans :
-- conky.config = { ... }
-- Mettre la partie TEXT dans :
-- conky.text = [[ ... ]]
-- Toutes les valeurs doivent être précédées de "=" dans la partie configuration
-- Finir chaque ligne par une virgule ","
-- Remplacer tous les "yes"/"no" en "true"/"false" (sans les guillemets)
-- Toutes les valeurs autres que nombres,"true" et "false", doivent être entre quotes (ex: use_space = 'left' )
-- Les commentaires doivent commencer avec "--" à la place de "#"
conky.config = {
gap_x = 2130,
gap_y = 640,
background = false,
border_width = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = true,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'left',
pad_percents = 3,
show_graph_scale = false,
show_graph_range = false,
};
conky.text = [[
${image /home/nicolas/Images/icones/Fedora-Logo.png -p 20,20 -s 65x65}
${color green} FEDORA 33
${color green} Gnome Shell 3.38.1
${color white} Wayland 1.18.1
${color white} $sysname $kernel $machine
${color white} Conky: $conky_version
${color grey}$hr
${color grey}${alignc}Uptime:$color $uptime
${color grey}$hr
${color white}-CPU/IGP ${color grey}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-26}
${color grey} Température:$color ${acpitemp}°C
${image /home/nicolas/Images/icones/Intel_i7_logo.png -p 370,160 -s 45x34}
${color grey} Usage:$color $cpu% ${cpugraph 25, 00ff00 ffff00}
${color grey} Threads 1-2-3-4:$color ${cpu cpu1}% - ${cpu cpu2}% - ${cpu cpu3}% - ${cpu cpu4}%
${color grey}$hr
${color white}-RAM ${color grey} Used/Total:$color $mem ${color grey}/$color $memmax
${color grey} Usage:$color $memperc% ${membar 8}
${color grey} Swap:$color $swap ${color grey}/$color $swapmax $color $swapperc% ${swapbar 6}
${color grey}$hr
${color white}-SSD ${color grey}/System:$color ${fs_used} ${color grey}/$color ${fs_size} ${fs_type}
${color grey} Usage:$color ${fs_used_perc}% ${fs_bar 8}
${color white}-HDD ${color grey}/Home:$color ${fs_used /home} ${color grey}/$color ${fs_size /home} ${fs_type /home}
${color grey} Usage:$color ${fs_used_perc /home}% ${fs_bar 8 /home}
${color white}-SSD ${color grey}/Jeux:$color ${fs_used /media/jeux} ${color grey}/$color ${fs_size /media/jeux} ${fs_type /media/jeux}
${color grey} Usage:$color ${fs_used_perc /media/jeux}% ${fs_bar 8 /media/jeux}
${color white}-SSD ${color grey}/Jeux 2:$color ${fs_used /media/jeux} ${color grey}/$color ${fs_size /media/jeux_2} ${fs_type /media/jeux_2}
${color grey} Usage:$color ${fs_used_perc /media/jeux_2}% ${fs_bar 8 /media/jeux_2}
${color grey}$hr
${color white}-INTERNET ${color yellow}Upload ${color grey}-Speed- ${color orange}Download
$color ${offset 70}${voffset 0}${upspeed enp9s0} ${offset 140}${voffset 0}${downspeed enp9s0}
${color white} ${upspeedgraph enp9s0 25,200 00ff00 ffff00} ${downspeedgraph enp9s0 25,200 00ff00 ff6000}
${color grey} Total Up/Down:$color ${totalup enp9s0} ${color grey}/$color ${totaldown enp9s0}
${color grey} Interface:$color $gw_iface ${color grey} IP:$color ${addr enp9s0}
${color grey}$hr
${color white}-Processus
${color white}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 lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color grey}Total process:$color $processes ${color grey}Running:$color $running_processes
${color grey}$hr
${image /home/nicolas/Images/icones/Nvidia.png -p 10,805 -s 70x70}
${color lightgrey} graphics card model : ${execi 300 nvidia-settings -q gpus |grep '0] (' | cut -d '(' -f 2,2 | sed -e 's/.\{1\}$//'}
${color lightgrey} Driver : ${execi 300 nvidia-settings -q NvidiaDriverVersion | grep -m 1 Attribute | awk '{print $4}'}
${color lightgrey} Temperature : ${execi 2 nvidia-settings -q gpucoretemp | grep -m 1 Attribute | awk '{print $4}' | sed -e 's/\.//'}°C
${color lightgrey} GPU Clock : ${execi 2 nvidia-settings -q GPUCurrentClockFreqs | grep -m 1 Attribute | awk '{print $4}' | sed -e 's/\.//' | cut -d, -f1} MHz
${color lightgrey} Memory Clock : ${execi 2 nvidia-settings -q GPUCurrentClockFreqs | grep -m 1 Attribute | awk '{print $4}' | sed -e 's/\.//' | cut -d, -f2} MHz
]];
et voici le code quand je tente de le relancer :
[nicolas@localhost ~]$ conky
conky: desktop window (400010) is subwindow of root window (1d8)
conky: window type - normal
conky: drawing to created window (0x1e00002)
conky: drawing to double buffer
double free or corruption (!prev)
Abandon (core dumped)
Quelqu'un aurait-il une piste ?
D'avance merci.