Problèmes et questions sur les environnements graphiques et les applications.
Répondre

conky qui ne se place plus tout en haut

#1Messageil y a 1 an

Bonjour à toutes et à tous.
Depuis la grosse mise à jour, mon conky ne se place plus à zéro du point vertical.
Image
Mon fichier conky.conf :

conky.config = {
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'Liberation Serif:size=12',
    gap_x = 1920,
    gap_y = 0,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_transparent = true,
    own_window_argb_visual = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    double_buffer = true,
    maximum_width = 366,
    minimum_width = 366,
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 0.5,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    imlib_cache_size = 0,
}

conky.text = [[
${if_match ${execi 1 xset -q | awk '/LED/{ print $10 }'} == 2} ${image /home/ignace/.config/conky/conky-kb-leds/NL-on_CL-off_SL-off.png}${endif}${if_match ${execi 1 xset -q | awk '/LED/{ print $10 }'} == 0} ${image /home/ignace/.config/conky/conky-kb-leds/NL-off_CL-off_SL-off.png}${endif}${if_match ${execi 1 xset -q | awk '/LED/{ print $10 }'} == 1} ${image /home/ignace/.config/conky/conky-kb-leds/NL-off_CL-on_SL-off.png}${endif}${if_match ${execi 1 xset -q | awk '/LED/{ print $10 }'} == 3} ${image /home/ignace/.config/conky/conky-kb-leds/NL-on_CL-on_SL-off.png}${endif}${image /home/ignace/.config/conky/lune/lune.png -p 170,10 -s 70x70}

${color grey}Noyau :$color ${exec uname -r|cut -d\- -f1}
${color grey}Uptime :$color $uptime_short
${color grey}Frequence :$color $freq_g Ghz
${color grey}RAM:$color $mem / $memmax - $memperc% ${color green}${alignr}${membar 9,130}
${color grey}SWAP:$color $swap / $swapmax - $swapperc% ${color green}${alignr}${swapbar 9,130}
${color grey}Buffers : $color$buffers ${color grey}Mémoire cache : $color$cached
${color grey}/tmp/ $color${fs_used /tmp/} ${color grey}/var/tmp/ $color${fs_used /var/tmp/}
PROCESSUS ${hr 2}
Nom                             ${alignr}CPU   ${alignr}RAM
${color #e09495} ${top name 1}   ${alignr}${top cpu 1}  ${alignr}${top mem 1}
${color #e0d094} ${top name 2}   ${alignr}${top cpu 2}  ${alignr}${top mem 2}
${color1} ${top name 3}    ${alignr}${top cpu 3}  ${alignr}${top mem 3}
${color1} ${top name 4}    ${alignr}${top cpu 4}  ${alignr}${top mem 4}
${color1} ${top name 5}    ${alignr}${top cpu 5}  ${alignr}${top mem 5}
${color1} ${top name 6}    ${alignr}${top cpu 6}  ${alignr}${top mem 6}
${color1} ${top name 7}    ${alignr}${top cpu 7}  ${alignr}${top mem 7}
${color1} ${top name 8}    ${alignr}${top cpu 8}  ${alignr}${top mem 8}
${color1} ${top name 9}    ${alignr}${top cpu 9}  ${alignr}${top mem 9}
${color1} ${top name 10}    ${alignr}${top cpu 10}  ${alignr}${top mem 10}
${color CC9900}PROCESSEUR ${hr 2}$color
${color2}Cœur 1 : $color${cpu cpu1}% ${color green}${alignr}${cpubar cpu1 9,240}
${color2}Cœur 2 : $color${cpu cpu2}% ${color green}${alignr}${cpubar cpu2 9,240}
${color2}Cœur 3 : $color${cpu cpu3}% ${color green}${alignr}${cpubar cpu3 9,240}
${color2}Cœur 4 : $color${cpu cpu4}% ${color green}${alignr}${cpubar cpu4 9,240}
${color white}${cpugraph 071707 00FF12}
${color grey}Températures :
${color grey}CPU Ryzen 3 1200                    $color${voffset 0}${alignr}${execi 10 sensors k10temp-pci-00c3 | awk '/Tctl/ {print $2}'}
${color grey}GPU Radeon HD 7750             $color${voffset 0}${alignr}${execi 10 sensors radeon-pci-2900 | awk '/temp1/ {print $2}'}
${color grey}Carte Gigabyte GC-WBAX210                 $color${voffset 0}${alignr}${execi 10 sensors iwlwifi_1-virtual-0 | awk '/temp1/ {print $2}'}
${color grey}Disque SSD 512 Go                  $color${voffset 0}${alignr}${execi 10 sensors drivetemp-scsi-0-0 | awk '/temp1/ {print $2}'}
${color grey}Disque HDD 8To                      $color${voffset 0}${alignr}${execi 10 sensors drivetemp-scsi-1-0 | awk '/temp1/ {print $2}'}
${color grey}Disque HDD 3To                      $color${voffset 0}${alignr}${execi 10 sensors drivetemp-scsi-5-0 | awk '/temp1/ {print $2}'}
${alignr}
${color grey}Partitions :
${color grey}/ $color${fs_used /}/${fs_size /} - ${fs_used_perc /} % ${color green}${alignr}${fs_bar 6,100 /}
${color grey}home $color${fs_used /home/}/${fs_size /home/} - ${fs_used_perc /home/} % ${color green}${alignr}${fs_bar 6,100 /home}
${color grey}Films $color${fs_used /home/ignace/Vidéos/films/}/${fs_size /home/ignace/Vidéos/films/} - ${fs_used_perc /home/ignace/Vidéos/films/} % ${color green}${alignr}${fs_bar 6,100 /home/ignace/Vidéos/films/}
${color grey}Sauvegardes $color${fs_used /home/ignace/sauvegardes/}/${fs_size /home/ignace/sauvegardes/} - ${fs_used_perc /home/ignace/sauvegardes} % ${color green}${alignr}${fs_bar 6,100 /home/ignace/sauvegardes/}
${color grey}Sauvegarde2 $color${fs_used /home/ignace/sauvegarde2/}/${fs_size /home/ignace/sauvegarde2/} - ${fs_used_perc /home/ignace/sauvegarde2} % ${color green}${alignr}${fs_bar 6,100 /home/ignace/sauvegarde2/}
${color grey}$hr
${color grey}Activité des disques :
$color HDD 3 To ${alignc} ${color green} ${diskio_read /dev/sda}${goto 120} ${alignr}${color FF5800} ${diskio_write /dev/sda}${goto 120}
$color HDD 8 To ${alignc} ${color green} ${diskio_read /dev/sdb} ${alignr}${color FF5800} ${diskio_write /dev/sdb}
${color grey}$hr
${color grey} Connexion Wifi : $color ${wireless_essid wlan0}
${wireless_link_qual_perc wlan0}% ${color green}${wireless_link_bar 9 wlan0}
$color Réception :${color green} ${downspeed wlan0} $color${alignr} Émission :${color FF5800} ${upspeed wlan0}
${color FFFFFF}${downspeedgraph wlan0 30,185 071707 00FF12}${upspeedgraph wlan0 30,185 2C0000 FF5800}

]]
Si une personne à une idée pour résoudre ce problème ?
Merci.

conky qui ne se place plus tout en haut

#2Messageil y a 1 an

Problème résolu en ajoutant dans la section config :
alignment = 'top_left',
Répondre