Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1151 Le 27/04/2016, à 22:35

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

ce n'est pas le conky corrigé que tu as lancé

Hors ligne

#1152 Le 27/04/2016, à 22:38

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

background true
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 10
#total_run_times 0
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 70
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager,below
double_buffer yes
minimum_size 250 800
maximum_width 250
text_buffer_size 1024
#draw_shades yes
#draw_outline no
#draw_borders no
draw_graph_borders yes
default_color white
#default_shade_color black
#default_outline_color white
alignment tl
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
#override_utf8_locale yes
#white
color1                green
#white
color2                green
#orange
color3                red
#orange - yellow
color4                ffc11f
 
# Lua Load  #
#lua_load ~/.conky/ring.lua
#lua_draw_hook_pre clock_rings
TEXT
${font Sans:size=10}${color3}Kernel: ${color2}$kernel
${color3}Uptime:${color2} $uptime
${color3}Processus: ${color2} $processes${color3}${alignr}En cours: ${color2} $running_processes
#${color2}Temp GPU: ${execi 3800 nvidia-smi -a | grep "GPU Current Temp" | cut -d : -f 2}

${color3}CPU: ${hr}${color12}
${color3}Frequence :$alignr ${freq_g} 

SI si

Dernière modification par ricorde (Le 27/04/2016, à 22:40)


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1153 Le 27/04/2016, à 22:39

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

J'ai changé la valeur de la couleur 12 pour avoir confirmation au terminal et tu as toujours cette erreur, donc tu te trompe dans tes fichiers....

Hors ligne

#1154 Le 27/04/2016, à 22:42

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Quand je lai relancer la valeur 12 était bien sur 2 après avoir copier le retour terminal j'ai remis cette valeur sur 2 je peux refaire la manip si tu préfère etre sur

autant pour moi tu as raison j'ai cafouiller

Dernière modification par ricorde (Le 27/04/2016, à 22:45)


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1155 Le 27/04/2016, à 22:47

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Tu as juste omis de changer la dernière ligne, bon !
Alors je dirais ; corrige ton conky avec le nouveau code.
Je t'avais demandé de faire l'essai avec mon conky qui est lui est en nouveau code, ceci pour voir si tu arrive à ce que tu souhaite pour l'affichage, ça fera déjà avancer le shmilblick.
En faisant deux fichiers du même conky en changeant seulement les x - y et faire deux lanceurs.
Sinon je ne peux t'aider davantage, mais tu auras peut être plus d'infos concernant ton problème, sur ce fil, c'est du moins ce que je te souhaite.
Bonne chance et bon courage pour la correction de ton conky.

Dernière modification par enebre (Le 27/04/2016, à 22:47)

Hors ligne

#1156 Le 27/04/2016, à 22:48

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

voila j'ai rectifier

lyca@lyca:~$ killall conky
lyca@lyca:~$ conky -c /home/lyca/.conky/conky-perso/conkytestrc/conkytestrc
conky: Syntax error (/home/lyca/.conky/conky-perso/conkytestrc/conkytestrc:1: '=' expected near 'true') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (1000033) is subwindow of root window (2ae)
conky: window type - normal
conky: drawing to created window (0x1a00002)
conky: drawing to double buffer
conky: forked to background, pid is 19976
lyca@lyca:~$ 
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: can't load Xft font 'sans-serif:size=8,weight:bold'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'
conky: can't load Xft font 'sans-serif:size=8,weight:normal'

Toujours écran secondaire cotè gauche

Dernière modification par ricorde (Le 27/04/2016, à 22:48)


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1157 Le 27/04/2016, à 22:51

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

mon conky est très similaire au tien, juste quelques paramètres à changer

conky.config = {
background = true,
use_xft = true,
font = 'Sans:pixelsize=12',
xftalpha = 0.5,
update_interval = 10.0,
-- total_run_times = 0,
own_window = true,
-- own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 70,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager,below',
double_buffer = true,
minimum_width = 280,
-- minimum_height = 690,
maximum_width = 280,
text_buffer_size = 512,
draw_shades = false,
-- draw_outline = false,
-- draw_borders = false,
draw_graph_borders = true,
default_color = 'white',
-- default_shade_color = 'black',
-- default_outline_color = 'white',
alignment = 'top_right',
-- short_units
gap_x = 7,
-- gap_y = -55,
-- no_buffer = true,
-- uppercase = false,
-- cpu_avg_samples = 2,
-- net_avg_sample = 2,
-- override_utf8_locale = true,
color1 = 'white',
color2 = 'white',
color3 = 'red',
color4 = 'green',
color5 = '9dff00',
color6 = 'orange',
color7 = '787878',
-- Lua Load,
-- lua_load ~/.conky/ring.lua,
-- lua_draw_hook_pre clock_rings,
-- ${color3}${font Sans:pixelsize=30}${alignc}${time %H}${time :%M}
}
conky.text = [[
${font caviar dreams:pixelsize=14,weight:bold}${offset 120}Infos Système
${voffset 1}${font Sans:pixelsize=12}${color3}release: ${color2}${font caviar dreams:pixelsize=12}${color}xubuntu ${font caviar dreams:pixelsize=12}"16.04 beta1"${font Sans:pixelsize=12}${color3}${goto 205}| Mails :
${font Sans:pixelsize=12}${color3}Kernel: ${color2}${kernel | cut -c1-31}${goto 190}${font caviar dreams:pixelsize=12}${color3}|${color2} enebre${font caviar dreams:pixelsize=12} ${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic.sh }
${color3}Uptime:${color2} $uptime${alignr}${goto 175}${font caviar dreams:pixelsize=12}${color3}|${color2} ${font caviar dreams:pixelsize=12} ${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic1.sh } 
#-- ${color3}Processus: ${color2} $processes${color3}${alignr}En cours: ${color2} $running_processes
#-- ${color3}System Updates: $color2${execi 3600 apt-get search "~U" | wc -l | tail}
${font Ubuntu:pixelsize=12}${color2}Cpu: ${color3}${hr}${font caviar dreams:pixelsize=12,weight:normal}
Freq : ${color2}${freq_g} GHz  ${color3} ssd:${color2}${execi 10 hddtemp -n /dev/sda} °C${offset 10}${color3}Proc:${color2}$processes${color3}${alignr}Up:${color2}$running_processes#${color2}${execi expr `cat hddtemp /dev/sda °C ${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000} $alignc${color3}CPU: ${color2}${execi 10 hddtemp -n /dev/sda} °C

${color3}Core 1:${color2} ${cpu cpu0}%${goto 90}${color4}${cpubar cpu0 6,60}${color2}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000}${color2},
${color3}Core 2:${color2} ${cpu cpu1}%${goto 90}${color4}${cpubar cpu0 6,60}${color2}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}${color2},
#-- ${color3}Core 3:${color2} ${cpu cpu2}%${goto 90}${color4}${cpubar cpu1 6,60}${color2}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}${color2},
#-- ${color3}Core 4:${color2} ${cpu cpu3}%${goto 90}${color4}${cpubar cpu2 6,60}${color2}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon2/temp3_input` / 1000}${color2},
#-- ${voffset 5}${color3}${cpugraph cpu1 13,120 9dff00 ffff66}$alignr${cpugraph cpu2 13,120 9dff00 ffff66}
#-- ${voffset 2}${color}${font caviar dreams:pixelsize=9,weight:normal}${goto 30}graph cpu 1${goto 190}graph cpu 2
${voffset 4}${font Ubuntu:pixelsize=12}${color2}Mémoire: ${color3}${hr}${font caviar dreams:pixelsize=10,weight:normal}
${goto 10}${color3}Ram:${font caviar dreams:pixelsize=12,weight:normal}${color2} $mem/$memmax ${goto 165}${memperc}%${goto 195}${color4}${membar}${color2}${font caviar dreams:pixelsize=10,weight:normal}
${goto 10}${color3}Swap:${font caviar dreams:pixelsize=12,weight:normal}${color2} ${swap} / ${swapmax} ${goto 165}${swapperc}%${goto 195}${color4}${swapbar}
#-- ${voffset -2}${goto 165}${font caviar dreams:pixelsize=12,weight:normal}${color2}graph mémoire
${voffset -1}${font Ubuntu:pixelsize=12}${color2}Espace Disque:${color3}${hr}${font caviar dreams:pixelsize=12,weight:normal}
${goto 15}/ ${color2}${goto 50}${fs_used /} / ${fs_size /} ${goto 165}${fs_used_perc /}% ${goto 195}${color4}${fs_bar /}\

