comme une image vaux mieux que de longs discours ,
voilà ce que j'obtiens depuis hier :
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
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)