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.
Avatar utente
Tanino Rulez
Prode Principiante
Messaggi: 134
Iscrizione: venerdì 25 aprile 2008, 1:52
Località: Cava de' Tirreni
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da Tanino Rulez »

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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
own_window_transparent yes
own_window_type override
#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 180 0
#maximum_width 200

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

# Default colors and also border colors
default_color 1E1C1A
#default_shade_color white
#default_outline_color black
own_window_colour 1E1C1A

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

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

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

TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
Allegati
Schermata.png
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 »

@piemont

E' sì.... devi impostarlo in base al tuo pc.... ;)
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Posta il tuo conkyrc & .png

Messaggio da jerico »

grazie tanino rulez,ti ho rubato la stringa della batteria che mi mancava ;)
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

grazie tanino rulez,ti ho rubato la stringa della batteria che mi mancava Wink
;D

Bastava chiedere..... ;)

Gira un po' di queste pagine, e troverai molte stringhe utili..... (yes)

http://ubuntuforums.org/showthread.php? ... t+.conkyrc

http://conky.linux-hardcore.com/
Ultima modifica di deegan il venerdì 29 maggio 2009, 0:51, 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
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Posta il tuo conkyrc & .png

Messaggio da jerico »

Bastava chiedere.....  ;)
(good) (good) (good) (b2b)
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 »

@ piemont: anzichè modificare il file conky.conf, ti consiglio di creare un file di nome .conkyrc (quindi nascosto) nella tua home. è più facile modificarlo ed è più a portata di mano ;)

se vi interessa posso postare un font che ho realizzato con raggruppate icone per temperatura, batteria, simboletti vari. così non bisogna richiamare 18 font diversi nello script ;)
inoltre ho un paio di scriptini che avevo fatto, che aggiornano le suddette icone in base allo status (sia di batteria che di temperatura dell'hd). praticamente sparano una lettera, che corrisponde al simbolo nel font
--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

Si si....fa' sempre comodo..... (b2b)
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
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 »

Piccola nuova creazione :

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont verdana:size=8
xftalpha 1
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_shade_color grey
default_outline_color black
default_color 000000
color1 000000
# 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

TEXT
${color1}${font OpenLogos:size=50} t u T${font}
SYSTEM ${hr 2}
${font StyleBats:size=18}K${font}   Kernel:  ${alignr}${kernel}
${color1}${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu0}% ${alignr}${cpubar 8,60  cpu0}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu1}% ${alignr}${cpubar 8,60  cpu1}
${color1}${font PizzaDude Bullets:size=15}J${font}   Ram: $memperc% ${alignr}${membar 8,60}
${color1}${font Webdings:size=16}~${font}   Battery: ${battery_percent}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

NETWORK ${hr 2}
${font PizzaDude Bullets:size=16}e${font}   Local IP: ${alignr}${addr eth1}
${font PizzaDude Bullets:size=14}a${font}   Public IP: ${alignr}${execi 1 ~/.scripts/public.ip.sh}
${font PizzaDude Bullets:size=16}v${font}   Up: ${upspeed wlan0} Kb/s ${alignr}${upspeedgraph wlan0 8,60 000000 000000}
${font PizzaDude Bullets:size=16}r${font}   Down: ${downspeed wlan0} Kb/s ${alignr}${downspeedgraph wlan0 8,60 000000 000000}
${font PizzaDude Bullets:size=16}M${font}   Upload: ${alignr}${totalup eth1}
${font PizzaDude Bullets:size=16}S${font}   Download: ${alignr}${totaldown wlan0}

HARD DRIVE ${hr 2}
${font PizzaDude Stars:size=19}T${font}   HDD Temperature:  ${alignr}${execi 1 ~/.scripts/hddmonit.sh} C
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

DATE ${hr 2}
${font DejaVu Sans Mono :size=9}${exec cal | cut -c23-44 --complement}
${font Radio Space:size=16}${time %A %d %Y}
${font Radio Space:size=30}${time %I:%M %p}
Pero' mi da un problema con la batteria :

Codice: Seleziona tutto

Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
Qualche idea a riguardo?
Immagine
Avatar utente
nuk3r
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1611
Iscrizione: lunedì 15 gennaio 2007, 14:44
Località: Berghem
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da nuk3r »

Tanino Rulez ha scritto:

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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
own_window_transparent yes
own_window_type override
#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 180 0
#maximum_width 200

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

# Default colors and also border colors
default_color 1E1C1A
#default_shade_color white
#default_outline_color black
own_window_colour 1E1C1A

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

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

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

TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=??? --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=??? --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=??? --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=??? --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=??? --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=??? --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
nel codice vedo che richiami lo script "~/.scripts/ip.sh" per ottenere l'ip pubblico. Riusciresti a postare anche quello? O cmq a mandarmelo via mp, è uguale....
Avatar utente
nuk3r
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1611
Iscrizione: lunedì 15 gennaio 2007, 14:44
Località: Berghem
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da nuk3r »

DjNeophyte ha scritto: Pero' mi da un problema con la batteria :

Codice: Seleziona tutto

Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
Qualche idea a riguardo?
prova a cambiare il codice della batteria in

Codice: Seleziona tutto

${color1}${font Webdings:size=16}~${font}   Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
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 »