#-- ${if_existing /media/marc/Drive-n-go}${voffset 15}${goto 15}${color3}D-n-g ${color2}${goto 50}${fs_used /media/marc/Drive-n-go} / ${fs_size /media/marc/Drive-n-go} ${goto 165}${fs_used_perc /media/marc/Drive-n-go}% ${goto 195}${color4}${fs_bar /media/marc/Drive-n-go}${endif}\
#-- ${if_existing /media/ombre/data}${voffset 15}${goto 15}${color3}data ${color2}${goto 50}${fs_used /media/ombre/data} / ${fs_size /media/ombre/data} ${goto 165}${fs_used_perc /media/ombre/data}% ${goto 195}${color4}${fs_bar /media/ombre/data}${endif}
#-- ${voffset -3}${goto 165}${font caviar dreams:pixelsize=12,weight:normal}${color2}graph usage disk
${font Ubuntu:pixelsize=12}${color2}${color}Charge: ${color3}${hr}${font caviar dreams:size=10}
Processus$alignr PID   CPU   MEM${color5}
  ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
  ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
  ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
  ${top name 4} $alignr${top pid 4} ${top cpu 4} ${top mem 4}
  ${top name 5} $alignr${top pid 5} ${top cpu 5} ${top mem 5}
  ${top name 6} $alignr${top pid 6} ${top cpu 6} ${top mem 6}
  ${top name 7} $alignr${top pid 7} ${top cpu 7} ${top mem 7}
  ${top name 8} $alignr${top pid 8} ${top cpu 8} ${top mem 8}
  ${top name 9} $alignr${top pid 9} ${top cpu 9} ${top mem 9}
${color3}Mémoire$alignr PID   CPU   MEM${color5}
  ${top_mem name 1} $alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  ${top_mem name 2} $alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  ${top_mem name 3} $alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  ${top_mem name 4} $alignr${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
#-- ${exec tail -n1 -f /var/log/syslog | grep note | cut -d "=" -f2}
#-- ${exec cat tail -n1 -f /var/log/boot.log | cut -d "=" -f2} erreur
# Connections: ${color grey}${tcp_portmon 1 65535 count}
${color3}Active Interface ${alignr}${color5}${goto 180}$gw_iface
# Gateway IP ${alignr}$gw_ip
# DNS ${alignr}$nameserver
# TOR Status ${alignr}${if_running tor} Active${else}Disabled${endif}
# Upload speed:${alignr}${upspeed enp3s0}kb/s
# Download speed:${alignr}${downspeedf enp3s0}kb/s
${if_existing /sys/class/net/enp3s0/operstate up}${voffset 3}${font Ubuntu:pixelsize=14}${color2}Réseau: ${font caviar dreams:size=9}${color3}${hr}
enp3s0 : ${color1}${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}${font caviar dreams:size=9}${color3 } local : ${color1}${addr enp3s0}
${color3}Down:${color2} ${totaldown enp3s0}${voffset -2}${font Ubuntu:pixelsize=11,weight:bold}${goto 140}${downspeedf enp3s0} k/s${voffset 3}${goto 205}${color4}${downspeedgraph enp3s0 10,80 9dff00 ffff66}
${voffset -3}${color3}${font Sans:size=9}Up:   ${color2} ${totalup enp3s0}${voffset -3}${font Ubuntu:pixelsize=11,weight:bold}${goto 140}${upspeedf enp3s0} k/s${goto 205}${color4}${upspeedgraph enp3s0 10,80 9dff00 ffff66}${endif}
#-- ${goto 5}${color}${font caviar dreams:size=7,weight:normal}Down: ${font caviar dreams:size=7,weight:bold}${downspeedf eth0}
#-- ${goto 5}${color}${font caviar dreams:size=7,weight:normal}Up     : ${font caviar dreams:size=7,weight:bold}${upspeedf eth1}
#-- ${voffset -3}${downspeedgraph eth1 20,120}$alignr${upspeedgraph eth0 20,120}
#-- ${voffset -12}${goto 50}down${goto 220}up,
#-- ${voffset -3}${goto 205}${font caviar dreams:size=12,weight:normal}${color2}graph réseau
# ${if_existing /sys/class/net/wlan0/operstate up}${color}WIFI: ${color3}${hr}IP (wlan0):$alignr${addr wlan0},
# AP: ${color1}${wireless_essid wlan0} ${alignr}${color3}Bitrate: ${color1}${wireless_bitrate wlan0},
# ${color3}Down: ${color1}${downspeed wlan0} k/s ${alignr}${color3}Up: ${color1}${upspeed wlan0} k/s,
# ${downspeedgraph wlan0 10,80 9dff00 ffff66} ${alignr}${upspeedgraph wlan0 10,80 9dff00 ffff66},
# ${color3}Total: ${color1}${totaldown wlan0} ${alignr -15}${color3}Total: ${color1}${totalup wlan0}${endif}
${voffset 3}${font Ubuntu:pixelsize=14}${color2}ToDo : ${color3}${hr}
${voffset 3}${color5}${font LCD:size=10}${exec cat -b ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2}
${font Ubuntu:pixelsize=12}${color2}open ports:   ${font caviar dreams:size=8}${tcp_portmon 1 65535 count}${color3} ${hr}
${goto 3}${font caviar dreams:pixelsize=10,weight:bold}${offset 10}URL${goto 240}PORT
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 0} ${goto 255} ${tcp_portmon 1 65535 rport 0}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 1} ${goto 255} ${tcp_portmon 1 65535 rport 1}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 2} ${goto 255} ${tcp_portmon 1 65535 rport 2}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 3} ${goto 255} ${tcp_portmon 1 65535 rport 3}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 4} ${goto 255} ${tcp_portmon 1 65535 rport 4}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 5} ${goto 255} ${tcp_portmon 1 65535 rport 5}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 6} ${goto 255} ${tcp_portmon 1 65535 rport 6}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 7} ${goto 255} ${tcp_portmon 1 65535 rport 7}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 8} ${goto 255} ${tcp_portmon 1 65535 rport 8}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 9} ${goto 255} ${tcp_portmon 1 65535 rport 9}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 10} ${goto 255} ${tcp_portmon 1 65535 rport 10}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 11} ${goto 255} ${tcp_portmon 1 65535 rport 11}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 12} ${goto 255} ${tcp_portmon 1 65535 rport 12}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 13} ${goto 255} ${tcp_portmon 1 65535 rport 13}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 14} ${goto 255} ${tcp_portmon 1 65535 rport 14}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 15} ${goto 255} ${tcp_portmon 1 65535 rport 15}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 16} ${goto 255} ${tcp_portmon 1 65535 rport 16}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 17} ${goto 255} ${tcp_portmon 1 65535 rport 17}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 18} ${goto 255} ${tcp_portmon 1 65535 rport 18}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 19} ${goto 255} ${tcp_portmon 1 65535 rport 19}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 20} ${goto 255} ${tcp_portmon 1 65535 rport 20}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 21} ${goto 255} ${tcp_portmon 1 65535 rport 21}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 22} ${goto 255} ${tcp_portmon 1 65535 rport 22}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 23} ${goto 255} ${tcp_portmon 1 65535 rport 23}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 24} ${goto 255} ${tcp_portmon 1 65535 rport 24}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 25} ${goto 255} ${tcp_portmon 1 65535 rport 25}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 26} ${goto 255} ${tcp_portmon 1 65535 rport 26}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 27} ${goto 255} ${tcp_portmon 1 65535 rport 27}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 28} ${goto 255} ${tcp_portmon 1 65535 rport 28}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 29} ${goto 255} ${tcp_portmon 1 65535 rport 29}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 30} ${goto 255} ${tcp_portmon 1 65535 rport 30}
#${color}ToDo List: ${color3}${hr}
#${color2}${offset 5}${font Droid sans mono:pixelsize=8}${exec cat ~/.conky/conky-perso/ToDo.txt | fold -s -w 65}${font}
#{exec cat ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2}
#${exec ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2 | fold -s -w 100}
##Utiliser hddtemp dans Conky,
## $sudo dpkg-reconfigure hddtemp,
##À cette question, vous devez répondre oui. Pour les 2 autres (intervalle de mesure et démon hddtemp), laissez les valeurs par défaut, à savoir 0 pour l'intervalle, et non pour le lancement du démon hddtemp.
##Ensuite, testez :,
## $hddtemp /dev/sda,
##Voilà, vous pouvez maintenant afficher la température de votre disque dur en tant que simple utilisateur,
##${execi 10 hddtemp /dev/sda},
##http://www.jeoffrey54.com/article34/utiliser-hddtemp-dans-conky#.U9ELHbtb8W0,
##└─ $cat /proc/cpuinfo ▶  infos cpu,
##,
##,
##,
##${font DS\-Digital:pixelsize=30}hddtemp /dev/sda,
##,
##mails déplacés sur les lignes plus bas, config précédente:
##${voffset 1 }${font Sans:pixelsize=9}${color3}host: ${color2}${font caviar dreams:pixelsize=9}${color}ombre-dv6-pc${offset 20}${font caviar dreams:pixelsize=9,weight:bold}"15.10"
##${font Sans:pixelsize=9}${color3}Mails :
##${color1}${font caviar dreams:pixelsize=10}${offset 50}${voffset -17}ombre 
##${voffset -16 }${font caviar dreams:pixelsize=9}${offset 100}${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic.sh }
##${offset 120}${font caviar dreams:pixelsize=10}${voffset -16}  
##${voffset -16 }${font caviar dreams:pixelsize=9}${offset 210}${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic1.sh }
##${font Sans:pixelsize=9}${color3}Kernel: ${color2}$kernel
##${color3}Uptime:${color2} $uptime
##${color3}Processus: ${color2} $processes${color3}${alignr}En cours: ${color2} $running_processes
## il faut bien sur adapter les noms d'utilisateur et les adressages des dossiers/fichiers, ajuster les paramètres réseaux, qui sont repris dans ce script
## la règle de la partie avant text , c'est la virgule à placer à la fin de chaque ligne, sauf la dernière.
## en respectant le nouveau code d'écriture.
]]

