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
Maththias
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1781
Iscrizione: martedì 22 maggio 2007, 10:21
Località: TN
Contatti:

Re: Posta il tuo conkyrc & .png

Messaggio da Maththias »

Il mio:

Codice: Seleziona tutto

#avoid flicker

double_buffer yes



#own window to run simultanious 2 or more conkys

own_window  yes

own_window_transparent no

own_window_type normal

own_window_hints undecorate,sticky,skip_taskbar,skip_pager 



#borders

draw_borders no

border_margin 1



#shades

draw_shades no



#position

gap_x 9

gap_y 55
alignment bottom_left



#behaviour

update_interval 1



#colour

default_color  9f907d



#default_shade_color 000000

own_window_colour 000000



#font

use_xft yes

xftfont bauhaus:pixelsize=11



#to prevent window from moving

use_spacer no

minimum_size 1262 0





TEXT

${alignc}Kernel: ${color 525252}$kernel   |  ${time %d %B} ${color 525252}${time  %H:%M}  |   ${color}Proc: ${color 525252}$processes  ${color}Run: ${color 525252}$running_processes   |  ${color}Cpu: ${color 525252}${cpu}%    |   ${color }Mem: ${color 525252}$mem - $memperc%   |   ${color }Net: ${color 525252}${font}${downspeedf wlan0}/s down   -   ${color 525252}${upspeedf wlan0}/s up   |  ${color }Root: ${color 525252}${font}${fs_free /}  - ${fs_free_perc /}%   |   ${color} Home: ${color 525252}${fs_free /home}  - ${fs_free_perc /home}% 
Allegati
conky1.jpg
Ultima modifica di Maththias il sabato 30 maggio 2009, 10:33, modificato 1 volta in totale.
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 »

conkyForecast test  ;D
# conky configuration
# edited by Mark Buck (Kaivalagi)

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

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

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

# Minimum size of text area
minimum_size 300 0
maximum_width 300

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no
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 white
default_shade_color black
default_outline_color white

# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# 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 10
gap_y 35

# 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

# colours
color1 white
# light blue
color2 6892C6
# orange
#E77320
color3 FC8820
# green
color4 78BF39
# red
color5 CC0000

text_buffer_size 2048

# 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
${offset -5}${color3}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font}  ${hr}${color1}
${color3}Template Output:${color1}
${execpi 1800 conkyForecast --location=ITXX0250 --template=/usr/share/conkyforecast/example/conkyForecast.template}

${color3}Standard Output:${color1}
${font Bitstream Vera Sans Mono:size=14}${execi 1800 conkyForecast --location=ITXX0250 --datatype=CT}${font}
${font ConkyWeather:style=Bold:size=40}${execi 1800 conkyForecast --location=ITXX0250 --datatype=WF}  ${font ConkyWindNESW:size=40}${execi 1800 conkyForecast --location=ITXX0250 --datatype=BS}${font}
${execi 1800 conkyForecast --location=ITXX0250 --datatype=HT --centeredwidth=4}/${execi 1800 conkyForecast --location=ITXX0250 --datatype=LT --centeredwidth=4}  ${execi 1800 conkyForecast --location=ITXX0250 --datatype=WS --imperial} - ${execi 1800 conkyForecast --location=ITXX0250 --datatype=WD}
Immagine
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 »

@DjNeophyte (good)

Come fai a visualizzare il meteo... :-\
Usi uno script? ma come lo imposti... :o
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 »

deegan ha scritto: @DjNeophyte (good)

Come fai a visualizzare il meteo... :-\
Usi uno script? ma come lo imposti... :o
Certo,ti posto il link del produttore dei vari script conky per meteo gmail ecc... ecc.. me lo sono studiato bene, e' un po' macchinoso pero' ti apre nuove possibilita'  ;D http://www.kaivalagi.com/
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 »

@DjNeophyte davvero bello! meno bello che per domani mettono pioggia, voglio uscir in moto io :D
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.
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 »

Ecco finalmente son riuscito ad integrare il meteo come dico io  ;D

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 white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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 40
gap_y 40