@nuk3r : certamente,eccolo qui http://dl.getdropbox.com/u/1190655/Utility%20Linux/Script%20Per%20Conky/public.ip.sh.rar dopo vedo di caricare in pubblico su dropbox una bella raccola di scriptini per il conky che ho recuperato in giro,intanto provo per la batteria grazie mille !!!
Avatar utente
blupenguin
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2342
Iscrizione: martedì 15 gennaio 2008, 18:54

Re: Posta il tuo conkyrc & .png

Messaggio da blupenguin »

iscritto  ;D
appena torno a gnome posto i miei..
Avatar utente
silente0965
Prode Principiante
Messaggi: 178
Iscrizione: martedì 31 luglio 2007, 15:32
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da silente0965 »

DjNeophyte ha scritto: Qualche idea a riguardo?
Immagine
Bello!Mi piacciono i simboli di linux e ubuntu in alto,ma che modello hai usato?conky-colors?
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 »

No no e' basato su un conky di un tizio russo....non ti dico che paio di maroni tradurlo e adattarlo alla mia macchina....se vuoi attingi pure il codice e' postato sopra  ;D
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 »

allora: ho messo i due codici che generano la lettera per l'icona, il font da usare e anche uno scriptino che spara la capacità residua della batteria, rispetto a quando era nuova ;)

batt.sh: icona batteria
temp.sh: icona temperatura (sono 5 stadi, al limite modificatevi i valori di temperatura nello script)
battperc.sh: capacità batteria

per l'utilizzo, potete spulciare il mio conkyrc che ho postato precedentemente nel topic
Allegati
script.tar
(20 KiB) Scaricato 173 volte
--Ubuntu user # 26319--
Avatar utente
Tanino Rulez
Prode Principiante
Messaggi: 134
Iscrizione: venerdì 25 aprile 2008, 1:52
Località: Cava de' Tirreni
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da Tanino Rulez »

jerico ha scritto: grazie tanino rulez,ti ho rubato la stringa della batteria che mi mancava ;)
e qual è il problema,stiamo qui apposta per aiutarci :D
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da streetcross »

Questo è un topic davvero intelligente, serve anche per avvicinare chi ancora non sarebbe in grado di scriversi un suo conkyrc, per ora posto solo per tenermi il topic sott'occhio, appena arrivo a casa posto il mio :)
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Posta il tuo conkyrc & .png

Messaggio da jerico »

Questo è un topic davvero intelligente, serve anche per avvicinare chi ancora non sarebbe in grado di scriversi un suo conkyrc, per ora posto solo per tenermi il topic sott'occhio, appena arrivo a casa posto il mio  :)
e bravo il nostro deegan....
quotato!
Avatar utente
blupenguin
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2342
Iscrizione: martedì 15 gennaio 2008, 18:54

Re: Posta il tuo conkyrc & .png

Messaggio da blupenguin »

posto intanto l'ultimo che ho creato ieri per jaunty, è un conky  "minimalista"
la soluzione più interessante è stata quella di "integrarlo" nel pannello così non ci sono i soliti problemi di illegibilità con
alcuni sfondi

Codice: Seleziona tutto

###########################
#conky configuration file                               #
# by BluPenguin		                            #
###########################

# Use Xft?
use_xft yes

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

# Text alpha when using Xft
xftalpha 0.8

# 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
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,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 1680 12

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

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

# 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 20
gap_y 15

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

# 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
# Draw borders around graphs
draw_graph_borders no

# stuff after 'TEXT' will be formatted on screen


TEXT

    ${color 8c8c8c}Users: ${color ff0000}${user_number}  ${color 8c8c8c}|  Kernel: ${color}${kernel}${color 8c8c8c}  |  ${color 8c8c8c}Root : ${color}${fs_used_perc /}%${color 8c8c8c}  |  ${color 8c8c8c}Home : ${color}${fs_used_perc /home/utente}%  |  CPU temp:${color} ${acpitemp}°C ${color 8c8c8c}  |  CPU1:${color} ${cpu cpu1}% ${color 8c8c8c} ${cpugraph cpu1 12,40} |  CPU2:${color} ${cpu cpu2}% ${color 8c8c8c} ${cpugraph cpu2 12,40} |  RAM:${color} ${mem} - $memperc%${color 8c8c8c}  |  Download ${font}:${offset -2}${color}${color 2f8ab5}${downspeed eth0} Kb/s ${color}${color 323232} ${totaldown eth0}${color}  ${color 8c8c8c}~  Upload ${font}:${offset -2}${color}${color ff0000}${upspeed eth0} Kb/s ${color}${color 323232} ${totalup eth0}${color}${color 8c8c8c}  |  ${color 8c8c8c}Uptime:${color}  ${uptime}${color 8c8c8c}  |  ${color 2f8ab5}${font Bitstream Vera Sans:bold:size=9}B${color}lu${color 2f8ab5}P${color}enguin
Allegati
mioconky.png
Ultima modifica di blupenguin il venerdì 29 maggio 2009, 17:25, modificato 1 volta in totale.
jerico
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 19127
Iscrizione: lunedì 21 luglio 2008, 23:43
Desktop: Gnome
Distribuzione: Archlinux

Re: Posta il tuo conkyrc & .png

Messaggio da jerico »

fantastico!! ottimo blupenguin,grande idea...
Chiusa

Ritorna a “Bar Ubuntu”

Chi c’è in linea

Visualizzano questa sezione: Lucio C e 22 ospiti