Superkaramba desktop: differenze tra le versioni

nessun oggetto della modifica
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 int
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
erval=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 te
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
mp1_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 int
#text x=125 y=35 sensor=program program="sensors -u | grep fan1_input | sed -e 's/.*: //'" line=1 interval=1000 align=left  
erval=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:/ {pri
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  
nt $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 | gr
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  
ep 0.0 | sed -e 's/.*: //'| cut -c 1-2" line=1 int
erval=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 | gre
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
p 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 | cu
text x=145 y=19 sensor=program program="/sbin/ifconfig eth1 | grep 'inet ' | cut -d : -f2 | cut -d ' ' -f1" interval=300000  
t -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.dyn
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  
dns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .jftgwh" al
ign=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 '{pri
text x=160 y=57 color=1,247,1 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $3 $4}'" interval=5000  
nt $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 '{pri
text x=160 y=72 color=240,90,90 sensor=program program="/sbin/ifconfig eth1 | grep 'RX byte' | awk '{print $7 $8}'" interval=5000  
nt $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 int
text x=30 y=80 sensor=program program="hddtemp /dev/sda | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left  
erval=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 int
text x=30 y=110 sensor=program program="hddtemp /dev/sdb | grep °C | sed -e 's/.*: //'" line=1 interval=5000 align=left  
erval=5000 align=left  
#
#
</group></pre>
</group></pre>
660

contributi