# 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=18}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=18}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=18}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=18}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=18}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=18}q${font}   Uptime: ${alignr}${uptime}

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

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=16}7${font}   ${voffset -5}WD320:
${voffset 4}${fs_used /media/Storage}/${fs_size /media/Storage} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=16}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=16}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=16}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=16}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=16}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=ITXX0250 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0250 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0250 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -16}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --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=ITXX0250 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0250 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0250 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0250 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -16}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=ITXX0250 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0250 --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=ITXX0250 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0250 --datatype=HT}${font}

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

Sto seguendo il consiglio di @DjNeophyte per mettere il meteo nel conky:
Ho fatto questa procedure:
Da terminale:

Codice: Seleziona tutto

sudo wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-jaunty.list -O /etc/apt/sources.list.d/m-buck-conky-jaunty.list
Poi ho aggiunto ad /etc/apt/source.list questo:

Codice: Seleziona tutto

wget -q http://www.kaivalagi.com/ubuntu/ppa/m-buck-conky-key.gpg -O- | sudo apt-key add -
Poi da terminale:

Codice: Seleziona tutto

sudo apt-get update && sudo apt-get install conkyforecast
Poi al .conkyrc ho aggiunto la stringa:

Codice: Seleziona tutto

WEATHER 
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0082 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0082 --datatype=HT}${font}

Wink
Ma il conky mi appare cosi!! :'(

Cosa sbaglio?
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 »

era successo anche ad un altro utente, non ho idea di come (e se) abbia risolto :| (non uso conkyforecast)
--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

non uso conkyforecast
:-\

Cosa usi Sgnablo