Dernière modification par enebre (Le 28/04/2016, à 10:28)

Hors ligne

#1158 Le 27/04/2016, à 22:59

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Si tu veux adopter ce conky pour ton pc, j'ai quelques scripts qui vont avec, tel que pour gmail et le ToDo un petit memo qui s'affiche dans le conky, c'est un usage assez particulier mais une fois habitué c'est pratique.
Pour le reste tu devras adapter ton interface réseau, tes cpu, humon, wifi, c'est pas la mer à boire tongue

Hors ligne

#1159 Le 27/04/2016, à 23:00

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

je viens de faire un essai avec ton conky j'ai le même problème écran secondaire

je viens de modifier gap_x = 1500 il est passer sur mon écran principale

Dernière modification par ricorde (Le 27/04/2016, à 23:01)


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1160 Le 27/04/2016, à 23:05

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

cqfd, il te faut le nouveau code

Hors ligne

#1161 Le 27/04/2016, à 23:07

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

reviens nous pour poster le résultat de ton adaptation wink

Hors ligne

#1162 Le 27/04/2016, à 23:09

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Ok et merci du temps passer avec moi


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1163 Le 27/04/2016, à 23:11

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

si tu veux voir ce que ça donne en plein écran, sur fond dynamique du passage solaire et des nuages, mis à jour chaque heure pour le soleil et chaque jour pour la météo nuageuse

Dernière modification par enebre (Le 28/04/2016, à 10:26)

Hors ligne

#1164 Le 28/04/2016, à 00:13

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

si j'ai bien compris ton écran est une carte qui te donne la météo en temps réelle ?


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1165 Le 28/04/2016, à 06:34

chepioq

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Désolé du retard, je n'étais pas chez moi.
D'après le résultat de ton conky -v, tu utilises la version 1.10 de conky.
Comme le dit enebre, il faut que tu ré-écrives ton conky en utilisant la nouvelle syntaxe.
C'est un peu long mais pas impossible.

Pour résumer :
conky se présente toujours en deux parties :
-- la première partie se nomme conky.config et est entre accolades
conky.config = {
}

dans cette partie, il faut remplacer yes par true, no par false et chaque ligne se termine par une virgule
les valeurs sont entre quotes simples, sauf true, false et les nombres entier, et sont définies avec le signe =
exemple chez moi :

conky.config = {
double_buffer = true,
background = false ,
use_xft = true,
font = "MgOpen Modata L:size=7:bold",
update_interval = 1,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',

draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = 'white',
alignment = 'top_right',
gap_x = 12,
gap_y = 250,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
text_buffer_size = 4096,

color1 = '00f5ff',
color2 = 'cd5555',
color3 = '11B3F8',
color4 = '0000ff',
color5 = '176e88',
color6 = 'ff4500',
color7 = '00FF00',
color8 = 'FF8000',
color9 = 'FF0000',

}

tu remarquera que dans own_window_hints "undecorate" a été remplacé par "undecorated"

les lignes commentées ne commencent plus par # mais par --

La deuxième partie (TEXT) ne demande pas trop de modifications, juste remplacer TEXT par conky.text = [[ et se fini par ]]
Exemple :

