660
contributi
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 4: | Riga 4: | ||
#[[Superkaramba_notebook|Versione Notebook]] | #[[Superkaramba_notebook|Versione Notebook]] | ||
}} | }} | ||
{{ Warningbox | Alcune righe riportavano comandi lunghi che per problemi | |||
in fase di stampa ho ridotto mandando a capo. | |||
Prestate attenzione o scaricate a fondo pagina il file .theme corretto }} | |||
==Il nostro primo tema== | ==Il nostro primo tema== | ||
Riga 30: | Riga 34: | ||
text x=119 y=44 sensor=program program="cat /etc/debian_version" | text x=119 y=44 sensor=program program="cat /etc/debian_version" | ||
text x=79 y=58 value="KDE Version:" | text x=79 y=58 value="KDE Version:" | ||
text x=148 y=58 sensor=program program="kde4-config --version | grep KDE | sed -e 's/.*: / | text x=148 y=58 sensor=program program="kde4-config --version | grep KDE | sed -e 's/.*: //' | sed -e 's/(KDE .*)//'" | ||
/' | sed -e 's/(KDE .*)//'" | |||
text x=79 y=72 value="Uptime:" | text x=79 y=72 value="Uptime:" | ||
text x=120 y=72 sensor=uptime format="%dd : %Hh : %Mm" interval=300000 | text x=120 y=72 sensor=uptime format="%dd : %Hh : %Mm" interval=300000 | ||
Riga 83: | Riga 86: | ||
# | # | ||
text x=69 y=21 value="CPU :" | text x=69 y=21 value="CPU :" | ||
text x=108 y=21 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 | text x=108 y=21 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 interval=2000 align=left | ||
text x=121 y=21 value=" °C" | text x=121 y=21 value=" °C" | ||
bar x=145 y=24 path="image/bgs80.png" min=35 max=70 sensor=program program="sensors -u | grep | bar x=145 y=24 path="image/bgs80.png" min=35 max=70 sensor=program program="sensors -u | grep temp1_input | sed -e 's/.*: //'|cut -c 1-2" line=1 interval=2000 | ||
image x=145 y=24 path="image/bg80.png" | image x=145 y=24 path="image/bg80.png" | ||
# | # | ||
text x=69 y=35 value="CPU Fan:" | text x=69 y=35 value="CPU Fan:" | ||
#questa riga restituisce l'output reale della ventola | #questa riga restituisce l'output reale della ventola | ||
#text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 | #text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 interval=1000 align=left | ||
# questa sotto da me modificata restituisce un'output dimezzato, perchè la mia ventola con potenziometro viene riconosciuta | |||
# questa sotto da me modificata restituisce un'output dimezzato, perchè la mia ventola con | |||
potenziometro viene riconosciuta | |||
#al doppio dei giri reali . | #al doppio dei giri reali . | ||
text x=125 y=35 sensor=program program="sensors -c /dev/null | awk '/fan1:/ { | text x=125 y=35 sensor=program program="sensors -c /dev/null | awk '/fan1:/ {print $2/2}'|cut -c 1-4 " line=1 interval=2000 align=left | ||
text x=152 y=35 value=" rpm" | text x=152 y=35 value=" rpm" | ||
# | # | ||
text x=69 y=49 value="Nvidia :" | text x=69 y=49 value="Nvidia :" | ||
text x=108 y=49 sensor=program program="nvidia-settings -q GPUCoreTemp | | text x=108 y=49 sensor=program program="nvidia-settings -q GPUCoreTemp | grep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 interval=2000 align=left | ||
text x=121 y=49 value=" °C" | text x=121 y=49 value=" °C" | ||
bar x=145 y=52 path="image/bgs80.png" min=35 max=70 sensor=program program="nvidia-settings -q GPUCoreTemp | | bar x=145 y=52 path="image/bgs80.png" min=35 max=70 sensor=program program="nvidia-settings -q GPUCoreTemp | grep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 interval=2000 | ||
image x=145 y=52 path="image/bg80.png" | image x=145 y=52 path="image/bg80.png" | ||
# | # | ||
Riga 125: | Riga 120: | ||
# | # | ||
text x=70 y=19 value="Local IP:" | text x=70 y=19 value="Local IP:" | ||
text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | | text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | cut -d ' ' -f1" interval=300000 | ||
# | # | ||
text x=70 y=36 value="External IP:" | text x=70 y=36 value="External IP:" | ||
text x=145 y=36 sensor=program program="rm -rf .jftgwh ; mkdir .jftgwh ; cd .jftgwh ; wget http://checkip. | text x=145 y=36 sensor=program program="rm -rf .jftgwh ; mkdir .jftgwh ; cd .jftgwh ; wget http://checkip.dyndns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .jftgwh" align=left interval=300000 | ||
# Speeds | # Speeds | ||
text x=40 y=57 value="Download:" | text x=40 y=57 value="Download:" | ||
text x=100 y=57 sensor=network device="eth1" format="%in KB/s" interval=2000 decimals=2 color=1,247,1 | text x=100 y=57 sensor=network device="eth1" format="%in KB/s" interval=2000 decimals=2 color=1,247,1 | ||
text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{ | text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $3 $4}'" interval=5000 | ||
# | # | ||
text x=40 y=72 value="Upload:" | text x=40 y=72 value="Upload:" | ||
text x=100 y=72 sensor=network device="eth1" format="%out KB/s" interval=2000 decimals=2 color=240,90,90 | text x=100 y=72 sensor=network device="eth1" format="%out KB/s" interval=2000 decimals=2 color=240,90,90 | ||
text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{ | text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $7 $8}'" interval=5000 | ||
</group></pre> | </group></pre> | ||
Riga 187: | Riga 177: | ||
<group> x=0 y=380 | <group> x=0 y=380 | ||
text x=30 y=70 value="sda:" | text x=30 y=70 value="sda:" | ||
text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 | text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left | ||
# | # | ||
text x=30 y=100 value="sdb:" | text x=30 y=100 value="sdb:" | ||
text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 | text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left | ||
# | # | ||
</group></pre> | </group></pre> |
contributi