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).

#1 26-12-2019 10:09:32

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

[résolu] conky défectueux (plein écran)

comme une image vaux mieux que de longs discours ,

voilà ce  que j'obtiens depuis hier :

conky


conky: desktop window (200010) is subwindow of root window (39e)
conky: window type - desktop
conky: drawing to created window (0x1800001)
conky: drawing to double buffer
conky: forked to background, pid is 29669



1577353840.png

killall conky


conky: received SIGINT or SIGTERM to terminate. bye!



çà me le fait sur mate et  gnome  sur xorg .

le canal irc de conky est en anglais et  en plus , ils répondent pas .

j'allais oublier le script :

cat -n /etc/conky/conky.conf


     1  -- vim: ts=4 sw=4 noet ai cindent syntax=lua
     2  --[[
     3  Conky, a system monitor, based on torsmo
     4 
     5  Any original torsmo code is licensed under the BSD license
     6 
     7  All code written since the fork of torsmo is licensed under the GPL
     8 
     9  Please see COPYING for details
    10 
    11  Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    12  Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    13  All rights reserved.
    14 
    15  This program is free software: you can redistribute it and/or modify
    16  it under the terms of the GNU General Public License as published by
    17  the Free Software Foundation, either version 3 of the License, or
    18  (at your option) any later version.
    19 
    20  This program is distributed in the hope that it will be useful,
    21  but WITHOUT ANY WARRANTY; without even the implied warranty of
    22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23  GNU General Public License for more details.
    24  You should have received a copy of the GNU General Public License
    25  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    26  ]]
    27 
    28  conky.config = {
    29 
    30      alignment = 'top_right',
    31      background = true,
    32      border_width = 1,
    33      cpu_avg_samples = 2,
    34      default_color = 'yellow',
    35      default_outline_color = 'yellow',
    36      default_shade_color = 'yellow',
    37      draw_borders = false,
    38      draw_graph_borders = true,
    39      draw_outline = false,
    40      draw_shades = false,
    41      use_xft = true,
    42      font = 'DejaVu Sans Mono:size=12',
    43      gap_x = 5,
    44      gap_y = 60,
    45      minimum_height = 5,
    46      minimum_width = 5,
    47      net_avg_samples = 2,
    48      double_buffer = true,
    49      no_buffers = true,
    50      out_to_console = false,
    51      out_to_stderr = false,
    52      extra_newline = false,
    53      own_window = true,
    54      own_window_class = 'Conky',
    55      own_window_type = 'desktop',  
    56      stippled_borders = 0,
    57      update_interval = 3.0,
    58      uppercase = false,
    59      use_spacer = 'none',
    60      show_graph_scale = false,
    61      show_graph_range = false,
    62 
    63  }
    64 
    65  conky.text = [[
    66  ${image /etc/conky/conky-image-3.jpg -p 0,0 -s 500x1400}
    67 
    68  ${alignc} ${nodename} ${sysname} ${kernel} ${machine}
    69 
    70  $hr
    71                   ${font steelworks:pixelsize=40}${time %H:%M:%S}${font}
    72  $hr
    73  ${color yellow}Uptime: $uptime
    74  ${color yellow}Frequency (in MHz): ${freq} Mhz
    75  Frequency (in GHz): ${freq_g} Ghz
    76  ${color yellow}RAM Usage: $mem/$memmax - $memperc% ${membar 4}
    77  ${color yellow}Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}
    78  ${color yellow}CPU Usage: $cpu% ${cpubar 4}
    79  ${color yellow}Processes: $processes  
    80  ${color yellow}Running: $running_processes
    81  $hr
    82  ${color white}File systems:
    83  /    ${fs_used /}/${fs_size /} ${fs_bar 6 /}
    84  /home ${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
    85  Taille du dossier messages de logs  : ${execi 10 du -hs /var/log 2>/dev/null |awk '{ print $1 }'}
    86  Taille dossier fichiers temporaire  : ${execi 10 du -hs /tmp 2>/dev/null |awk '{ print $1 }'
    87  }
    88 
    89  ${color white}Recherche adrresses I.P.
    90  I.P. Publique : ${exec curl -s www.icanhazip.com}
    91  I.P. Locale   : ${addr enp7s0}
    92 
    93  ${color white}Networking:
    94  Down ${offset 25}${totaldown enp7s0} ${offset 100}Up ${alignc}${totalup enp7s0}
    95   ${downspeedgraph enp7s0 22,230 5e7b7b d8deeb} ${upspeedgraph enp7s0 22,230 99c8e8 618094}
    96  ${offset 40}${downspeedf enp7s0} Ko./sec.
    97  ${offset 300}${voffset -14}${upspeedf enp7s0} Ko./sec.
    98  $hr
    99  ${color white}  Name                   PID    CPU%   MEM%
   100  ${color white} |-------------------| |-----| |----| |----|
   101  ${color white}  ${top name 1}      ${top pid 1} ${top cpu 1} ${top mem 1}
   102  ${color white}  ${top name 2}      ${top pid 2} ${top cpu 2} ${top mem 2}
   103  ${color white}  ${top name 3}      ${top pid 3} ${top cpu 3} ${top mem 3}
   104  ${color white}  ${top name 4}      ${top pid 4} ${top cpu 4} ${top mem 4}
   105  ${color white}  ${top name 5}      ${top pid 5} ${top cpu 5} ${top mem 5}
   106  ${color white}  ${top name 6}      ${top pid 6} ${top cpu 6} ${top mem 6}
   107  ${color white}  ${top name 7}      ${top pid 7} ${top cpu 7} ${top mem 7}
   108  ${color white}  ${top name 8}      ${top pid 8} ${top cpu 8} ${top mem 8}
   109  ${color black}$hr
   110  Sapphire AMD Radeon Pulse RX 550 4G DDR5 OC UEFI
   111 
   112      GPU Température  ${hwmon 0 temp 1}  °C
   113      GPU Ventilateur  ${hwmon 0 fan 1 } Tr/Min
   114  $hr
   115              AMD RYZEN 7 1700 X - 3.4 GHZ -
   116 
   117      CPU Température  ${hwmon 1 temp 1 } °c
   118      CPU Ventilateur  ${hwmon 2 fan 1  } Tr/Min
   119  ${color black}$hr
   120  ${alignc}-T °C Disques + % Free space -
   121             
   122  ${alignc} WIN10            sdh : ${hddtemp /dev/sdh}°C  ${fs_free_perc /mnt/Win}%
   123  ${alignc} STABLE           sdh : ${hddtemp /dev/sdh}°C  ${fs_free_perc /mnt/stable-home}%
   124  ${alignc} RAID 1 (md0)     sdi : ${hddtemp /dev/sdi}°C  ${fs_free_perc /mnt/SW10}%
   125  ${alignc} CLONEZILLA       sda : ${hddtemp /dev/sda}°C  ${fs_free_perc /mnt/Clonezilla}%
   126  ${alignc} UBUNTU           sdg : ${hddtemp /dev/sdg}°C  ${fs_free_perc /mnt/Ubuntu}%
   127  ${alignc} FEDORA(effacé)   sdg : ${hddtemp /dev/sdg}°C  ${fs_free_perc /mnt/Fedora}%
   128  ${alignc} RAID 1 (md0)     sdj : ${hddtemp /dev/sdj}°C  ${fs_free_perc /mnt/EXT3}%
   129  ${alignc} /home SSD        sdk : ${hddtemp /dev/sdk}°C  ${fs_free_perc /home}%
   130 
   131 
   132  ${color green}$hr
   133  ${alignc}*****messagerie*****
   134 
   135  ${alignc}--- Bouygues ---
   136  ${alignc}mon adresse perso : ${imap_unseen imap.bbox.fr alain_bellec xxxxxxxxxxxxxxxxxx ## -i 60}
   137 
   138 
   139  ]];
   140 

Dernière modification par Debian Alain (02-01-2020 12:31:44)

Hors ligne

#2 02-01-2020 12:31:13

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [résolu] conky défectueux (plein écran)

résolu .

bête problème de fenêtrage doublé d'une abscence d'affichage de l'adresse ip publique .

voici le nouveau script :

cat -n /etc/conky/conky.conf


     1  -- vim: ts=4 sw=4 noet ai cindent syntax=lua
     2  --[[
     3  Conky, a system monitor, based on torsmo
     4 
     5  Any original torsmo code is licensed under the BSD license
     6 
     7  All code written since the fork of torsmo is licensed under the GPL
     8 
     9  Please see COPYING for details
    10 
    11  Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    12  Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    13  All rights reserved.
    14 
    15  This program is free software: you can redistribute it and/or modify
    16  it under the terms of the GNU General Public License as published by
    17  the Free Software Foundation, either version 3 of the License, or
    18  (at your option) any later version.
    19 
    20  This program is distributed in the hope that it will be useful,
    21  but WITHOUT ANY WARRANTY; without even the implied warranty of
    22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    23  GNU General Public License for more details.
    24  You should have received a copy of the GNU General Public License
    25  along with this program.  If not, see <http://www.gnu.org/licenses/>.
    26  ]]
    27 
    28  conky.config = {
    29 
    30      alignment = 'top_right',
    31      background = true,
    32      border_width = 1,
    33      cpu_avg_samples = 2,
    34      default_color = 'yellow',
    35      default_outline_color = 'yellow',
    36      default_shade_color = 'yellow',
    37      draw_borders = false,
    38      draw_graph_borders = true,
    39      draw_outline = false,
    40      draw_shades = false,
    41      use_xft = true,
    42      font = 'DejaVu Sans Mono:size=12',
    43      gap_x = 5,
    44      gap_y = 60,
    45      minimum_height = 5,
    46      minimum_width = 5,
    47      net_avg_samples = 2,
    48      double_buffer = true,
    49      no_buffers = true,
    50      out_to_console = false,
    51      out_to_stderr = false,
    52      extra_newline = false,
    53      own_window = true,
    54      own_window_type = 'desktop',
    55      stippled_borders = 0,
    56      update_interval = 3.0,
    57      uppercase = false,
    58      use_spacer = 'none',
    59      show_graph_scale = false,
    60      show_graph_range = false,
    61      maximum_width = 500,
    62 
    63  };
    64 
    65  conky.text = [[
    66  ${image /etc/conky/conky-image-3.jpg -p 0,0 -s 500x1400}
    67 
    68  ${alignc} ${nodename} ${sysname} ${kernel} ${machine}
    69 
    70  $hr
    71                   ${font steelworks:pixelsize=40}${time %H:%M:%S}${font}
    72  $hr
    73  ${color yellow}Uptime: $uptime
    74  ${color yellow}Frequency (in MHz): ${freq} Mhz
    75  Frequency (in GHz): ${freq_g} Ghz
    76  ${color yellow}RAM Usage: $mem/$memmax - $memperc% ${membar 4}
    77  ${color yellow}Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}
    78  ${color yellow}CPU Usage: $cpu% ${cpubar 4}
    79  ${color yellow}Processes: $processes  
    80  ${color yellow}Running: $running_processes
    81  $hr
    82  ${color white}File systems:
    83  /    ${fs_used /}/${fs_size /} ${fs_bar 6 /}
    84  /home ${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
    85  Taille du dossier messages de logs  : ${execi 10 du -hs /var/log 2>/dev/null |awk '{ print $1 }'}
    86  Taille dossier fichiers temporaire  : ${execi 10 du -hs /tmp 2>/dev/null |awk '{ print $1 }'}
    87 
    88  ${color white}Recherche adrresses I.P.
    89  I.P. Publique : ${curl https://ipinfo.io/ip}I.P. Locale   : ${addr enp7s0}
    90 
    91  ${color white}Networking:
    92  Down ${offset 25}${totaldown enp7s0} ${offset 100}Up ${alignc}${totalup enp7s0}
    93   ${downspeedgraph enp7s0 22,230 5e7b7b d8deeb} ${upspeedgraph enp7s0 22,230 99c8e8 618094}
    94  ${offset 40}${downspeedf enp7s0} Ko./sec.
    95  ${offset 300}${voffset -14}${upspeedf enp7s0} Ko./sec.
    96  $hr
    97  ${color white}  Name                   PID    CPU%   MEM%
    98  ${color white} |-------------------| |-----| |----| |----|
    99  ${color white}  ${top name 1}      ${top pid 1} ${top cpu 1} ${top mem 1}
   100  ${color white}  ${top name 2}      ${top pid 2} ${top cpu 2} ${top mem 2}
   101  ${color white}  ${top name 3}      ${top pid 3} ${top cpu 3} ${top mem 3}
   102  ${color white}  ${top name 4}      ${top pid 4} ${top cpu 4} ${top mem 4}
   103  ${color white}  ${top name 5}      ${top pid 5} ${top cpu 5} ${top mem 5}
   104  ${color white}  ${top name 6}      ${top pid 6} ${top cpu 6} ${top mem 6}
   105  ${color white}  ${top name 7}      ${top pid 7} ${top cpu 7} ${top mem 7}
   106  ${color white}  ${top name 8}      ${top pid 8} ${top cpu 8} ${top mem 8}
   107  ${color black}$hr
   108  Sapphire AMD Radeon Pulse RX 550 4G DDR5 OC UEFI
   109 
   110      GPU Température  ${hwmon 0 temp 1}  °C
   111      GPU Ventilateur  ${hwmon 0 fan 1 } Tr/Min
   112  $hr
   113              AMD RYZEN 7 1700 X - 3.4 GHZ -
   114 
   115      CPU Température  ${hwmon 1 temp 1 } °c
   116      CPU Ventilateur  ${hwmon 2 fan 1  } Tr/Min
   117  ${color black}$hr
   118  ${alignc}-T °C Disques + % Free space -
   119             
   120  ${alignc} WIN10            sdh : ${hddtemp /dev/sdh}°C  ${fs_free_perc /mnt/Win}%
   121  ${alignc} STABLE           sdh : ${hddtemp /dev/sdh}°C  ${fs_free_perc /mnt/stable-home}%
   122  ${alignc} RAID 1 (md0)     sdi : ${hddtemp /dev/sdi}°C  ${fs_free_perc /mnt/SW10}%
   123  ${alignc} CLONEZILLA       sda : ${hddtemp /dev/sda}°C  ${fs_free_perc /mnt/Clonezilla}%
   124  ${alignc} UBUNTU           sdg : ${hddtemp /dev/sdg}°C  ${fs_free_perc /mnt/Ubuntu}%
   125  ${alignc} FEDORA(effacé)   sdg : ${hddtemp /dev/sdg}°C  ${fs_free_perc /mnt/Fedora}%
   126  ${alignc} RAID 1 (md0)     sdj : ${hddtemp /dev/sdj}°C  ${fs_free_perc /mnt/EXT3}%
   127  ${alignc} /home SSD        sdk : ${hddtemp /dev/sdk}°C  ${fs_free_perc /home}%
   128 
   129 
   130  ${color green}$hr
   131  ${alignc}*****messagerie*****
   132 
   133  ${alignc}--- Bouygues ---
   134  ${alignc}mon adresse perso : ${imap_unseen imap.bbox.fr alain_bellec xxxxxxxxxxxxxxxxxxx -i 60}
   135 
   136 
   137  ]];
   138 



1577968562.png

rXqVrnH.png

Dernière modification par Debian Alain (02-01-2020 12:52:46)

Hors ligne

Pied de page des forums