C'est une bonne idée. Il faudrait juste pouvoir organiser le wiki selon les fonctions recherchées: monitoring, multimédia, météo, calendrier, etc et la mise en forme.
J'ai fait ça de mon coté.
C'est loin d'être parfait et j'ai plusieurs morceaux qui bouffent énormément de ressources.
Il faudrait certainement modifier certains éléments car en fonction de la taille et de la police ça risque de décaler.
#!/bin/bash
sleep 2
conky -c ~/.conky/system.conky &
sleep 5
conky -c ~/.conky/data.conky &
sleep 5
conky -c ~/.conky/network.conky &
sleep 5
conky -c ~/.conky/hubic.conky &
sleep 5
conky -c ~/.conky/sensors.conky &
sleep 5
conky -c ~/.conky/calendar.conky &
sleep 5
conky -c ~/.conky/quodLibet.conky &
sleep 5
conky -c ~/.conky/rhythmbox.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
# 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 25
# positon
alignment top_right
# taille
minimum_size 300
maximum_width 300
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}
Noyau : $sysname $kernel $machine
Mises à jour disponibles : ${if_match "${execi 3600 aptitude search "~U" | wc -l | tail}">="1"}${color #ff0000}${endif}${execi 3600 aptitude search "~U" | wc -l | tail}${color}
#/sys/class/hwmon/hwmon[n]/device/temp[n]_input ([n] est un chiffre)
${cpugraph 30,300 00ff00 ff0000 -t}
${voffset -38}${font DejaVu:style=Bold} CPU ${cpu}% ${font}$alignr${hwmon 1 temp 1}°C / ${hwmon 2 fan 1} RPM
${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 -36}${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}%
### 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
# 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 345
# positon
alignment top_right
# taille
minimum_size 300
maximum_width 300
TEXT
${font DejaVu:style=Bold:size=12}Données ${hr}
${font}# restaure la police par défaut
/dev/sdd $alignr ${hddtemp /dev/sdd}°C
${font}Root $alignr${fs_bar 14,200 /}
${voffset -21}${offset 79}${font DejaVu:size=7}$alignr${fs_used /} / ${fs_size /}
${font}${color}Home $alignr${fs_bar 14,200 /home}
${voffset -21}${offset 79}${font DejaVu:size=7}$alignr${fs_used /home} / ${fs_size /home}
${diskiograph_read /dev/sdd 30,145 FFC5B1 982700 -t}$alignr${diskiograph_write /dev/sdd 30,145 FFC5B1 982700 -t}
${font DejaVu:style=Bold}${voffset -36}${offset 5}Rd${font DejaVu:style=Bold:size=9}$alignr${offset -160}${diskio_read /dev/sdd}
${font DejaVu:style=Bold}${voffset -25}${offset 160}Wr${font DejaVu:style=Bold:size=9}$alignr${offset -4}${diskio_write /dev/sdd}
${font}/dev/sdf $alignr ${hddtemp /dev/sdf}°C
${font}Documents$alignr${fs_bar 14,200 /data/Documents}
${voffset -21}${offset 79}${font DejaVu:size=7}${color}$alignr${fs_used /data/Documents} / ${fs_size /data/Documents}
### 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
# 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 540
# positon
alignment top_right
# taille
minimum_size 300
maximum_width 300
TEXT
${font DejaVu:style=Bold:size=12}Réseau ${hr}
${font DejaVu:size=8}eth0 $alignr ${addr eth0}
wlan0 $alignr ${addr wlan0}
${downspeedgraph eth0 30,145 FFC5B1 982700 -t }$alignr${upspeedgraph eth0 30,145 FFC5B1 982700 -t}
${font DejaVu:style=Bold}${voffset -36}${offset 5}Do${font DejaVu:style=Bold:size=9}$alignr${offset -160}${downspeedf eth0} k/s
${font DejaVu:style=Bold}${voffset -25}${offset 160}Up${font DejaVu:style=Bold:size=9}$alignr${offset -4}${upspeedf eth0} k/s
### 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
# 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 155
# positon
alignment bottom_right
# taille
minimum_size 300
maximum_width 300
TEXT
${font DejaVu:style=Bold:size=12}${color}Monitoring ${hr}
#/sys/class/hwmon/hwmon[n]/device/temp[n]_input ([n] est un chiffre)
${font}${color}# restaure la police par défaut
CPU: $alignr${offset -40}${if_existing /sys/class/hwmon/hwmon2/device/temp1_input}${hwmon 2 fan 1} RPM ${endif}$alignr${hwmon 1 temp 1}°C
GPU: $alignr${offset -40}${exec nvidia-settings -q [fan:0]/GPUCurrentFanSpeedRPM -t} RPM$alignr${nvidia temp}°C
MB: $alignr${offset -40}${hwmon 0 temp 1}°C$alignr${hwmon 0 temp 2}°C
HDD /root: $alignr${offset -40}${fs_used_perc /} %$alignr${execi 900 hddtemp -n /dev/sdd}°C
HDD /home: $alignr${offset -40}${fs_used_perc /home} %$alignr${execi 900 hddtemp -n /dev/sdd}°C# ${hddtemp /dev/sdd}°C
### Conky Display Settings
# Update interval in seconds
update_interval 1.25
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use pseudo transparency with own_window?
own_window_transparent 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 15
# positon
alignment bottom_right
# taille
minimum_size 450
maximum_width 450 135
TEXT
${if_running rhythmbox}${color}${font DejaVu:style=Bold:size=12}Musique${hr}
${font}${color}# restaure la police par défaut
${voffset 5}${offset 125}${if_match ${exec artist=$(rhythmbox-client --print-playing-format "%aa");echo ${#artist}} < 39}${exec rhythmbox-client --print-playing-format "%aa"}${else}${scroll 39 13 ${exec rhythmbox-client --print-playing-format "%aa"}}${endif}
${offset 125}${if_match ${exec album=$(rhythmbox-client --print-playing-format "%at");echo ${#album}} < 39}${exec rhythmbox-client --print-playing-format "%at"}${else}${scroll 39 13 ${exec rhythmbox-client --print-playing-format "%at"}}${endif}
${offset 125}${if_match ${exec number=$(rhythmbox-client --print-playing-format "%tN");title=$(rhythmbox-client --print-playing-format "%tt");titre="$number. $title"; echo ${#titre}} < 39}${exec number=$(rhythmbox-client --print-playing-format "%tN");title=$(rhythmbox-client --print-playing-format "%tt");echo $number". "$title}${else}${scroll 39 13 ${exec number=$(rhythmbox-client --print-playing-format "%tN");title=$(rhythmbox-client --print-playing-format "%tt");echo $number". "$title}}${endif}
${offset 125} - - -
${offset 125}Genre: ${if_match ${exec genre=$(rhythmbox-client --print-playing-format "%ag");echo ${#genre}} < 32}${exec rhythmbox-client --print-playing-format "%at"}${else}${scroll 32 11 ${exec rhythmbox-client --print-playing-format "%at"}}${endif}${image /home/user/.conky/quodLibet_CD.png -p 11,33 -s 100x100}${image /home/user/.conky/quodLibet_box.png -p 2,30 -s 112x105}
${endif}
### Conky Display Settings
# Update interval in seconds
update_interval 1.25
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use pseudo transparency with own_window?
own_window_transparent 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=9
# Tout le texte en majuscule
uppercase no
# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 15
gap_y 15
# positon
alignment bottom_right
# taille
minimum_size 450
maximum_width 450 135
TEXT
${if_running quodlibet}${color}${font DejaVu:style=Bold:size=12}Musique${hr}
${font}${color}# restaure la police par défaut
${voffset 5}${offset 125}${if_match ${exec artist=$(quodlibet --print-playing '<artist>');echo ${#artist}} < 39}${exec quodlibet --print-playing '<artist|<artist>|Unknown Artist>'}${else}${scroll 39 13 ${exec quodlibet --print-playing '<artist>'}}${endif}
${offset 125}${if_match ${exec album=$(quodlibet --print-playing '<album>');echo ${#album}} < 39}${exec quodlibet --print-playing '<album|<album>|Unknown Album>'}${else}${scroll 39 13 ${exec quodlibet --print-playing '<album>'}}${endif}
${offset 125}${if_match ${exec title=$(quodlibet --print-playing '<tracknumber|<tracknumber>|00>. <title>');echo ${#title}} < 39}${exec quodlibet --print-playing '<tracknumber|<tracknumber>. |><title|<title>|Unknown Title>'}${else}${scroll 39 13 ${exec quodlibet --print-playing '<tracknumber|<tracknumber>. |><title>'}}${endif}
${offset 125} - - -
${offset 125}Genre: ${if_match ${exec genre=$(rhythmbox-client --print-playing-format "%ag");echo ${#genre}} < 32}${exec rhythmbox-client --print-playing-format "%ag"}${else}${scroll 32 11 ${exec rhythmbox-client --print-playing-format "%ag"}}${endif}${image /home/quentin/.conky/quodLibet_CD.png -p 11,33 -s 100x100}${image /home/quentin/.conky/quodLibet_box.png -p 2,30 -s 112x105}
${endif}