Hai un tuo sistema?? :-[
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
pav_87
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 469
Iscrizione: giovedì 18 ottobre 2007, 9:13

Re: Posta il tuo conkyrc & .png

Messaggio da pav_87 »

fotonico questo post!!!non sono mai riuscito a capire bene come utilizzare il conky...è un problema se vi rubo qualcosina?? (in realtà l'ho già fatto,ma per correttezza ve lo dico hehe)  ;D ;D ;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 »

@deegan. forecastfox ;) :P
--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 »

Cosa cambia :(
MB* ASUS TUF Gaming Z690 SV* EVGA RTX 3080 Ti CPU* i7-12700K
RAM* Vengeance RGB PRO 32GB 3600MHz SSD* Samsung 980 PRO 2TB
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 »

@pav_87
Vai tra siamo tutti qui per imparare... ;)
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 »

cambia che è un'estensione di firefox. e siccome io firefox ce l'ho sempre aperto, è sempre visibile XD
e soprattutto con forecastfox posso mettere esattamente il codice del mio paesello, mentre conkyforecast mi sa che è meno preciso Immagine
--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 »

Ulteriori tentativi;

Ho aggiunto

Codice: Seleziona tutto

${font Lucida Handwriting:size=8}${color #0055ff}WEATHER: 
$alignc${color 8c8c8c}oggi${color} ${voffset -3}${font Weather:size=16}${execi 21600 python /home/deegan/conkyForecast.py --location=ITXX0082 --datatype=WF --startday=0}${font} ${voffset -7}${color 8c8c8c}temp max ${color} ${color FF3600}${execi 21600 python /home/deegan/conkyForecast.py --location=ITXX0082 --datatype=HT --startday=0}${color} ${color 8c8c8c}/ temp min ${color} ${color FF7E00}${execi 21600 python /home/deegan/conkyForecast.py --location=ITXX0082 --datatype=LT --startday=0}${color}
Ma nulla... (nono)
Ora mi esce così!!!!!
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
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

Re: Posta il tuo conkyrc & .png

Messaggio da Sylar »

Ciao a tutti, vorrei che il mio conky visualizzasse il numero di utenti in rete, leggendo questo topic, ho visto che a pg3 nello script di blupenguin ( questo qui ) c'è una cosa del genere, ed ho provato a copiarla nel mio conky; ma non so per quale strano motivo non riesco a far visualizzare quella voce.
Ho aggiunto la stringa

Codice: Seleziona tutto

${color 8c8c8c}Users: ${color ff0000}${user_number}  ${color 8c8c8c}|
nel mio conkyrc, ma niente

Posto il mio conkyrc

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.

#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# 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

# Print everything to stdout?
# out_to_console no

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

# Print everything to console?
# out_to_console no

# mail spool
mail_spool $MAIL

# 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 1420 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 -100
gap_y 720

# 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}|
${alignc}${color 8c8c8c}Date:${color} ${time %e %B %G}${color 8c8c8c}  |  ${color 8c8c8c}Time: ${color}${time %H:%M:%S}${color 8c8c8c}  |  Uptime:${color}  ${uptime}${color 8c8c8c}  |  ${color 8c8c8c}Kernel: ${color}${kernel}${color 8c8c8c}  |  ${color 8c8c8c}Deegan : ${color}${fs_free_perc /home/deegan}%${color 8c8c8c}  | ${color 8c8c8c}Share : ${color}${fs_free_perc /media/disk}% ${color 8c8c8c}${if_running rhythmbox}${color 8c8c8c}  |   listening to:${color}  ${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing|cut -b -99}$endif
${alignc}${color 8c8c8c}CPU temp:${color} ${acpitemp}°C ${color 8c8c8c}  |  CPU usage:${color} ${cpu}% ${color 8c8c8c} ${cpugraph 12,40} |  RAM usage:${color} ${mem} - $memperc%${color 8c8c8c}  |  Download ${font wingdings:size=10}Ú ${font}:${offset -2}${color}${color 2f8ab5}${downspeed wlan0} Kb/s ${color}${color 323232} ${totaldown wlan0}${color}  ${color 8c8c8c}~  Upload ${font wingdings:size=10}Ò ${font}:${offset -2}${color}${color ff0000}${upspeed wlan0} Kb/s ${color}${color 323232}| ${color white}  /: ${color white}${fs_used /} of ${fs_size /}  

Se invece provo ad utilizzare il conky di blupenguin, ho un errore dal terminale:

Codice: Seleziona tutto

andrea@andrea-laptop:~$ conky
Conky: statfs '/home/utente': No such file or directory
Conky: desktop window (14000a7) is subwindow of root window (ab)
Conky: window type - override
Conky: drawing to created window (0x4800001)
Conky: drawing to double buffer
Conky: statfs '/home/utente': No such file or directory
Conky: attempting to use more CPUs than you have!
obj->data.cpu_index 2 info.cpu_count 1andrea@andrea-laptop:~$ 
andrea@andrea-laptop:~$ 
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
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 »

Se invece provo ad utilizzare il conky di blupenguin, ho un errore dal terminale:
Codice:

andrea@andrea-laptop:~$ conky
Conky: statfs '/home/utente': No such file or directory
Conky: desktop window (14000a7) is subwindow of root window (ab)
Conky: window type - override
Conky: drawing to created window (0x4800001)
Conky: drawing to double buffer
Conky: statfs '/home/utente': No such file or directory
Conky: attempting to use more CPUs than you have!
obj->data.cpu_index 2 info.cpu_count 1andrea@andrea-laptop:~$
andrea@andrea-laptop:~$
Allora il primo errore e' generato perche' non hai inserito il percorso corretto della tua /home , presuppongo che il tuo percorso sia /home/andrea percio' lo devi modicare nel conky.Il secondo sembrerebbe un errore di cpu_resolve,posta bene il tuo .conkyrc e vediamo di darti una mano ^^ hai un dual,quad o single core?
Avatar utente
Sylar
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 974
Iscrizione: giovedì 29 novembre 2007, 11:19

Re: Posta il tuo conkyrc & .png

Messaggio da Sylar »

Ho un single core, il mio conkyrc è:

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.

#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# 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

# Print everything to stdout?
# out_to_console no

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

# Print everything to console?
# out_to_console no

# mail spool
mail_spool $MAIL

# 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 1420 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 -100
gap_y 720

# 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} |
${alignc}${color 8c8c8c}Date:${color} ${time %e %B %G}${color 8c8c8c}  |  ${color 8c8c8c}Time: ${color}${time %H:%M:%S}${color 8c8c8c}  |  Uptime:${color}  ${uptime}${color 8c8c8c}  |  ${color 8c8c8c}Kernel: ${color}${kernel}${color 8c8c8c}  |  ${color 8c8c8c}Andrea : ${color}${fs_free_perc /home/andrea}%${color 8c8c8c}  | ${color 8c8c8c}Share : ${color}${fs_free_perc /media/disk}% ${color 8c8c8c}${if_running rhythmbox}${color 8c8c8c}  |   listening to:${color}  ${exec /usr/bin/rhythmbox-client --no-start --no-present --print-playing|cut -b -99}$endif
${alignc}${color 8c8c8c}CPU temp:${color} ${acpitemp}°C ${color 8c8c8c}  |  CPU usage:${color} ${cpu}% ${color 8c8c8c} ${cpugraph 12,40} |  RAM usage:${color} ${mem} - $memperc%${color 8c8c8c}  |  Download ${font wingdings:size=10}Ú ${font}:${offset -2}${color}${color 2f8ab5}${downspeed wlan0} Kb/s ${color}${color 323232} ${totaldown wlan0}${color}  ${color 8c8c8c}~  Upload ${font wingdings:size=10}Ò ${font}:${offset -2}${color}${color ff0000}${upspeed wlan0} Kb/s ${color}${color 323232}| ${color white}  /: ${color white}${fs_used /} of ${fs_size /}  
Allora il primo errore e' generato perche' non hai inserito il percorso corretto della tua /home , presuppongo che il tuo percorso sia /home/andrea percio' lo devi modicare nel conky
Ti riferisci al conkyrc? dove dovrei modificarlo?
"Addio amore mio". Non lo dice. Non c'è spazio per la tenerezza, non a Sparta. Non c'è posto per la debolezza. Solo i duri e i forti possono definirsi Spartani. Solo i duri. Solo i forti.
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 »

c'è un modo per mettere lo sfondo semitrasparente con un valore alpha? non sono riuscito a trovare niente... cosa che mi fa pensare ke non sia possibile :(
Il miglior GDR online mai creato:
http://www.thechosenbyte.com/YnisWitrin
Immagine
Avatar utente
lady_neera
Prode Principiante
Messaggi: 113
Iscrizione: giovedì 19 aprile 2007, 17:40

Re: Posta il tuo conkyrc & .png

Messaggio da lady_neera »

Ecco il mio (scopiazzato da qualcuno su questo thread, sorry... :-[ ma con alcune aggiunte)

Immagine

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 250 0
#maximum_width 300

# 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 white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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 30
gap_y 40

# 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
${color 4B4B4B}${font Bring tha noize:size=20}elle@${nodename}${font}

SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=18}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=18}A${font}   CPU1: ${freq_g cpu1} GHz - ${cpu cpu1}% ${alignr}${cpubar cpu1 10,60}
${font StyleBats:size=18}A${font}   CPU2: ${freq_g cpu2} GHz - ${cpu cpu2}% ${alignr}${cpubar cpu2 10,60}
${font StyleBats:size=18}g${font}   RAM: $memperc% ${alignr}${membar 10,60}
${font StyleBats:size=18}j${font}   SWAP: $swapperc% ${alignr}${swapbar 10,60}
${font StyleBats:size=18}q${font}   Uptime: ${alignr}${uptime}
${font StyleBats:size=18}y${font}   Batteria: ${battery_percent BAT1}% ${alignr}${battery_bar 10,60 BAT1}
${font StyleBats:size=18}3${font}   Carica/Scarica: ${acpiacadapter} ${alignr}${battery_time BAT1}

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

HDD ${hr 2}
${voffset 4}${font Pie charts for maps:size=16}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /}  - ${fs_used_perc /}% ${alignr}${fs_bar 10,60 /}
${font Pie charts for maps:size=16}7${font}   ${voffset -5}Home:
${voffset 4}${fs_used /home}/${fs_size /home} -  ${fs_used_perc /home}% ${alignr}${fs_bar 10,60 /home}
${font Pie charts for maps:size=16}7${font}   ${voffset -5}Deposito:
${voffset 4}${fs_used /media/Deposito}/${fs_size /media/Deposito} - ${fs_used_perc /media/Deposito}% ${alignr}${fs_bar 10,60 /media/Deposito}


RETE ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 10,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr eth0}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=16}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 10,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=16}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=16}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=16}a${font}   Local Ip: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=16}4${font}   Network Unavailable
${endif}
appena ho un po' più di tempo (la sessione d'esame incalza!!!) cercherò di aggiungerci il meteo!
adesso che c'ho capito qualcosa di sto conky, sto ammattendo! ci sono MILLEMILA variabiliiiiiiiii  (rotfl)
Chiusa

Ritorna a “Bar Ubuntu”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 15 ospiti