Posta il tuo .conkyrc & png ""Leggete in 1°Pagina conkyForecast""

Il ritrovo della comunità dove confrontarsi e discutere sulle notizie dal mondo dell'informatica, di Ubuntu e di tutto quello che la riguarda, novità, pettegolezzi e quant'altro.
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Posta il tuo .conkyrc & png ""Leggete in 1°Pagina conkyForecast""

Messaggio da deegan »

---->Installare ConkyForecast  
Ultimo aggiornamento 20 novembre 2011 H.21:56
Per avere il meteo nel conky dovete fare questo procedimento:

Codice: Seleziona tutto

sudo add-apt-repository ppa:conky-companions/ppa
sudo apt-get update && sudo apt-get install conkyforecast
---->Poi dovete inserire i vostri codici, quindi lanciate:

Codice: Seleziona tutto

cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config
gedit ~/.conkyForecast.config
---->Quindi modificate le seguenti stringhe::
#===============================================#
# USER SETTINGS, EDIT BASED ON DOCUMENTED SETUP #
#===============================================#
# config settings for conkyForecast.py
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE = it
XOAP_LICENCE_KEY =
MAXIMUM_DAYS_FORECAST = 4
BASE_XOAP_URL = http://xml.weather.com/weather/local/?cc=*&dayf=5&link=xoap&prod=xoap&key=&unit=m

Per il codice bisogna registrarsi di nuovo presso:
http://portal.theweatherchannel.com/index.aspx

---->Ora aprite il terminale, e lanciate questo comando::

Codice: Seleziona tutto

sudo gedit /usr/share/conkyforecast/conkyForecast.config
E anche li inserite il codice ricevuto, (devono essere uguali)

---->1°Conky  (questo conky utilizza il file moon.template)
Ora dovrete creare VOI un nuovo file di testo, nella VOSTRA home, e rinominarlo .conkyrc (occhio al punto) poi ci incollate dentro questo:
 

Codice: Seleziona tutto

# — SETTINGS — #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
no_buffers yes
text_buffer_size 1920
#imlib_cache_size 0
total_run_times 0
use_spacer none

# — WINDOW — #
#own_window_colour 2b2928
own_window yes
own_window_type override
own_window_transparent yes
#own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# — BORDER — #
#border_inner_margin 1
#border_outer_margin 0

# — SIZE — #
minimum_size 250 
maximum_width 250

# — ALIGNMENT — #
alignment top_right
gap_x 8
gap_y 40

# — GRAPHIC — #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# — TEXT — #
use_xft yes


xftfont ZeKton:size=12:style=bold
xftalpha 0.8
uppercase no
override_utf8_locale yes
default_color 707070
TEXT
${color 707070}
${font Casper Comics Solid:size=20}${alignc}Varese Meteo
${font Paintbrush:size=12}${goto 20}${execi 1800 conkyForecast  --datatype=CT}

${goto 10}${font Conky:size=38}w${font}${font Paintbrush:size=18}${voffset -20}${execi 500 /usr/bin/conkyForecast  --datatype=HT}
${goto 10}${voffset 20}${font Paintbrush:size=8}${execi 500 conkyForecast  --datatype=MP}${font Paintbrush:size=8}

${goto 140}Alba.     ${execi 500 /usr/bin/conkyForecast  --datatype=SR}
${goto 140}Tram.    ${execi 500 /usr/bin/conkyForecast  --datatype=SS}  
${goto 140}Min.     ${execi 1680 conkyForecast  --datatype=LT --startday=1}
${goto 140}Max.     ${execi 1680 conkyForecast  --datatype=HT --startday=1}
${goto 140}Umidità.     ${execi 500 /usr/bin/conkyForecast  --datatype=HM}
${goto 140}Vento.     ${execpi 900 conkyForecast  --datatype=WS}
${goto 10}Visib.     ${execpi 900 conkyForecast  --datatype=VI}
${goto 10}Precipit.     ${execpi 900 conkyForecast  --datatype=PC --startday=0}
${goto 10}Uv.     ${execpi 900 conkyForecast --datatype=UI} - ${execpi 900 conkyForecast  --datatype=UT}
${goto 10}Feels like.   ${execi 600 conkyForecast --imperial --datatype=LT --centeredwidth=4 -iu}
${goto 10}${execpi 900 conkyForecast  --datatype=CN}    ${color}${execpi 900 conkyForecast  --datatype=CO}
${execpi 1800 conkyForecast  --template=/home/deegan/moon.template}$font
${voffset -160}${font Paintbrush:size=8}


${goto 10}Domani. ${execi 1800 conkyForecast  --datatype=DW --startday=1 --shortweekday}. ${execi 500 /usr/bin/conkyForecast  --startday=1 --datatype=HT}

${goto 10}${execi 600 conkyForecast  --startday=1 --datatype=CT}

Se noterete bene all'interno c'è questa stringa:

Codice: Seleziona tutto

