Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:niqnutn:config:conky [22/02/2015 21:13] nIQnutn [system.conky] |
utilisateurs:niqnutn:config:conky [28/02/2015 21:33] nIQnutn [system.conky] |
||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | + | Mon conky sur XFCE. | |
- | Conky sur XFCE. | + | |
Lancer plusieurs conky grâce à conky.sh. | Lancer plusieurs conky grâce à conky.sh. | ||
Ligne 16: | Ligne 15: | ||
Il faut exécuter conky.sh au démarrage de la session. | Il faut exécuter conky.sh au démarrage de la session. | ||
+ | |||
+ | |||
+ | * Plus d'infos sur [[doc:systeme:conky|Conky]] | ||
===== conky.sh ===== | ===== conky.sh ===== | ||
Ligne 30: | Ligne 32: | ||
</file> | </file> | ||
+ | |||
+ | ===== conky ===== | ||
+ | |||
+ | |||
+ | <file - /home/user/.conky/system.conky> | ||
+ | ### Conky Display Settings | ||
+ | |||
+ | # Update interval in seconds | ||
+ | update_interval 1.5 | ||
+ | |||
+ | |||
+ | # Create own window instead of using desktop (required in nautilus) | ||
+ | own_window yes | ||
+ | |||
+ | # Use pseudo transparency with own_window? | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | |||
+ | |||
+ | # Use double buffering (reduces flicker-maybe) | ||
+ | double_buffer yes | ||
+ | |||
+ | |||
+ | # If own_window is yes, these window manager hints may be used | ||
+ | own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | ||
+ | |||
+ | # Force UTF8? note that UTF8 support required XFT | ||
+ | override_utf8_locale yes | ||
+ | |||
+ | |||
+ | # Utiliser Xft (polices lissées etc) | ||
+ | use_xft yes | ||
+ | xftalpha .1 | ||
+ | override_utf8_locale yes # force UTF8 | ||
+ | |||
+ | #police a utiliser : use_xft doit être a "yes" | ||
+ | xftfont DejaVu Sans:size=10 | ||
+ | # Tout le texte en majuscule | ||
+ | uppercase no | ||
+ | |||
+ | |||
+ | # écart avec le bord x=gauche ou droit y= haut ou bas | ||
+ | gap_x 15 | ||
+ | gap_y 100 | ||
+ | |||
+ | |||
+ | # positon | ||
+ | alignment top_right | ||
+ | |||
+ | # taille | ||
+ | minimum_size 300 | ||
+ | maximum_width 300 | ||
+ | |||
+ | default_color 1a2738 | ||
+ | default_shade_color white | ||
+ | default_outline_color f42121 | ||
+ | |||
+ | TEXT | ||
+ | ${font DejaVu:style=Bold:size=12}Système${hr} | ||
+ | ${font}# restaure la police par défaut | ||
+ | ${execi 86400 lsb_release -si} : ${execi 86400 lsb_release -sr} ${execi 86400 lsb_release -sc} $alignr $nodename | ||
+ | Noyau : $sysname $kernel $alignr $machine | ||
+ | Mises à jour disponibles : ${execi 1800 aptitude search "~U" | wc -l | tail} | ||
+ | |||
+ | #/sys/class/hwmon/hwmon[n]/device/temp[n]_input ([n] est un chiffre) | ||
+ | ${cpugraph cpu0 30,300 00ff00 ff0000 -t} | ||
+ | ${voffset -32}${font DejaVu:style=Bold} CPU ${cpu}% ${font}$alignr${hwmon 1 temp 1}°C | ||
+ | ${voffset 5}${font DejaVu:size=8}${top name 1} $alignr${offset -30}${top pid 1} $alignr${top cpu 1}% | ||
+ | ${top name 2} $alignr${offset -30}${top pid 2} $alignr${top cpu 2}% | ||
+ | ${top name 3} $alignr${offset -30}${top pid 3} $alignr${top cpu 3}% | ||
+ | |||
+ | ${memgraph 30,300 00ff00 ff0000 -t} | ||
+ | ${voffset -32}${font DejaVu:style=Bold} RAM $memperc% ${font}$alignr$mem / $memmax | ||
+ | ${voffset 5}${font DejaVu:size=8}${top_mem name 1} $alignr${offset -30}${top_mem pid 1} $alignr${top_mem mem 1}% | ||
+ | ${top_mem name 2} $alignr${offset -30}${top_mem pid 2} $alignr${top_mem mem 2}% | ||
+ | ${top_mem name 3} $alignr${offset -30}${top_mem pid 3} $alignr${top_mem mem 3}% | ||
+ | |||
+ | |||
+ | </file> | ||
+ | |||
===== system.conky ===== | ===== system.conky ===== | ||
Ligne 114: | Ligne 196: | ||
===== data.conky ===== | ===== data.conky ===== | ||
+ | |||
+ | |||
+ | {{/file-Rf980707aa6f74b830c18b7496a2a82fa.png}} | ||
<file - /home/user/.conky/data.conky> | <file - /home/user/.conky/data.conky> | ||
### Conky Display Settings | ### Conky Display Settings | ||
Ligne 184: | Ligne 269: | ||
===== network.conky ===== | ===== network.conky ===== | ||
+ | {{/file-R6be83c618dcf238aca05e4338d7c0d4b.png}} | ||
<file - /home/user/.conky/network.conky> | <file - /home/user/.conky/network.conky> | ||
### Conky Display Settings | ### Conky Display Settings |