conky.text = [[
${font Waltograph UI:size=12:bold} ${alignc} ${color1}${exec lsb_release -irs} ${exec lsb_release -sc}

${font} ${alignc} ${color2}Kernel : ${color3}${exec uname -r}
${alignc}${color2}Démarrage : ${color3}${exec systemd-analyze time | awk '{print $13}'}
#${alignc}${color2}Système de fichiers ouvert depuis: ${color3}$uptime

${color1}${membar 0,170} ${color3}CPU ${color1}${membar 0,170}
${alignc}${color2}Processeur : ${color3}${exec grep -i -m 1 'Model name' /proc/cpuinfo |sed  's/^.*: //'| sed -e 's/([^()]*)//g' }
${alignc}${color2}Pilote : ${color3}${exec cpupower frequency-info |grep pilote | awk '{print $3}'}
${color2}Fréquence CPU 1 : ${color3}${freq 1} MHz ${goto 200}${color2}Fréquence CPU 2 : ${color3}${freq 2} MHz
${color2}Fréquence CPU 3 : ${color3}${freq 3} MHz ${goto 200}${color2}Fréquence CPU 4 : ${color3}${freq 4} MHz
${color4}${cpugraph cpu1 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu2 20,181 00ff00 ff0004 -t}
${color4}${cpugraph cpu3 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu4 20,181 00ff00 ff0004 -t}
${color2}Utilisation Core 1     :       ${color3}${cpu cpu1}%${goto 200}${color2}Utilisation Core 2     :       ${color3}${cpu cpu2}%
${color2}Utilisation Core 3     :       ${color3}${cpu cpu3}%${goto 200}${color2}Utilisation Core 4     :       ${color3}${cpu cpu4}%
${color2}Température Core 1 :    ${execpi 6 sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky_monitor/colorizeCPU.sh}°C${goto 200}${color2}Température Core 2 :    ${color3}${execpi 6 sensors | awk '/Core 1/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky_monitor/colorizeCPU.sh}°C

${color1}${membar 0,170} ${color3}GPU ${color1}${membar 0,170}
                              ${color2}Carte Graphique    :     ${color3}GeForce GT 525M
                              ${color2}Pilote NVidia         :     ${color3}Nouveau
                              #${color2}Température GPU  :     ${color3}${nvidia temp}°C 

${color1}${membar 0,170} ${color3}DD ${color1}${membar 0,175}
${alignc}${color2} Disque dur : ${color3} Samsung SSD 840 PRO 256 Go
${alignc}${color2}Accès disque
${color2}${goto 70}Lecture : ${color3}${diskio_read} ${color2}${goto 250}Ecriture : ${color3}${diskio_write} 
${diskiograph_read 20,181 00ff00 ff0000 -t} ${diskiograph_write 20,181 00ff00 ff0000 -t}
${color1}${membar 0,170} ${color3}RAM ${color1}${membar 0,170}
${color2}Utilisation RAM ${color5}${alignc}             Totale              Utilisée          Pourcentage
${alignc} ${color3}${goto 120}$memmax${goto 195}$mem${goto 290}$memperc%
${color4}${memgraph 20,364 00ff00 ff0004 -t}
${color1}${membar 0,170} ${color3}SWAP ${color1}${membar 0,162}
${color2}Utilisation Swap :   ${color3} $swap/$swapmax - $swapperc% ${color1} ${swapbar 8,165}

${color1}${membar 0,160} ${color3}RESEAU ${color1}${membar 0,162}
${color5}Reception :${color6} ${downspeedf enp4s0} k/s${goto 200}${color3}Envoi : ${color6}${upspeedf enp4s0} k/s
${color5}Total :       ${color6} ${totaldown enp4s0}${goto 200}${color3}Total :${color6} ${totalup enp4s0}
${color4}${downspeedgraph enp4s0 20,181 00ff00 ff0004 -t} ${color1}${upspeedgraph enp4s0 20,181 00ff00 ff0004 -t}
${color1}${membar 0,130} ${color3}SYSTEME DE FICHIERS ${color1}${membar 0,120}
${color2}Système ${color3} ${fs_used /} / ${fs_size /} : ${goto 160}${color1}${fs_bar 6,208 /}
${color2}Home      ${color3} ${fs_used /home} / ${fs_size /home} : ${goto 160}${color1}${fs_bar 6,208 /home}

${color1}${membar 0,170} ${color3}TOP ${color1}${membar 0,170}
${color2}${alignc}Processus : ${color3}$processes       ${color3}En cours : ${color6}$running_processes

${color5}En cours :       ${alignc}       PID      ${goto 180}CPU%      MEM%
${color6} ${top name 1}  ${alignc}  ${top pid 1}      ${goto 180}${top cpu 1}      ${top mem 1}
${color3} ${top name 2}  ${alignc}  ${top pid 2}      ${goto 180}${top cpu 2}      ${top mem 2}
${color3} ${top name 3}  ${alignc}  ${top pid 3}      ${goto 180}${top cpu 3}      ${top mem 3}
${color5}En mémoire :
${color6} ${top_mem name 1} ${alignc}   ${top_mem pid 1}      ${goto 180}${top_mem cpu 1}      ${top_mem mem 1}
${color3} ${top_mem name 2} ${alignc}   ${top_mem pid 2}      ${goto 180}${top_mem cpu 2}      ${top_mem mem 2}
${color3} ${top_mem name 3} ${alignc}   ${top_mem pid 3}      ${goto 180}${top_mem cpu 3}      ${top_mem mem 3}
]]

Si il y a quelque chose que tu ne comprend pas, dis le nous.

Dernière modification par chepioq (Le 28/04/2016, à 07:08)


Tout est dans tout et réciproquement....

Hors ligne

#1166 Le 28/04/2016, à 10:39

enebre

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

chepioq, si j'en crois ce que je vois la dernière ligne des paramètres avant text peut aussi avoir une virgule, c'est un changement car au début la dernière devait être sans virgule.
Mais tout change, rien n'est éternel.
ricorde, c'est ça ! Une météo en temps réel, il faut quand même un apprentissage, concernant le sens général des mouvements des flux pour s'y retrouver, car il n'y a pas d'annotations, mais ils répondent à des lois qui forment une constante de mouvement, sauf si Big Shift. hmm

Hors ligne

#1167 Le 28/04/2016, à 11:07

chepioq

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

enebre a écrit :

chepioq, si j'en crois ce que je vois la dernière ligne des paramètres avant text peut aussi avoir une virgule, c'est un changement car au début la dernière devait être sans virgule.
Mais tout change, rien n'est éternel.

J'ai des conky avec une dernière virgule et un sans dernière virgule, et ils fonctionnent tous sans soucis.
Comme tu le dis, tous change...


Tout est dans tout et réciproquement....

Hors ligne

#1168 Le 28/04/2016, à 12:25

chepioq

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Un nouveau petit conky, pour compléter mon conky-météo :
1461838734.jpg

Le conky-sat:

# Conky settings #
background no
update_interval 3600
double_buffer yes
no_buffers yes
imlib_cache_size 10

# Window specifications #
alignment top_left
gap_x 330
gap_y 250
minimum_size 300 225
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_hints undecorate,skip_taskbar,skip_pager,below
double_buffer yes
draw_shades no
draw_outline no
draw_borders yes
default_outline_color 000000
draw_graph_borders no

# Text settings #
use_xft yes
xftalpha 0.8
xftfont DejaVuSansMono:size=7
text_buffer_size 256
override_utf8_locale yes
imlib_cache_size 0


TEXT
${exec curl -s "http://www.meteo.be/meteo/view/fr/113200-ajaxcontroller.html/6723348/image.jpg?position=19&extraid=" > ~/.conkyrc/conky-sat/image-sat.jpg}
${image ~/.conkyrc/conky-sat/image-sat.jpg -s 300x225}

Dernière modification par chepioq (Le 28/04/2016, à 16:24)


Tout est dans tout et réciproquement....

Hors ligne

#1169 Le 28/04/2016, à 15:54

UbuntOlivier

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

chepioq a écrit :
enebre a écrit :

chepioq, si j'en crois ce que je vois la dernière ligne des paramètres avant text peut aussi avoir une virgule, c'est un changement car au début la dernière devait être sans virgule.
Mais tout change, rien n'est éternel.

J'ai des conky avec une dernière virgule et un sans dernière virgule, et ils fonctionnent tous sans soucis.
Comme tu le dis, tous change...

Dans le genre petits changements traîtres et bien énervants, il y a aussi le(s) paramètre(s) de la variable templateN qui est maintenant introduit par \\ au lieu de \ :

template0 = "${exec nvidia-settings -tq \\1}", -- \\1 si lua, \1 si old conkyrc

Hors ligne

#1170 Le 28/04/2016, à 19:12

Compte anonymisé

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

did a écrit :

Bonjour,

Voici deux conky que j'utilise :
http://pix.toile-libre.org/upload/thumb/1461344112.png

Je vous les livre clef en main.


1/ TumblerRss : affiche une image à partir du flux rss d'un tumbler de votre choix, ce qui permet d'avoir une image différente chaque jour.

Utilisation :
- Installer imagemagick : sudo apt-get install imagemagick
- Copier le script et le conkyrc dans le dossier ~/.conky/TumblerRss
- Copier le lanceur dans ~/bin/ (créer le répertoire si besoin)
- Lancer le conky avec la commande tumblerrss

- Le conkyrc tumblerrssrc :

# conky configuration

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes
xftfont HandelGotDLig:size=9
xftalpha 0.8

# Print everything to console?
out_to_console no

# Update interval in seconds
update_interval 1.0

# This is the number of times (en 1/2s) Conky will update before quitting.
# Set to zero to run forever.
#total_run_times 7200 #reste affiché pendant 1h
total_run_times 0


# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no
draw_graph_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 0

# border width
border_width 1

# Default colors and also border colors
default_color F8A65C #Orange
default_shade_color black
default_outline_color black

# Minimum size of text area
       # minimum_size width (height)
       #     Minimum size of window
       # maximum_width pixels
       #     Maximum width of window
minimum_size 800 800
#maximum_width 800

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 400
gap_y 0

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

color1 CCCCCC #Gris
color3 FFFFFF #Blanc
color2 ED9549

text_buffer_size 2048
max_specials 2048


##################################################### 
####################################################
    TEXT

${voffset 500}
${execpi 600 ~/.conky/TumblerRss/download_pic.sh}
${image ~/.conky/TumblerRss/LATEST.png -p 0,0}

Rajoute

imlib_cache_size 0

si tu ne veux pas que l'image affichée soit toujours la même.

#1171 Le 28/04/2016, à 19:25

did

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

Bonjour,

C'est à dire ? l'image n'est justement jamais la même, enfin elle change régulièrement, en fonction du flux rss.
Je viens de tester et je ne vois pas de changement, mais il y a quelque chose qui doit m'échapper.

Hors ligne

#1172 Le 28/04/2016, à 21:11

Compte anonymisé

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

did a écrit :

Bonjour,

C'est à dire ? l'image n'est justement jamais la même, enfin elle change régulièrement, en fonction du flux rss.
Je viens de tester et je ne vois pas de changement, mais il y a quelque chose qui doit m'échapper.

Sans ça, LATEST.png ne sera pas affichée sur le bureau, seule celle qui est en cache le sera (la première chargée en tant que LATEST.png).
Enfin c'était le cas chez moi.

#1173 Le 28/04/2016, à 21:24

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

salut enebre
j'ai modifier ton conky néanmoins il y a des poins que je souhaiterais voir avec toi déjà en faisant ces quelles modifies esse fais de erreur ?devant les core il y a C° j'ai aucune température qui s'affiche
Au niveau des core1: 1% apres y a les grah le réctangle esque lon peux au lieux de ça mette genre une courbe style diagramme je sais pas trop comment expliqué
A quoi sert dans le script Mail Faut il ajouter son adresse mail?
Gateway IP est l'adresse local elle s'affiche mais quand je fais ifconfig le dernière chiffre est différent
Pour finir ToDo ces quoi ?
Encore merci pour ton aide et ton partage je poste le scripts si ça te dérange pas de jeté un œil ce serai cool

conky.config = {
background = true,
use_xft = true,
font = 'Sans:pixelsize=12',
xftalpha = 0.5,
update_interval = 10.0,
-- total_run_times = 0,
own_window = true,
-- own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 70,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager,below',
double_buffer = true,
minimum_width = 280,
-- minimum_height = 690,
maximum_width = 280,
text_buffer_size = 512,
draw_shades = false,
-- draw_outline = false,
-- draw_borders = false,
draw_graph_borders = true,
default_color = 'green',
-- default_shade_color = 'black',
-- default_outline_color = 'white',
alignment = 'top_right',
-- short_units
gap_x = 1360,
-- gap_y = 10,
-- no_buffer = true,
-- uppercase = false,
-- cpu_avg_samples = 2,
-- net_avg_sample = 2,
-- override_utf8_locale = true,
color1 = 'white',
color2 = 'white',
color3 = 'red',
color4 = 'green',
color5 = '9dff00',
color6 = 'orange',
color7 = '787878',
-- Lua Load,
-- lua_load ~/.conky/ring.lua,
-- lua_draw_hook_pre clock_rings,
-- ${color3}${font Sans:pixelsize=30}${alignc}${time %H}${time :%M}
}
conky.text = [[
${font caviar dreams:pixelsize=14,weight:bold}${offset 120}Infos Système
${voffset 1}${font Sans:pixelsize=12}${color3}release: ${color2}${font caviar dreams:pixelsize=12}${color4}ubuntu ${font caviar dreams:pixelsize=12}"16.04 "${font Sans:pixelsize=12}${color4}${goto 205}| Mails :
${font Sans:pixelsize=12}${color3}Kernel: ${color4}${kernel | cut -c1-31}${goto 190}${font caviar dreams:pixelsize=12}${color3}|${color5} ricorde${font caviar dreams:pixelsize=12} ${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic.sh }
${color3}Uptime:${color4} $uptime${alignr}${goto 175}${font caviar dreams:pixelsize=12}${color3}|${color5} lyca${font caviar dreams:pixelsize=12} ${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic1.sh } 
${color4}Temp GPU: ${execi 3800 nvidia-smi -a | grep "GPU Current Temp" | cut -d : -f 2}
#-- ${color3}Processus: ${color2} $processes${color3}${alignr}En cours: ${color2} $running_processes
#-- ${color3}System Updates: $color2${execi 3600 apt-get search "~U" | wc -l | tail}
${font Ubuntu:pixelsize=12}${color4}Cpu: ${color3}${hr}${font caviar dreams:pixelsize=12,weight:normal}
Freq : ${color5}${freq_g} GHz  ${color3} ssd:${color5}${execi 10 hddtemp -n /dev/sda} °C${offset 10}${color3}Proc:${color5}$processes${color3}${alignr}Up:${color5}$running_processes#${color2}${execi expr `cat hddtemp /dev/sda °C ${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000} $alignc${color3}CPU: ${color2}${execi 10 hddtemp -n /dev/sda} °C

${color4}Core 1:${color6} ${cpu cpu0}%${goto 90}${color4}${cpubar cpu0 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp0_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp0_input` / 1000}${color2},
${color4}Core 2:${color6} ${cpu cpu1}%${goto 90}${color4}${cpubar cpu1 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000}${color2},
${color4}Core 3:${color6} ${cpu cpu2}%${goto 90}${color4}${cpubar cpu2 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp2_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp2_input` / 1000}${color2},
${color4}Core 4:${color6} ${cpu cpu3}%${goto 90}${color4}${cpubar cpu3 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}${color2},
${color4}Core 5:${color6} ${cpu cpu4}%${goto 90}${color4}${cpubar cpu4 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp4_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp4_input` / 1000}${color2},
${color4}Core 6:${color6} ${cpu cpu5}%${goto 90}${color4}${cpubar cpu5 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp5_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp5_input` / 1000}${color2},
${color4}Core 7:${color6} ${cpu cpu6}%${goto 90}${color4}${cpubar cpu6 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp6_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp6_input` / 1000}${color2},
${color4}Core 8:${color6} ${cpu cpu7}%${goto 90}${color4}${cpubar cpu7 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp7_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp7_input` / 1000}${color2},
${color4}Core 9:${color6} ${cpu cpu8}%${goto 90}${color4}${cpubar cpu8 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp8_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp1_input` / 1000}${color2},
${color4}Core 10:${color6} ${cpu cpu9}%${goto 90}${color4}${cpubar cpu0 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp3_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp8_input` / 1000}${color2},
${color4}Core 11:${color6} ${cpu cpu10}%${goto 90}${color4}${cpubar cpu10 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp10_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/class/hwmon/hwmon0/temp10_input` / 1000}${color2},
${color4}Core 12:${color6} ${cpu cpu11}%${goto 90}${color4}${cpubar cpu11 6,60}${color6}${goto 160}${exec expr `cat /sys/class/hwmon/hwmon0/temp11_input` / 1000}°C${goto 195}${color4}${execbar expr `cat /sys/
class/hwmon/hwmon0/temp11_input` / 1000}${color2},
#-- ${voffset 5}${color3}${cpugraph cpu1 13,120 9dff00 ffff66}$alignr${cpugraph cpu2 13,120 9dff00 ffff66}
#-- ${voffset 2}${color}${font caviar dreams:pixelsize=9,weight:normal}${goto 30}graph cpu 1${goto 190}graph cpu 2
${voffset 4}${font Ubuntu:pixelsize=12}${color4}Mémoire: ${color3}${hr}${font caviar dreams:pixelsize=10,weight:normal}
${goto 10}${color3}Ram:${font caviar dreams:pixelsize=12,weight:normal}${color6} $mem/$memmax ${goto 165}${memperc}%${goto 195}${color4}${membar}${color2}${font caviar dreams:pixelsize=10,weight:normal}
${goto 10}${color3}Swap:${font caviar dreams:pixelsize=12,weight:normal}${color6} ${swap} / ${swapmax} ${goto 165}${swapperc}%${goto 195}${color4}${swapbar}
#-- ${voffset -2}${goto 165}${font caviar dreams:pixelsize=12,weight:normal}${color2}graph mémoire
${voffset -1}${font Ubuntu:pixelsize=12}${color4}Espace Disque:${color3}${hr}${font caviar dreams:pixelsize=12,weight:normal}
${goto 15}/ ${color2}${goto 50}${fs_used /} / ${fs_size /} ${goto 165}${fs_used_perc /}% ${goto 195}${color4}${fs_bar /}\

#-- ${if_existing /media/lyca/Drive-n-go}${voffset 15}${goto 15}${color3}D-n-g ${color2}${goto 50}${fs_used /media/lyca/Drive-n-go} / ${fs_size /media/lyca/Drive-n-go} ${goto 165}${fs_used_perc /media/lyca/Drive-n-go}% ${goto 195}${color4}${fs_bar /media/lyca/Drive-n-go}${endif}\
#-- ${if_existing /media/ombre/data}${voffset 15}${goto 15}${color3}data ${color2}${goto 50}${fs_used /media/ombre/data} / ${fs_size /media/ombre/data} ${goto 165}${fs_used_perc /media/ombre/data}% ${goto 195}${color4}${fs_bar /media/ombre/data}${endif}
#-- ${voffset -3}${goto 165}${font caviar dreams:pixelsize=12,weight:normal}${color2}graph usage disk
${font Ubuntu:pixelsize=12}${color4}${color}Charge: ${color3}${hr}${font caviar dreams:size=10}
Processus$alignr PID   CPU   MEM${color5}
  ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
  ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
  ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
  ${top name 4} $alignr${top pid 4} ${top cpu 4} ${top mem 4}
  ${top name 5} $alignr${top pid 5} ${top cpu 5} ${top mem 5}
  ${top name 6} $alignr${top pid 6} ${top cpu 6} ${top mem 6}
  ${top name 7} $alignr${top pid 7} ${top cpu 7} ${top mem 7}
  ${top name 8} $alignr${top pid 8} ${top cpu 8} ${top mem 8}
  ${top name 9} $alignr${top pid 9} ${top cpu 9} ${top mem 9}
${color3}Mémoire$alignr PID   CPU   MEM${color5}
  ${top_mem name 1} $alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  ${top_mem name 2} $alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  ${top_mem name 3} $alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  ${top_mem name 4} $alignr${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
#-- ${exec tail -n1 -f /var/log/syslog | grep note | cut -d "=" -f2}
#-- ${exec cat tail -n1 -f /var/log/boot.log | cut -d "=" -f2} erreur
# Connections: ${color grey}${tcp_portmon 1 65535 count}
${color3}Active Interface ${alignr}${color4}${goto 180}$gw_iface
Public:${alignc} ${execi 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
Gateway IP ${alignr}$gw_ip
DNS ${alignr}$nameserver
TOR Status ${alignr}${if_running tor} Active${else}Disabled${endif}
Upload speed:${alignr}${upspeed wwan0}kb/s
Download speed:${alignr}${downspeedf wwan0}kb/s
${if_existing /sys/class/net/enp3s0/operstate up}${voffset 3}${font Ubuntu:pixelsize=14}${color2}Réseau: ${font caviar dreams:size=9}${color3}${hr}
enp3s0 : ${color1}${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}${font caviar dreams:size=9}${color3 } local : ${color1}${addr enp3s0}
${color3}Down:${color2} ${totaldown enp3s0}${voffset -2}${font Ubuntu:pixelsize=11,weight:bold}${goto 140}${downspeedf enp3s0} k/s${voffset 3}${goto 205}${color4}${downspeedgraph enp3s0 10,80 9dff00 ffff66}
${voffset -3}${color3}${font Sans:size=9}Up:   ${color2} ${totalup enp3s0}${voffset -3}${font Ubuntu:pixelsize=11,weight:bold}${goto 140}${upspeedf enp3s0} k/s${goto 205}${color4}${upspeedgraph enp3s0 10,80 9dff00 ffff66}${endif}
#-- ${goto 5}${color}${font caviar dreams:size=7,weight:normal}Down: ${font caviar dreams:size=7,weight:bold}${downspeedf eno0}
#-- ${goto 5}${color}${font caviar dreams:size=7,weight:normal}Up     : ${font caviar dreams:size=7,weight:bold}${upspeedf eno1}
#-- ${voffset -3}${downspeedgraph eno1 20,120}$alignr${upspeedgraph eno0 20,120}
#-- ${voffset -12}${goto 50}down${goto 220}up,
#-- ${voffset -3}${goto 205}${font caviar dreams:size=12,weight:normal}${color2}graph réseau
# ${if_existing /sys/class/net/wwan0/operstate up}${color}WIFI: ${color3}${hr}IP (wwan0):$alignr${addr wwan0},
# AP: ${color1}${wireless_essid wwan0} ${alignr}${color3}Bitrate: ${color1}${wireless_bitrate wwan0},
# ${color3}Down: ${color1}${downspeed wwan0} k/s ${alignr}${color3}Up: ${color1}${upspeed wwan0} k/s,
# ${downspeedgraph wwan0 10,80 9dff00 ffff66} ${alignr}${upspeedgraph wwan0 10,80 9dff00 ffff66},
# ${color3}Total: ${color1}${totaldown wwan0} ${alignr -15}${color3}Total: ${color1}${totalup wwan0}${endif}
${downspeedgraph wwan0 25,120 ffc11f 8b4b0b}$alignr${upspeedgraph wwan0 25,120 ffc11f 8b4b0b}
${voffset -28}${goto 50}DOWN${goto 190}UP
${voffset 3}${font Ubuntu:pixelsize=14}${color4}ToDo : ${color3}${hr}
${voffset 3}${color5}${font LCD:size=10}${exec cat -b ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2}
${font Ubuntu:pixelsize=12}${color4}open ports:   ${font caviar dreams:size=8}${tcp_portmon 1 65535 count}${color3} ${hr}
${goto 3}${font caviar dreams:pixelsize=10,weight:bold}${offset 10}URL${goto 240}PORT
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 0} ${goto 255} ${tcp_portmon 1 65535 rport 0}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 1} ${goto 255} ${tcp_portmon 1 65535 rport 1}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 2} ${goto 255} ${tcp_portmon 1 65535 rport 2}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 3} ${goto 255} ${tcp_portmon 1 65535 rport 3}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 4} ${goto 255} ${tcp_portmon 1 65535 rport 4}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 5} ${goto 255} ${tcp_portmon 1 65535 rport 5}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 6} ${goto 255} ${tcp_portmon 1 65535 rport 6}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 7} ${goto 255} ${tcp_portmon 1 65535 rport 7}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 8} ${goto 255} ${tcp_portmon 1 65535 rport 8}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 9} ${goto 255} ${tcp_portmon 1 65535 rport 9}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 10} ${goto 255} ${tcp_portmon 1 65535 rport 10}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 11} ${goto 255} ${tcp_portmon 1 65535 rport 11}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 12} ${goto 255} ${tcp_portmon 1 65535 rport 12}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 13} ${goto 255} ${tcp_portmon 1 65535 rport 13}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 14} ${goto 255} ${tcp_portmon 1 65535 rport 14}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 15} ${goto 255} ${tcp_portmon 1 65535 rport 15}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 16} ${goto 255} ${tcp_portmon 1 65535 rport 16}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 17} ${goto 255} ${tcp_portmon 1 65535 rport 17}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 18} ${goto 255} ${tcp_portmon 1 65535 rport 18}
${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 19} ${goto 255} ${tcp_portmon 1 65535 rport 19}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 20} ${goto 255} ${tcp_portmon 1 65535 rport 20}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 21} ${goto 255} ${tcp_portmon 1 65535 rport 21}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 22} ${goto 255} ${tcp_portmon 1 65535 rport 22}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 23} ${goto 255} ${tcp_portmon 1 65535 rport 23}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 24} ${goto 255} ${tcp_portmon 1 65535 rport 24}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 25} ${goto 255} ${tcp_portmon 1 65535 rport 25}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 26} ${goto 255} ${tcp_portmon 1 65535 rport 26}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 27} ${goto 255} ${tcp_portmon 1 65535 rport 27}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 28} ${goto 255} ${tcp_portmon 1 65535 rport 28}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 29} ${goto 255} ${tcp_portmon 1 65535 rport 29}
##${goto 5}${font caviar dreams:pixelsize=10,weight:normal}${color5}${tcp_portmon 1 65535 rhost 30} ${goto 255} ${tcp_portmon 1 65535 rport 30}
#${color}ToDo List: ${color3}${hr}
#${color2}${offset 5}${font Droid sans mono:pixelsize=8}${exec cat ~/.conky/conky-perso/ToDo.txt | fold -s -w 65}${font}
#{exec cat ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2}
#${exec ~/.conky/conky-perso/ToDo.txt | grep note | cut -d "=" -f2 | fold -s -w 100}
##Utiliser hddtemp dans Conky,
## $sudo dpkg-reconfigure hddtemp,
##À cette question, vous devez répondre oui. Pour les 2 autres (intervalle de mesure et démon hddtemp), laissez les valeurs par défaut, à savoir 0 pour l'intervalle, et non pour le lancement du démon hddtemp.
##Ensuite, testez :,
## $hddtemp /dev/sda,
##Voilà, vous pouvez maintenant afficher la température de votre disque dur en tant que simple utilisateur,
${execi 10 hddtemp /dev/sda},
##http://www.jeoffrey54.com/article34/utiliser-hddtemp-dans-conky#.U9ELHbtb8W0,
##└─ $cat /proc/cpuinfo ▶  infos cpu,
##,
##,
##,
##${font DS\-Digital:pixelsize=30}hddtemp /dev/sda,
##,
##mails déplacés sur les lignes plus bas, config précédente:
##${voffset 1 }${font Sans:pixelsize=9}${color3}host: ${color2}${font caviar dreams:pixelsize=9}${color}ombre-dv6-pc${offset 20}${font caviar dreams:pixelsize=9,weight:bold}"15.10"
##${font Sans:pixelsize=9}${color4}Mails :mistroll7@yahoo.fr
##${color1}${font caviar dreams:pixelsize=10}${offset 50}${voffset -17}ombre 
##${voffset -16 }${font caviar dreams:pixelsize=9}${offset 100}${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic.sh }
##${offset 120}${font caviar dreams:pixelsize=10}${voffset -16} lyca
##${voffset -16 }${font caviar dreams:pixelsize=9}${offset 210}${execpi 300 /home/ombre/.conky/conky-perso/gmail_generic1.sh }
##${font Sans:pixelsize=9}${color3}Kernel: ${color2}$kernel
##${color3}Uptime:${color2} $uptime
##${color3}Processus: ${color2} $processes${color3}${alignr}En cours: ${color2} $running_processes
## il faut bien sur adapter les noms d'utilisateur et les adressages des dossiers/fichiers, ajuster les paramètres réseaux, qui sont repris dans ce script
## la règle de la partie avant text , c'est la virgule à placer à la fin de chaque ligne, sauf la dernière.
## en respectant le nouveau code d'écriture.
]]

Dernière modification par ricorde (Le 28/04/2016, à 23:13)


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1174 Le 28/04/2016, à 22:13

ricorde

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

chepioq a écrit :

Désolé du retard, je n'étais pas chez moi.
D'après le résultat de ton conky -v, tu utilises la version 1.10 de conky.
Comme le dit enebre, il faut que tu ré-écrives ton conky en utilisant la nouvelle syntaxe.
C'est un peu long mais pas impossible.

Pour résumer :
conky se présente toujours en deux parties :
-- la première partie se nomme conky.config et est entre accolades
conky.config = {
}

dans cette partie, il faut remplacer yes par true, no par false et chaque ligne se termine par une virgule
les valeurs sont entre quotes simples, sauf true, false et les nombres entier, et sont définies avec le signe =
exemple chez moi :

conky.config = {
double_buffer = true,
background = false ,
use_xft = true,
font = "MgOpen Modata L:size=7:bold",
update_interval = 1,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',

draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = 'white',
alignment = 'top_right',
gap_x = 12,
gap_y = 250,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
text_buffer_size = 4096,

color1 = '00f5ff',
color2 = 'cd5555',
color3 = '11B3F8',
color4 = '0000ff',
color5 = '176e88',
color6 = 'ff4500',
color7 = '00FF00',
color8 = 'FF8000',
color9 = 'FF0000',

}

tu remarquera que dans own_window_hints "undecorate" a été remplacé par "undecorated"

les lignes commentées ne commencent plus par # mais par --

La deuxième partie (TEXT) ne demande pas trop de modifications, juste remplacer TEXT par conky.text = [[ et se fini par ]]
Exemple :

conky.text = [[
${font Waltograph UI:size=12:bold} ${alignc} ${color1}${exec lsb_release -irs} ${exec lsb_release -sc}

${font} ${alignc} ${color2}Kernel : ${color3}${exec uname -r}
${alignc}${color2}Démarrage : ${color3}${exec systemd-analyze time | awk '{print $13}'}
#${alignc}${color2}Système de fichiers ouvert depuis: ${color3}$uptime

${color1}${membar 0,170} ${color3}CPU ${color1}${membar 0,170}
${alignc}${color2}Processeur : ${color3}${exec grep -i -m 1 'Model name' /proc/cpuinfo |sed  's/^.*: //'| sed -e 's/([^()]*)//g' }
${alignc}${color2}Pilote : ${color3}${exec cpupower frequency-info |grep pilote | awk '{print $3}'}
${color2}Fréquence CPU 1 : ${color3}${freq 1} MHz ${goto 200}${color2}Fréquence CPU 2 : ${color3}${freq 2} MHz
${color2}Fréquence CPU 3 : ${color3}${freq 3} MHz ${goto 200}${color2}Fréquence CPU 4 : ${color3}${freq 4} MHz
${color4}${cpugraph cpu1 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu2 20,181 00ff00 ff0004 -t}
${color4}${cpugraph cpu3 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu4 20,181 00ff00 ff0004 -t}
${color2}Utilisation Core 1     :       ${color3}${cpu cpu1}%${goto 200}${color2}Utilisation Core 2     :       ${color3}${cpu cpu2}%
${color2}Utilisation Core 3     :       ${color3}${cpu cpu3}%${goto 200}${color2}Utilisation Core 4     :       ${color3}${cpu cpu4}%
${color2}Température Core 1 :    ${execpi 6 sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky_monitor/colorizeCPU.sh}°C${goto 200}${color2}Température Core 2 :    ${color3}${execpi 6 sensors | awk '/Core 1/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky_monitor/colorizeCPU.sh}°C

${color1}${membar 0,170} ${color3}GPU ${color1}${membar 0,170}
                              ${color2}Carte Graphique    :     ${color3}GeForce GT 525M
                              ${color2}Pilote NVidia         :     ${color3}Nouveau
                              #${color2}Température GPU  :     ${color3}${nvidia temp}°C 

${color1}${membar 0,170} ${color3}DD ${color1}${membar 0,175}
${alignc}${color2} Disque dur : ${color3} Samsung SSD 840 PRO 256 Go
${alignc}${color2}Accès disque
${color2}${goto 70}Lecture : ${color3}${diskio_read} ${color2}${goto 250}Ecriture : ${color3}${diskio_write} 
${diskiograph_read 20,181 00ff00 ff0000 -t} ${diskiograph_write 20,181 00ff00 ff0000 -t}
${color1}${membar 0,170} ${color3}RAM ${color1}${membar 0,170}
${color2}Utilisation RAM ${color5}${alignc}             Totale              Utilisée          Pourcentage
${alignc} ${color3}${goto 120}$memmax${goto 195}$mem${goto 290}$memperc%
${color4}${memgraph 20,364 00ff00 ff0004 -t}
${color1}${membar 0,170} ${color3}SWAP ${color1}${membar 0,162}
${color2}Utilisation Swap :   ${color3} $swap/$swapmax - $swapperc% ${color1} ${swapbar 8,165}

${color1}${membar 0,160} ${color3}RESEAU ${color1}${membar 0,162}
${color5}Reception :${color6} ${downspeedf enp4s0} k/s${goto 200}${color3}Envoi : ${color6}${upspeedf enp4s0} k/s
${color5}Total :       ${color6} ${totaldown enp4s0}${goto 200}${color3}Total :${color6} ${totalup enp4s0}
${color4}${downspeedgraph enp4s0 20,181 00ff00 ff0004 -t} ${color1}${upspeedgraph enp4s0 20,181 00ff00 ff0004 -t}
${color1}${membar 0,130} ${color3}SYSTEME DE FICHIERS ${color1}${membar 0,120}
${color2}Système ${color3} ${fs_used /} / ${fs_size /} : ${goto 160}${color1}${fs_bar 6,208 /}
${color2}Home      ${color3} ${fs_used /home} / ${fs_size /home} : ${goto 160}${color1}${fs_bar 6,208 /home}

${color1}${membar 0,170} ${color3}TOP ${color1}${membar 0,170}
${color2}${alignc}Processus : ${color3}$processes       ${color3}En cours : ${color6}$running_processes

${color5}En cours :       ${alignc}       PID      ${goto 180}CPU%      MEM%
${color6} ${top name 1}  ${alignc}  ${top pid 1}      ${goto 180}${top cpu 1}      ${top mem 1}
${color3} ${top name 2}  ${alignc}  ${top pid 2}      ${goto 180}${top cpu 2}      ${top mem 2}
${color3} ${top name 3}  ${alignc}  ${top pid 3}      ${goto 180}${top cpu 3}      ${top mem 3}
${color5}En mémoire :
${color6} ${top_mem name 1} ${alignc}   ${top_mem pid 1}      ${goto 180}${top_mem cpu 1}      ${top_mem mem 1}
${color3} ${top_mem name 2} ${alignc}   ${top_mem pid 2}      ${goto 180}${top_mem cpu 2}      ${top_mem mem 2}
${color3} ${top_mem name 3} ${alignc}   ${top_mem pid 3}      ${goto 180}${top_mem cpu 3}      ${top_mem mem 3}
]]

Si il y a quelque chose que tu ne comprend pas, dis le nous.

Merci pour ton explication mais malheureusement je n'ai pas le niveau pour tout réécrire


Processeur : Intel Core i7-3930K 3200.0 MHz Socket R (LGA2011-0)    Carte graphique : GIGABYTE GeForce GTX 680    Carte mére : ASUS SABERTOOTH X79   Memory : Kingston DDR3 SDRAM 666.7 MHz 2 fois 8 Go

Hors ligne

#1175 Le 28/04/2016, à 23:07

did

Re : [5] Conky : Postez vos conkyrc ou certaines parties intéressantes

shamanphenix a écrit :
did a écrit :

Bonjour,

C'est à dire ? l'image n'est justement jamais la même, enfin elle change régulièrement, en fonction du flux rss.
Je viens de tester et je ne vois pas de changement, mais il y a quelque chose qui doit m'échapper.

Sans ça, LATEST.png ne sera pas affichée sur le bureau, seule celle qui est en cache le sera (la première chargée en tant que LATEST.png).
Enfin c'était le cas chez moi.

Ha ? Non, ça marche très bien comme ça chez moi. Lorsqu'une nouvelle image est publiée sur le flux, quand je lance le conky, elle est téléchargée et affichée aussitôt. Jamais remarqué de problème de cache.
Merci quand même !

Hors ligne