${execpi 1800 conkyForecast --template=/home/deegan/moon.template}
---->Ricordate di modificare il nome utente, e il percorso dove avete messo il file moon.template
Quindi, se il moon.template lo create nella vostra home, la vostra stringa sarà così::
${execpi 1800 conkyForecast --template=/home/VOSTRO NOME/moon.template}
Questa stringa serve per andare a richiamare il prossimo file che creeremo::

---->Nella vostra home create un file di testo, e rinominatelo moon.template


E al suo interno incollateci quello che vi interessa, per esempio questo:

Codice: Seleziona tutto

${font Paintbrush:size=10}
${image [--datatype=WI] -p 120,60 -s 100x100}
${image [--datatype=MI] -p 10,180 -s 75x75}
${voffset -113}${goto 140}${font ConkyWindNESW:style=Bold:size=47}${execi 600 conkyForecast --datatype=BS}
${image [--datatype=WI --startday=1] -p 140,355 -s 55x55}
Una volta fatto, aprite il terminale e digitate

Codice: Seleziona tutto

conky
e date INVIO,e vi uscirà una cosa del genere:
PS::*
Per avere i miei stessi font dovete scaricarli, altrimenti mettetene uno dei vostri.
Qui trovate il font, Conky
Immagine

---->Setup dei conky all'avvio
Ora creiamo uno script per far partire il conky all'avvio. Quindi crea un file nella tua home chiamato "conkystart.sh" ed incollaci il seguente codice:

Codice: Seleziona tutto

#!/bin/sh
sleep 10s
conky
exit
Lo script deve essere reso eseguibile, quindi apri un terminale e digita:

Codice: Seleziona tutto

chmod +x conkystart.sh
Questo script lo dovrai far partire all'avvio, quindi vai in Sistema->Preferenze->Applicazioni d'avvio->bottone "Aggiungi"->a questo punto:

* * * Nome: Conkystart
  * * Comando: ./conkystart.sh
     * Commento: script per far partire i conky all'avvio.

Fatto questo prova a riavviare e vedere se il conky parte all'avvio!

---->Killare un solo conky
Se sul desk avete più conky attivi, e volete killarne solo uno, ES: .conkyrc2
Date in un terminale::

Codice: Seleziona tutto

kill $(ps -C 'conky' -o pid,cmd | awk '/.conkyrc2/ {print $1}')
***Coloriamo il nostro conky***  
Immagine  Immagine

${goto}, ${offset} & ${voffset}

ImmagineImmagine

ImmagineImmagine

Immagine Immagine

---->Qui ho raccolto un paio di codici che potete inserire nel vostro conky.    
Modificateli se necessario in base al vostro pc.

Codice: Seleziona tutto

Raccolta di Stringhe da inserire nel vostro CONKY.
 ##-===========##-

${pre_exec whoami}  @  $nodename
$sysname
${pre_exec cat /etc/issue.net}
$machine
Kernel. $kernel
 ##-===========

Gnome Desktop. ${pre_exec gnome-about --gnome-version | head -n 1 | awk '{print $2}'}
Conky. ${conky_version} Hardcore!!   ${conky_build_arch}
 ##-===========

${execpi 60 DJS=`date +%_d`; cal | sed '/./!d' | sed '1d'  | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color red}'"$DJS"'${color 707070}'" "/}
 ##-===========

${image /home/大枝西長町/loghi/ubuntu-logo2.png -p 85,50 -s 100x100}
 ##-===========

Cestino. ${execi 60 du -sh ~/.local/share/Trash/files/ | awk '{print $1}' | sed '/^4.0K/ d'  | sed 's/$/  /'}
 ##-===========

${execpi 3600 w3m -dump 'http://weather.yahoo.com/italy/lombardy/-12844698/'|grep -A10 'How to Read This'|tr -s '\n*' ' #'|sed -e 's/ //' -e 's/  /\n/g'|head -4|fold -sw 55|sed 's/^[^:]*:/&/'}
 ##-===========

Xorg. ${execi 8 cat /var/log/Xorg.0.log | grep "X.Org X Server " | tail -c+16}
Cpu fan speed. ${hwmon fan 1} RPM
Cpu fan speed. ${hwmon fan 2} RPM
CpT. ${hwmon temp 1}°C
ACPI temp. ${acpitemp}°C
${execi 8 aticonfig --odgt | grep 'Sensor' | cut -c43-47 | sed '/^$/d'}°C
HD Temp. ${hddtemp /dev/sda}°
Mobo. ${execi 20 sensors | grep "MB Temperature" | cut -d "+" -f2 | cut -c1-7 }
${if_mounted /media/ArchLinux} ArchLinux.  ${fs_used_perc /media/ArchLinux}%$endif
Sda. ${diskio_read /dev/sda} ${diskiograph 13,80 A9A9A9 707070 -t -l}
Sda. ${diskio_write /dev/sda}
Desktop. ${desktop_number}
Uptime. ${uptime}
UpTime. ${uptime_short}  ${loadavg}
Cache. $cached - $buffers 
Run. $running_processes
Proc. $processes
SWAP usage. $swapperc%
Mem. $mem / $memperc% - $memmax - ${top_mem name 1} - ${top_mem mem_res 1} - ${membar 8,60}
Cpugraph. ${cpugraph cpu0 12,40} OPPURE  ${cpugraph cccccc ffffff}
${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
Freq:$color ${execi 20 sensors |grep "Core0 Temp" | cut -d" " -f4}
Batteria. ${battery_percent BAT1}% ${alignr}${battery_bar 10,60 BAT1}  --Controllate che la vostra batteria sia BAT1/OPPURE BAT0 (BATzero)
Carica/Scarica: ${acpiacadapter} -- ${battery_time BAT1}

-- Highest CPU $alignr CPU% MEM%
${hr 1}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

-- Highest MEM $alignr CPU% MEM%
${hr 1}
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

--Filesystem
${hr 1}
Root. ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Home. ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
Sdb1. ${fs_used_perc /media/sdb1}%  ${fs_bar 8,35 /media/sdb1}

 ##-=========== Qui la la temperatura della Cpu cambia colore con l'aumentare della temperatura.
CPU  ${if_match ${cpu cpu0}<=10}${color A9A9A9}${cpu cpu0}%${endif}${if_match ${cpu cpu0}>=11}${if_match ${cpu cpu0}<=20}${color d4fffc} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=21}${if_match ${cpu cpu0}<=30}${color 72f0ff} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=31}${if_match ${cpu cpu0}<=40}${color 78ffda} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=41}${if_match ${cpu cpu0}<=50}${color 6cff92} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=51}${if_match ${cpu cpu0}<=60}${color d6f681} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=61}${if_match ${cpu cpu0}<=70}${color feff90} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=71}${if_match ${cpu cpu0}<=80}${color ffdd3c} ${cpu cpu0}%${endif}${endif}${if_match ${cpu cpu0}>=81}${if_match ${cpu cpu0}<=89}${color e58f20} ${cpu cpu0}%${endif}${endif} ${if_match ${cpu cpu0}>=90}${color d51717}${cpu cpu0}%${endif} 

 ##-===========
Schermo.
${alignc}${pre_exec xrandr | grep '*' | sed -e 's/*+//' -e 's/^\s*//g' -e 's/\s*$//g' -e 's/\s\s*/, /g' -e 's/\,\ \([0-9]*\)\.[0-9]/ px, \1 Hz/'}
${freq_g 1}+${freq_g 2} GHz @

 ##-===========
Net.  ${execpi 2 iwconfig wlan0 | line 1 | cut -c32-45}
Qualità. ${execpi 2 cat /sys/class/net/wlan0/wireless/link}%
Gateway. ${gw_ip}
Mode. ${wireless_mode wlan0}
Bitrate.  ${wireless_bitrate wlan0}
Private IP. ${addr wlan0}
Public IP. ${execi 10 wget -O - -q icanhazip.com}
Ip.  ${execi 3600 wget -O - http://whatismyip.org/ | tail}
Down. ${downspeed wlan0}kb/s ${downspeedgraph wlan0 13,70 ecedee 495056 -t}
Up. ${upspeed wlan0}kb/s ${upspeedgraph wlan0 13,70 ecedee 495056 -t}
Total Up. ${totalup eth0}
Total Down. ${totaldown eth0}

 ##-===========
Notifica Facebook.
${rss http://www.facebook.com/feeds/notifications.php?id=1519528109&viewer=1519528109&key=AQCPERugcVkxewyu&format=rss20 1 item_titles 10 }
 ##-===========

Time.${time %H.%M}
Date. ${time %d %b .%a}
${if_running qbittorrent}${alignc}Qbittorrent $endif
${if_running qbittorrent}${alignc}Sto' scaricando... $endif
${if_running qbittorrent}  Up.  ${upspeed eth0} Kb/s $endif
${if_running qbittorrent}  Down. ${downspeed eth0} Kb/s $endif
-----
${if_running amule}Amule $endif
${if_running amule}Sto' scaricando... $endif
${if_running amule}Up.  ${upspeed wlan0} Kb/s $endif
${if_running amule}Down. ${downspeed wlan0} Kb/s $endif
-----
${if_running amsn}Amsn $endif
${if_running amsn}Sto' scaricando... $endif
${if_running amsn}Up.  ${upspeed wlan0} Kb/s $endif
${if_running amsn}Down. ${downspeed wlan0} Kb/s $endif
 ##-===========

--Cambio USD/EUR/GBP
-${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=100&from=USD&to=EUR"|grep "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'}${alignr}${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=100&from=GBP&to=EUR"|grep "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'}
-${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=100&from=EUR&to=USD"|grep "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'}${alignr}${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=100&from=EUR&to=GBP"|grep "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'}
 ##-===========

Alba. ${execi 500 /usr/bin/conkyForecast --location=ITXX0082 --datatype=SR}
Tramonto. ${execi 500 /usr/bin/conkyForecast --location=ITXX0082 --datatype=SS}
Min. ${execi 1680 conkyForecast --location=ITXX0082 --datatype=LT --startday=1}
Max. ${execi 1680 conkyForecast --location=ITXX0082 --datatype=HT --startday=1}
Humidità. ${execi 500 /usr/bin/conkyForecast --location=ITXX0082 --datatype=HM}
Temp. ${execi 500 /usr/bin/conkyForecast --location=ITXX0082 --datatype=HT}
Vento.${execpi 900 conkyForecast --location=ITXX0082 --datatype=WS}
Barom. ${execpi 900 conkyForecast --location=ITXX0082 --datatype=BD}
Visib. ${execpi 900 conkyForecast --location=ITXX0082 --datatype=VI}
Precipit. ${execpi 900 conkyForecast --location=ITXX0082 --datatype=PC --startday=0}
Città. ${execpi 900 conkyForecast --location=ITXX0082 --datatype=CN} -- ${execpi 900 conkyForecast --location=ITXX0082 --datatype=CO}   
Luna. ${execi 500 conkyForecast --location=ITXX0082 --datatype=MP}
Updated. ${execpi 120 conkyForecast --location=ITXX0082 --datatype=LU}
Fetched. ${execpi 120 conkyForecast --location=ITXX0082 --datatype=LF}
Lat. ${execi 30 conkyLatLong | grep 'N' | awk '{print $1}'}
Long. ${execi 30 conkyLatLong | grep 'W' | awk '{print $3}'}
Lat - Long. ${exec python ~/.scripts/conkyLatLong.py} (Qui recuperate il file=conkyLatLong.py)
 ##-===========

${image [--datatype=WI --startday=1] -p 80,950 -s 70x70}${image [--datatype=WI --startday=2] -p 180,950 -s 70x70}${image [--datatype=WI --startday=3] -p 280,950 -s 70x70}
${voffset 40}${goto 80}${font Paintbrush:size=12}[--datatype=DW --shortweekday --startday=1]: [--datatype=HT --startday=1]${goto 180}[--datatype=DW --shortweekday --startday=2]: [--datatype=HT --startday=2]${goto 280}[--datatype=DW --shortweekday --startday=3]: [--datatype=HT --startday=3]
 ##-===========

Aggiornamenti. ${execi 1200 ~/.scripts/updates.sh}
Update. ${execi 10800 aptitude search "~U" | wc -l | tail}
 ##-===========

Master volume: ${mixer}
 ##-===========

Internet Information
-- Netstat.. 
${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}
${execi 5 netstat -ept | grep ESTAB | awk '{print $1 " " $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}

-- Apps del collegamento Internet.. 
${execi 2 netstat -lantp | grep -i establ | awk -F/ '{print $2}' | sort | uniq| sed '/^$/d' }

-- Connessioni stabilite.. 
${execi 2 netstat -pant 2> /dev/null | grep ESTA | awk '{print $5;}' | cut -d: -f1 | sort | uniq -c | sort -n | tail -6 | sed 's/^[ \t]*//'}

-- Collegamenti di rete attivi.. 
${execi 2 netstat -ant | awk '{print $NF}' | grep -v '[a-z]' | sort | uniq -c | sed 's/^[ \t]*//'}
 ##-===========

${execi 3600 espeak -ven-it "ciao deegan"}
 ##-===========

${execi 60 python ~/.scripts/conkyEmail.py --servertype=POP3   --servername=imapmail.libero.it --username=metalXXXXXX  --password=XXXXXX}
 ##-===========

${if_running rhythmbox}
${font Impact:size=11}${alignc}Rhythmbox ${font Paintbrush:size=10}
${font DejaVu Sans:size=16}♫${font}  ${font Astron Boy Video:style=Bold:pixelsize=12}Artist ~ ${offset 25}${exec rhythmbox-client --no-start --print-playing-format "%ta"}
${offset 10}Track.  ~ ${exec rhythmbox-client --no-start --print-playing-format "%tt"}
${offset 30}${font Astron Boy Video:style=Bold:pixelsize=12}Album.  ~ ${exec rhythmbox-client --no-start --print-playing-format "%at"}${alignr}${exec rhythmbox-client --no-start --print-playing-format "%te"}
${execibar 1 conkyRhythmbox --datatype=PP}
${else}
${alignc}Rhythmbox Closed 
$endif
 ##-===========

OPPURE
${if_running rhythmbox}$alignc ${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing|cut -b -99}
${endif}
 ##-===========

${if_running banshee-1}Album.    ~~  ${exec conkyBanshee --datatype=AR} $color1   $alignr ${execi 8 banshee-1 --query-position | cut -f2- -d" "} . ${execi 8 banshee-1 --query-duration | cut -f2- -d" "}
${exec cp "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" /home/USER/.album}${image /home/USER/.album -p 210,1 -s 79x74}
${voffset 1}${execibar 2 conkyBanshee --datatype=PP}
${goto 25}${exec conkyBanshee --datatype=TI | cut -c -27}${alignr 25}${color1}${exec conkyBanshee --datatype=PT}$color1$font ${else}Banshee Out

 ##-===========

${if_mpd_playing}$mpd_artist $alignr MPD
$mpd_title  $alignr $mpd_elapsed -- $mpd_length $endif MPD OUT
 ##-===========
↓↓↓↓
Ultima modifica di deegan il sabato 10 dicembre 2011, 1:09, modificato 1 volta in totale.
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Sekhemty
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 315
Iscrizione: mercoledì 7 gennaio 2009, 0:19

Re: Posta il tuo conkyrc & .png

Messaggio da Sekhemty »

Iniziativa molto carina!

Appena mi sarà venuta la voglia di sbattermi un pò per capire come si configura conky, posterò qualcosa anche io!

Nel frattempo aspetto di vedere gli altri!
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

Nessuno che è appassionato di conky?? :(
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
maxfact
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3208
Iscrizione: domenica 28 gennaio 2007, 20:12

Re: Posta il tuo conkyrc & .png

Messaggio da maxfact »

ora sarà la volta buona che imparo ad usare conky  ;D
prendendo spunto dai vostri

Partecipate gente, partecipate  (good)
Massimiliano Ubuntu user # 16155
Potrete ingannare tutti per un po'. Potrete ingannare qualcuno per sempre.
Ma non potrete ingannare tutti per sempre [Abramo Lincoln]
Avatar utente
DjNeophyte
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2328
Iscrizione: venerdì 12 dicembre 2008, 10:48
Località: Ponte Nelle Alpi ( BL )

Re: Posta il tuo conkyrc & .png

Messaggio da DjNeophyte »

maxfact ha scritto: ora sarà la volta buona che imparo ad usare conky  ;D
prendendo spunto dai vostri

Partecipate gente, partecipate  (good)
Quotissimo in ogni punto e' un topic che mancava!!!!
Avatar utente
DjNeophyte
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2328
Iscrizione: venerdì 12 dicembre 2008, 10:48
Località: Ponte Nelle Alpi ( BL )

Re: Posta il tuo conkyrc & .png

Messaggio da DjNeophyte »

Avatar utente
rent0n
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 461
Iscrizione: lunedì 21 luglio 2008, 22:59
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da rent0n »

rent0n@deviantART | rent0n@identi.ca | Linux Registered User #337812
aspire: Acer Aspire 5920 ArchLinux x86_64 | beetle: Gericom Beetle G733 ArchLinux i686
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

@rent0n
Posta anche il file.conkyrc
Puo' essere utile a tutti..... ;)
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
rent0n
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 461
Iscrizione: lunedì 21 luglio 2008, 22:59
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da rent0n »

Il .conkyrc lo scarichi cliccando sui link, pensavo fosse chiaro!  ;)
rent0n@deviantART | rent0n@identi.ca | Linux Registered User #337812
aspire: Acer Aspire 5920 ArchLinux x86_64 | beetle: Gericom Beetle G733 ArchLinux i686
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

non ci ho fatto caso!!! >:( >:(
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
ronin117
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 862
Iscrizione: domenica 15 aprile 2007, 13:59
Desktop: Unity
Distribuzione: Ubuntu 12.04 64 bit
Località: Villafranca di Verona
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da ronin117 »

ciao a tutti
il mio conkyrc

Codice: Seleziona tutto

 background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont monospace-8
xftfont ZeKton  -10:style=bold

# Text alpha when using Xft
xftalpha 0.8


# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

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

# Minimum size of text area
minimum_size 5 5
maximum_width 280

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 0

# drawn 1 pixel border around graphs or not
draw_graph_borders yes

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white

# Text alignment, other possible values are commented
alignment top_right

# Gap between borders of screen and text

gap_x 15
gap_y 40 #margines gorny

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

# Subtract file system buffers from used memory?
no_buffers yes

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

color1 FFD500 #giallo
color2 FF4500#arancione
color3 D9D9D9 #grigio


TEXT
            ${color}${font Zekton:size=11:style=bold}${time %A %d %B %Y, %H:%M}

${color2}${font Zekton:size=10:style=bold}Sistema${font}
${color}$sysname${color1}$kernel ${color}su ${color1}Ubuntu 9.04 JJ
${color}Hostname: ${color1}${nodename}${color} uptime ${color1}$uptime${color}

${color2}${font Zekton:size=10:style=bold} CPU AMD Athlon 6000+ 3Ghz 1024 kb L2 ${font}${color}
${color1}CPU 1 :$color ${cpu cpu1}%$alignr ${color1}CPU 2 :$color ${cpu cpu2}%
$color3${cpubar cpu1 5,138}$alignr${cpubar cpu2 5,138}
$color3${cpugraph cpu1 32,138 040404 FF8508}$alignr${cpugraph cpu2 32,138 040404 FF8508}

${color2}${font Zekton:size=10:style=bold}Memoria${font}
${color1}Ram${color} ${alignr}$mem / ${memmax} ($memperc%)
${color3}${membar 5,280}$color
${color1}swap${color} ${alignr}$swap / ${swapmax} ($swapperc%)
${color3}${swapbar 5}$color

${color2}${font Zekton:size=10:style=bold}Hard Disk Western Digital 500 Gb${font}
${color1}/ ${color}${alignr}${fs_used /}/ ${fs_size /}
${color3}${fs_bar 5 /}
${color1}/home ${color}${alignr}${fs_used /home}/ ${fs_size /home}
${color3}${fs_bar 5 /home}
${if_mounted /media/windows}${color1}/media/windows ${color}${alignr}${fs_used /media/windows}/ ${fs_size /media/windows}
${color3}${fs_bar 5 /media/windows}
$endif

${color2}${font Zekton:size=10:style=bold} Network${font}${color}
${color1}Up:$color ${upspeed eth0} Kb/s$alignr ${color1}Down :$color ${downspeed eth0} Kb/s
$color3${upspeedgraph eth0 32,138 040404 FF8508}$alignr${downspeedgraph eth0 32,138 040404 FF8508}

${color2}${font Zekton:size=10:style=bold} Sensori Hardware${font}${color}
${color1}CPU Temp:${color #CCCCCC}${exec sensors | grep 'M/B Temp' | cut -c14-21}  
${color1}GPU Temp:${color #CCCCCC} ${execi 30 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}' | sed 's/\.//'}°C
${color1}M/B Temp: ${color #CCCCCC}${exec sensors | grep 'M/B Temp' | cut -c14-21}
${color1}CPU Fan: ${color #CCCCCC}${exec sensors | grep 'fan1' | cut -c13-21}   ${color1}Case Fan:${color #CCCCCC}${exec sensors | grep 'fan2' | cut -c13-21}

${color2}${font Zekton:size=10:style=bold} Musica in ascolto${font}${color}
${if_running rhythmbox}${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing|cut -b -99}${endif}
Allegati
schermata.png
Ultima modifica di ronin117 il domenica 24 maggio 2009, 20:44, modificato 1 volta in totale.
Desktop: cpu AMD 6000+ 3 Ghz,Ram 4gb ddr2 800Mhz, vga Nvidia Geforce 8600 gt, hdd WD 500 gb, OS Ubuntu 12.04 32 bit -OpenSuse12.1 32 bit - Fedora 16 32 bit
Notebook: Toshiba L500 Cpu Intel T4400 2.2 Ghz,  Ram 4 Gb 800Mhz ddr3, Vga Intel X4500, hdd Fujitsu Siemens 500 gb, OS Ubuntu 12.04 64 bit - Windows 7 64 bit - OPenSuse 12.1 64 bit -Fedora 17 64 bit
Ronin117 Blog
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

Mi piacerebbe visualizzare le varie partizioni con le loro percentuali!!! :-\

ES: /dev/sda1 45%

E' possibile?............ :-\
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
Sgnablo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 472
Iscrizione: sabato 24 novembre 2007, 12:30
Località: Sardegna

Re: Posta il tuo conkyrc & .png

Messaggio da Sgnablo »

se usi

Codice: Seleziona tutto

${fs_free_perc /percorso/}
  funziona?

comunque bel topic! posto il mio conky orizzontale:

Codice: Seleziona tutto

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

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Wanda:size=11

# Text alpha when using Xft
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 Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override (override scavalca anche i pannelli di gnome)
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 35 5

#maximum width of text area
maximum_width 1130

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline yes

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color FFFFFF
default_shade_color FFFFFF
default_outline_color 900000

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

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

# 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 2

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

# 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 right

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# mail spool
#mail_spool $MAIL

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
 ${voffset 5}${font Wanda:bold:size=14}Time ${font MorrisRoman:bold:size=18}${color #EEC22C}${time %H}:${time %M}${voffset -5}$color${tab 65}${font Conky:size=16}a${font Wanda:size=12}Kernel${tab 78}${font Conky:size=14}b${font Wanda:size=12}Startup ${tab 20}Carica ${tab 20}Capacità ${tab 20}${font Conky:size=14}c${font Wanda:size=12}CPU 1 ${tab 10}${font Conky:size=14}c${font Wanda:size=12}CPU 2 ${tab 20} RAM usata    ${tab 5}${color #EEC22C}CPU$color      GPU      HDD          ${voffset -5}${font Conky:size=16}g${font Wanda:size=12} WIFI${tab 162}${voffset -1}${color #EEC22C}${font Conky:size=14}<${font Wanda:size=12} DL ${tab 133}${voffset -1}${font Conky:size=14}>${font Wanda:size=12} UL $color
 ${font MorrisRoman:bold:size=16}${time %a} ${time %d} ${time %b} ${tab 5} ${font Wanda:size=12}$color     ${tab 12}${exec uname -r | cut -c 01-09;} ${tab 60}$uptime_short${tab 45}${voffset -5}${font Conky:size=17}${execi 30 sh ~/script/batt.sh;}${font Wanda:size=12} ${battery_percent BAT1}%${tab 5}${tab 14} ${execi 3600 sh ~/script/battperc.sh;}${tab 92} ${cpu cpu1}${tab 2}%${tab 59}${cpu cpu2}${tab 2} %${tab 5}${tab 5}${tab 10}$mem ${tab 5}${color #EEC22C}${tab 29}${acpitemp}°$color ${tab 17}${execi 30 nvidia-settings -q GPUCoreTemp -t } ° ${tab 29}${font Conky:size=14}${execi 120 sh ~/script/temp.sh;}${font Wanda:size=12} ${execi 120 nc localhost 7634 | cut -c33-34 ;} ° ${tab 10}${color #FF7373}${wireless_essid wlan0} ${tab 5}${wireless_link_qual_perc wlan0}%$color ${alignr 35}${color #EEC22C}${downspeed wlan0}KB/s ${downspeedgraph wlan0 10,20 FCAF3E C90022}${alignr 2}${upspeed wlan0}KB/s ${upspeedgraph wlan0 10,20 FCAF3E C90022}
 
Immagine

;D

ps: mi sono dimenticato che uso un paio di script per aggiornare le icone di temperatura e di batteria e per visualizzare la capacità della batteria stessa.. devo postarli?
--Ubuntu user # 26319--
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

Così puo' andare? :-\

${fs_free_dev /sda2/}
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
Syco
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 662
Iscrizione: lunedì 18 settembre 2006, 19:40
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da Syco »

comincio con questo, appena posso posto pure quello su un altro pc. bella iniziativa cmq  (yes)

Codice: Seleziona tutto

background yes
use_xft yes
xftfont sans:size=8
default_color white
xftalpha 1
update_interval 3
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color black
alignment top_left
gap_x 1080
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 1
net_avg_samples 2
override_utf8_locale yes
use_spacer none
out_to_console no

TEXT
${voffset -10}${font arial black:size=35}${time %H:%M}${voffset -30}
${font arial black:size=30}${time %e}${font arial black:size=10}   ${voffset -17}${time %A}
${voffset -2}${goto 70}${font}UP: $uptime${voffset 5}
${font LucidaConsole:size=8.5}${texeci 600 cal}
${voffset -95}${goto 160}${color #80a0ff}${font Syco:size=75}T$font${voffset -2}
${font Webdings:size=30}!$font$color${voffset -34}
${goto 47}$sysname  on  $machine${voffset -1}
${goto 47}Kernel $kernel${voffset -1}
${goto 47}${pre_exec whoami}  @  $nodename${voffset 5}
${goto 11}${color #ccff00}${font StyleBats:size=17}Q$font$color${voffset -6}${goto 40}${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}:  ${freq}MHz${voffset 6}
${font Lucida Handwriting:size=8}${color #0055ff}CPU: ${color #ff2200}${exec cat /proc/omnibook/temperature | awk '{print $3}'}C$color${goto 107}$cpu%${goto 137}${cpubar cpu0}$font
${goto 15}${top name 1}${font Lucida Handwriting:size=8}${goto 115}${top cpu 1}%${goto 160}${top mem 1}%$font
${goto 15}${top name 2}${font Lucida Handwriting:size=8}${goto 115}${top cpu 2}%${goto 160}${top mem 2}%$font
${goto 15}${top name 3}${font Lucida Handwriting:size=8}${goto 115}${top cpu 3}%${goto 160}${top mem 3}%
${font Lucida Handwriting:size=8}${color #0055ff}RAM: ${color #ff2200}$mem$color${goto 107}$memperc%${goto 137}$membar$font
${goto 15}${top_mem name 1}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 1}%${goto 160}${top_mem cpu 1}%$font
${goto 15}${top_mem name 2}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 2}%${goto 160}${top_mem cpu 2}%$font
${goto 15}${top_mem name 3}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 3}%${goto 160}${top_mem cpu 3}%$font
${font Lucida Handwriting:size=8}${color #0055ff}HD: ${color #ff2200}${hddtemp /dev/sda}$color${font Lucida Handwriting:size=8}   ${diskio_read /dev/sda} / ${diskio_write /dev/sda}$font
${goto 15}R:${goto 32}${font Lucida Handwriting:size=8}${color #00ff00}${fs_free /}$color${goto 107}${fs_free_perc /}%${goto 137}${fs_bar /}$font
${goto 15}H:${goto 32}${font Lucida Handwriting:size=8}${color #00ff00}${fs_free /home}$color${goto 107}${fs_free_perc /home}%${goto 137}${fs_bar /home}$font
${goto 15}S:${goto 32}${font Lucida Handwriting:size=8}${color #ff2200}$swap$color${goto 107}${swapperc}%${goto 137}$swapbar
${font Lucida Handwriting:size=8}${color #0055ff}WAN IP:$color$alignr${texeci 600 sh /home/syco/.conky/extern_ip}${execi 60 cat /home/syco/.conky/file/ip.txt}
${color #0055ff}LAN IP:$color$alignr${addr eth0}
${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf eth0}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup eth0}
${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf eth0}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown eth0}$font
${font Lucida Handwriting:size=8}${color #0055ff}WiFi IP:$color$alignr${addr eth1}$font
${goto 15}ESSID:$alignr${wireless_essid eth1}
${goto 15}Quality: ${font Lucida Handwriting:size=8}${wireless_link_qual_perc eth1}%${goto 107}${wireless_link_bar eth1}
${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf eth1}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup eth1}
${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf eth1}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown eth1}$font
${font Lucida Handwriting:size=8}${color #0055ff}CONNESSIONI n°: ${tcp_portmon 1 65535 count}$font$color
${goto 15}${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
${goto 15}${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
${goto 15}${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
${goto 15}${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
Allegati
conky.jpg
Il miglior GDR online mai creato:
http://www.thechosenbyte.com/YnisWitrin
Immagine
Owen88
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 257
Iscrizione: venerdì 10 ottobre 2008, 23:28

Re: Posta il tuo conkyrc & .png

Messaggio da Owen88 »

Ecco il mio:

Codice: Seleziona tutto

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=7

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
 out_to_console yes

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
 out_to_console yes

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 3.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 100 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline yes

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
#stippled_borders 8

# border margins
border_margin 4

# border width
border_width 4

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

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

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

# 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 no

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

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
${color green}Alberto - $sysname $kernel
$stippled_hr
${color green}Uptime:$color $uptime ${color green}- Load:$color $loadavg
${color green}CPU 1 Usage:${color} ${cpu cpu1}% ${cpubar cpu1}
${color green}CPU 2 Usage:${color} ${cpu cpu2}% ${cpubar cpu2}
${color}${cpugraph cpu1 0000ff 00ff00}
${color}${cpugraph cpu2 0000ff 00ff00}
${color green}RAM:$color $mem/$memmax - $memperc% ${membar}
${color green}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color$stippled_hr
${color green}File system:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${color green}home: $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
$stippled_hr
${color green}Network: 
${color green}Down ${color white}${downspeed wlan0} k/s ${alignr}${color green}Up ${color white}${upspeed wlan0} k/s
${downspeedgraph wlan0 25,107 0000ff 0000ff} ${alignr}${upspeedgraph wlan0 25,107 0000ff 0000ff}
${color green}Total ${color white}${totaldown wlan0} ${alignr}${color green}Total ${color white}${totalup wlan0}
$stippled_hr
 ${color}Name      	  PID    CPU%   MEM%
 ${color #ddaa00} ${top name 1}${top pid 1} ${top cpu 1} ${top mem 1}
 ${color #ddaa00} ${top name 2}${top pid 2} ${top cpu 2} ${top mem 2}
 ${color green} ${top name 3}${top pid 3} ${top cpu 3} ${top mem 3}
 ${color green} ${top name 4}${top pid 4} ${top cpu 4} ${top mem 4}
 ${color #ddaa00} ${top name 5}${top pid 5} ${top cpu 5} ${top mem 5}
 ${color #ddaa00} ${top name 6}${top pid 6} ${top cpu 6} ${top mem 6}
 ${color green} ${top name 7}${top pid 7} ${top cpu 7} ${top mem 7}
 ${color green} ${top name 8}${top pid 8} ${top cpu 8} ${top mem 8}
 ${color #ddaa00} ${top name 9}${top pid 9} ${top cpu 9} ${top mem 9}
 ${color #ddaa00} ${top name 10}${top pid 10} ${top cpu 10} ${top mem 10}

Immagine


edit: perché sono l'unico cretino che non è in grado di visualizzare l'immagine?  :P

edit2: ringrazio Sgnablo per l'aiuto  ;)
Ultima modifica di Owen88 il lunedì 25 maggio 2009, 21:03, modificato 1 volta in totale.
Avatar utente
Sgnablo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 472
Iscrizione: sabato 24 novembre 2007, 12:30
Località: Sardegna

Re: Posta il tuo conkyrc & .png

Messaggio da Sgnablo »

dovevi scegliere il link per i thumbnail da forum quando l'hai uppata ;)

@deegan: io metterei
${fs_free_dev /dev/sda2/}
--Ubuntu user # 26319--
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

@Sgnablo

Ho aggiunto  ${fs_free_dev /dev/sda2/} al file .conkyrc
Ma la stessa scritta mi esce sul conky :'(
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Avatar utente
Sgnablo
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 472
Iscrizione: sabato 24 novembre 2007, 12:30
Località: Sardegna

Re: Posta il tuo conkyrc & .png

Messaggio da Sgnablo »

io ti picchio... il comando è fs_free_perc, non dev! XDXD

e non devi usare i dev, ma il punto di mount, quindi ad esempio /media/DATI:

DATI: ${fs_free_perc /media/DATI}%

poi c'è fs_used_perc che dice la percentuale occupata
Ultima modifica di Sgnablo il domenica 24 maggio 2009, 23:18, modificato 1 volta in totale.
--Ubuntu user # 26319--
deegan
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2639
Iscrizione: lunedì 28 aprile 2008, 12:42
Distribuzione: Ubuntu 20.04
Sesso: Maschile
Località: Varese

Re: Posta il tuo conkyrc & .png

Messaggio da deegan »

Codice: Seleziona tutto

io ti picchio
(good)

Codice: Seleziona tutto

il comando è fs_free_perc, non dev!
:o

Non capisco cosa mannaggia devo scrivere...scusami :-[
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
Chiusa

Ritorna a “Bar Ubuntu”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 13 ospiti