› Foros › PC › Software libre
progger escribió:si lo pongo asi, me sale en una ventana...
como si ubiera habierto una carpeta, pues igual...
eso de sin compiz??? no se lo que es...
salu2...
Darkcaptain escribió:
Estas muy muy perdido, yo le haría un buen repaso a San Google
Compiz = Compiz-fusion, si no sabes lo que es es por que no lo tendrás puesto.
Si cuando lanzas conky te sale como una "carpeta", lanzalo sin ser Root.
progger escribió:Darkcaptain escribió:
Estas muy muy perdido, yo le haría un buen repaso a San Google
Compiz = Compiz-fusion, si no sabes lo que es es por que no lo tendrás puesto.
Si cuando lanzas conky te sale como una "carpeta", lanzalo sin ser Root.
He estado leyendo en la wikipedia y poco mas, lo que me ha dado tiempo vamos...
Pero vamos que me quedo igual...
Y estoy seguro de que no lo tengo instalado...
Sobre lo del conky...
al poner en: own_window_type normal y no override...
es cuando me sale en una ventana a parte, pero si lo dejo override, me sale normal...
Si el conky me funciona bien... pero lo dicho, al iniciarlo con linux, es decir, cuando inicio sesion, se me abre solo...y cuando abro alguna carpeta se superpone y siempre esta visible, pero si lo cierro y luego lo vuelvo a abrir ya no se superpone...
He estado cambiandole las opciones a esas tres frases del conckyrc y nada, me sigue pasando...
salu2...
#!/bin/bash
sleep 60 && conky;
progger escribió:como podras ver...sigue todo igual despues de hacer lo que tu me has dicho, pero en fin... lo dejare por muerto y lo arrancare cuando inicie sesion y ya ta... tampoco pasa nada...
Por cierto, he estado buscando por google y no he topado con esto, solo en una decia que pusiera eso, pero en un script que crearamos, pero el caso es que yo no se donde hay que meter ese script...
salu2...
Galdos escribió:Tengo un problema para poner lo del tiempo, y es que cuando pongo la dirección en donde vivo en lo de Yahoo me saca la predicción de una ciudad a 60 Km de donde vivo, ¿hay otro método mejor?
Darkcaptain escribió:Galdos escribió:Tengo un problema para poner lo del tiempo, y es que cuando pongo la dirección en donde vivo en lo de Yahoo me saca la predicción de una ciudad a 60 Km de donde vivo, ¿hay otro método mejor?
Y por Código postal?
d4rkb1t escribió:pues yo tengo otro problema.
Al abrir la sesión tengo configurado que se me abra el conky... pues bueno... se me abre i se ve durante un segundo luego desaparece y ya no se vé, a alguien le ha pasado igual?
Un saludo!
# 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 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
Sistema ${hr 2}
${voffset 2}${font OpenLogos:size=16}T${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 StyleBats:size=16}q${font} Tiempo encendido: ${alignr}${uptime}
HDD ${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}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Sistema:
${voffset 4}${fs_free /media/Sistema}/${fs_size /media/Sistema} ${alignr}${fs_bar 8,60 /media/Sistema}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Movcha:
${voffset 4}${fs_free /media/Movcha}/${fs_size /media/Movcha} ${alignr}${fs_bar 8,60 /media/Movcha}
Red ${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
${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} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=tucorreo --password=tupassword --ssl}${font} Nuevo(s) email(s)
${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${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} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=tucorreo --password=tupassword --ssl}${font} Nuevo(s) email(s)
${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${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} Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
El tiempo en México D.F. ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --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=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --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=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
Hora y Fecha ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
${execi 60 date +"%B" | tr "[:lower:]" "[:upper:]"}${hr 2}
${alignc 35}${font LiberationMono:size=8}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}${font}
Música ${hr 2}
${exec banshee-1 --query-artist}
${exec banshee-1 --query-title}
${exec banshee-1 --query-track-number}
${exec banshee-1 --query-album}
${exec banshee-1 --query-position}
SwoRDMaN escribió:Hola, tengo un problema, me salen letras en vez de los iconos y se me sale de la pantalla por abajo. Como puedo solucionar esto ?
Saludos, y gracias de antemano.
lovechii5 escribió:Te faltan las fuentes. Estan en el hilo seguro.
Cory escribió:Alguien ayudeme por favor para que el calendario me marque en algún color el día que es, dejo mi conky.rc
# 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
# Color variables for use inside TEXT segments ( source: http://htmlhelp.com/cgi-bin/color.cgi )
color0 F8F8FF # Ghost white
color1 483D8B # Dark slate blue
color2 B8860B # Dark goldenrod
color3 4682B4 # Steelblue
color4 8B0000 # Dark red
color5 FFFFFF # White
# 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 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
Sistema ${hr 2}
${voffset 2}${font OpenLogos:size=16}T${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 StyleBats:size=16}q${font} Tiempo encendido: ${alignr}${uptime}
HDD ${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}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Sistema:
${voffset 4}${fs_free /media/Sistema}/${fs_size /media/Sistema} ${alignr}${fs_bar 8,60 /media/Sistema}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Movcha:
${voffset 4}${fs_free /media/Movcha}/${fs_size /media/Movcha} ${alignr}${fs_bar 8,60 /media/Movcha}
Red ${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
${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} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=tucorreo --password=tupassword --ssl}${font} Nuevo(s) email(s)
${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${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} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=tucorreo --password=tupassword --ssl}${font} Nuevo(s) email(s)
${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${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} Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
El tiempo en México D.F. ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --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=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --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=MXDF0132 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=MXDF0132 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=MXDF0132 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=MXDF0132 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=MXDF0132 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=MXDF0132 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
Hora y Fecha ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
${execi 60 date +"%B" | tr "[:lower:]" "[:upper:]"}${hr 2}
${alignc 35}${color 6b6b6b}${font LiberationMono:size=8}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color4}'"$DJS"'${color}'" "/}${font}
Música ${hr 2}
${exec banshee-1 --query-artist}
${exec banshee-1 --query-title}
${exec banshee-1 --query-track-number}
${exec banshee-1 --query-album}
${exec banshee-1 --query-position}
xexio escribió:aunque parezca una pregunta tonta, como se pone eso, osea el conky la barra lateral
ReinRaus escribió:Estoy intentando configurar conky, he cogido un código que habeis puesto en este hilo, lo he copiado y pegado en .conkyrc y me salen unas letras al principio de cada elemento en vez de los símbolos gráficos que os salen a vosotros ¿a que se debe?
rortega2000 escribió:alguien sabe como poner en conky las cuentas de HOTMAIL o Yahoo
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Hotmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=POP --servername=pop3.live.com --username=tunombredeusuario@hotmail.com --password=tupassword --ssl}${font} Nuevo(s) email(s)
xexio escribió:aunque parezca una pregunta tonta, como se pone eso, osea el conky la barra lateral
ReinRaus escribió:Ahora tengo otro problema ¿porqué me salen despues de cada linea un cuadrado? Son los cuadritos pequeños que hayal final de las lineas de RED, HDD, SISTEMA...
# 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 100 0
maximum_width 150
# 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 262524
# 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 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
SISTEMA ${hr 2}
Kernel: ${kernel}
Actividad: ${alignr}${uptime}
Procesos: ${alignr}$processes
CPU: ${alignr}${cpu cpu0}%
Temperatura: ${alignr}${hwmon 0 temp 1} C
RAM: ${alignr}$memperc%
SWAP: ${alignr}$swapperc%
DESGLOSE CPU${hr 2}
NOMBRE${alignr}PID${alignr}CPU%${alignr}MEM%
${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
DESGLOSE MEM:${hr 2}
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${alignr}${upspeed wlan0} kb/s
Down: ${alignr}${downspeed wlan0} kb/s
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Señal: ${alignr}${wireless_link_qual wlan0}%
IP: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}${if_existing /proc/net/route eth0}
HDD LIBRE ${hr 2}
Sistema: ${alignr}${fs_free /} ${fs_free_perc /}%
Almacen: ${alignr}${fs_free /media/disk} ${fs_free_perc /media/disk}%
penando escribió:Saludos vengo aquí a ver si me podeis ayudar con un par de cosillas que me han surgido en conky
--La primera es saber si la columna- ventana que ocupa puede hacerse más ancha ya que me queda muy apretada.
--La segunda si hay algún método para que me queden en forma de tabla algunos datos, me refiero al desglose de la cpu específicamente que se me apelotona y no soy capaz de arreglarlo.
--Y por último me gustaría saber como poner eso que he visto en alguno de vosotros del número de actualizaciones y las cosas a actualizar o algo así.
Aquí os dejo una captura y el código para que me cometéis# 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 125 0
maximum_width 175
# 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 262524
# 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 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
SISTEMA ${hr 2}
Kernel: ${alignr}${kernel}
Actividad: ${alignr}${uptime}
Procesos: ${alignr}$processes
CPU: ${alignr}${cpu cpu0}%
Temperatura: ${alignr}${hwmon 0 temp 1} C
RAM: ${alignr}$memperc%
SWAP: ${alignr}$swapperc%
DESGLOSE CPU${hr 2}
NOMBRE${alignr}PID${alignr}CPU%${alignr}MEM%
${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
DESGLOSE MEM:${hr 2}
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${alignr}${upspeed wlan0} kb/s
Down: ${alignr}${downspeed wlan0} kb/s
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Señal: ${alignr}${wireless_link_qual wlan0}%
IP: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}${if_existing /proc/net/route eth0}
HDD LIBRE ${hr 2}
Sistema: ${alignr}${fs_free /} ${fs_free_perc /}%
Almacen: ${alignr}${fs_free /media/disk} ${fs_free_perc /media/disk}%
# 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 165 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 262524
# 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 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
SISTEMA ${hr 2}
Kernel: ${kernel}
Actividad: ${alignr}${uptime}
Procesos: ${alignr}$processes
CPU: ${alignr}${cpu cpu0}%
Temperatura: ${alignr}${hwmon 0 temp 1} C
RAM: ${alignr}$memperc%
SWAP: ${alignr}$swapperc%
DESGLOSE CPU${hr 2}
NOMBRE${alignr}PID${alignr}CPU%${alignr}MEM%
${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
DESGLOSE MEM:${hr 2}
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${alignr}${upspeed wlan0} kb/s
Down: ${alignr}${downspeed wlan0} kb/s
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Señal: ${alignr}${wireless_link_qual wlan0}%
IP: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}${if_existing /proc/net/route eth0}
HDD LIBRE ${hr 2}
Sistema: ${alignr}${fs_free /} ${fs_free_perc /}%
Almacen: ${alignr}${fs_free /media/disk} ${fs_free_perc /media/disk}%
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
update_interval 5
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 600
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_margin 5
border_width 1
alignment tr
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
color0 000000
color1 666666
color2 003300
short_units yes
TEXT
${color1}${font OpenLogos:size=15}B ${font verdana}Archlinux${font impact}Overlord${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}Kernel${alignr}${kernel}
${color1}Host${alignr}$nodename
${color0}Uptime${alignr}$uptime
${color1}Carga${alignr}${loadavg}
${color0}Gnome${alignr}${pre_exec gnome-about --version | cut -d " " -f 3}
${color1}Pacman${alignr}${pre_exec pacman -V | grep Pacman | cut -d " " -f 20- | cut -d "-" -f 1 | cut -d " " -f 2 | cut -d "v" -f 2}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}CPU@$freq${alignr}${cpu cpu1}·${cpu cpu2}% ${cpubar cpu1 7,30} ${cpubar cpu2 7,30}
${color1}RAM${alignr}$mem ${membar 7,64}
${color0}SWAP${alignr}$swap ${swapbar 7,64}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color1}Batería${alignr}${battery_percent BAT1}% ${battery_bar 7,64 BAT1}
${color0}Webcam${alignr}${if_existing /dev/v4l/video0}activada${else}desactivada${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color1}/${alignr}${fs_free /} ${fs_bar 7,64 /}
${color0}/home${alignr}${fs_free /home} ${fs_bar 7,64 /home}
${if_existing /media/KINGSTON}${color1}Kingston${alignr}${fs_free /media/KINGSTON} ${fs_bar 7,64 /media/KINGSTON}${else}${if_existing /media/OS_Install}${color1}C:${alignr}${fs_free /media/OS_Install} ${fs_bar 7,64 /media/OS_Install}${else}${color1}IO${alignr}${diskio_read} ${diskiograph /dev/sda 7,64}${endif}${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${if_existing /proc/net/route ra0}${color0}Up${alignr}${upspeedf ra0}k ${upspeedgraph ra0 7,64}
${color1}Down${alignr}${downspeedf ra0}k ${downspeedgraph ra0 7,64}
${color0}Total U/D${alignr}${totalup ra0}/${totaldown ra0}
${color1}ESSID${alignr}${wireless_essid ra0}
${color0}Señal${alignr}${wireless_link_qual ra0}% ${wireless_link_bar 7,64 ra0}
${color1}IP local${alignr}${addr ra0}
${color0}IP pública${alignr}${texeci 300 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}${else}${if_existing /proc/net/route eth0}${color0}Up${alignr}${upspeedf eth0}k ${upspeedgraph eth0 7,64}
${color1}Down${alignr}${downspeedf eth0}k ${downspeedgraph eth0 7,64}
${color0}Total U/D${alignr}${totalup eth0}/${totaldown eth0}
${color1}IP local${alignr}${addr eth0}
${color0}IP pública${alignr}${texeci 300 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}${else}${color0}Sin red${endif}${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color1}${top name 1}${alignr}${top cpu 1}%
${color0}${top name 2}${alignr}${top cpu 2}%
${color1}${top name 3}${alignr}${top cpu 3}%
${color0}${top name 4}${alignr}${top cpu 4}%${font arial:size=3}
${color2}${alignc}————————————————
${font}${font verdana:bold:italic:size=12}${color1} ms${font verdana:bold:italic:size=10}i${font verdana:italic:size=10} Wind Notebook
Darkcaptain escribió:penando escribió:Saludos vengo aquí a ver si me podeis ayudar con un par de cosillas que me han surgido en conky
--La primera es saber si la columna- ventana que ocupa puede hacerse más ancha ya que me queda muy apretada.
--La segunda si hay algún método para que me queden en forma de tabla algunos datos, me refiero al desglose de la cpu específicamente que se me apelotona y no soy capaz de arreglarlo.
--Y por último me gustaría saber como poner eso que he visto en alguno de vosotros del número de actualizaciones y las cosas a actualizar o algo así.
Aquí os dejo una captura y el código para que me cometéis# 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 125 0
maximum_width 175
# 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 262524
# 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 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
SISTEMA ${hr 2}
Kernel: ${alignr}${kernel}
Actividad: ${alignr}${uptime}
Procesos: ${alignr}$processes
CPU: ${alignr}${cpu cpu0}%
Temperatura: ${alignr}${hwmon 0 temp 1} C
RAM: ${alignr}$memperc%
SWAP: ${alignr}$swapperc%
DESGLOSE CPU${hr 2}
NOMBRE${alignr}PID${alignr}CPU%${alignr}MEM%
${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
DESGLOSE MEM:${hr 2}
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${alignr}${upspeed wlan0} kb/s
Down: ${alignr}${downspeed wlan0} kb/s
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Señal: ${alignr}${wireless_link_qual wlan0}%
IP: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}${if_existing /proc/net/route eth0}
HDD LIBRE ${hr 2}
Sistema: ${alignr}${fs_free /} ${fs_free_perc /}%
Almacen: ${alignr}${fs_free /media/disk} ${fs_free_perc /media/disk}%
Lo primero, para hacer mas grande "la ventana" creo que se hace con lo siguiente:
# Minimum size of text area
minimum_size 100 0
maximum_width 150
Lo 2do, tendrás que hacer un pelín mas grande la ventana (con los "comandos" que te he puesto anteriormente) y usar "${alignr}" (r = right) o "${alignc}" (c = center) para alinear en la parte que quieras.
Cojo tu código y lo modifico, a ver como te queda, aunque posiblemente tengas que retocarlo un poco:# 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 165 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 262524
# 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 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
SISTEMA ${hr 2}
Kernel: ${kernel}
Actividad: ${alignr}${uptime}
Procesos: ${alignr}$processes
CPU: ${alignr}${cpu cpu0}%
Temperatura: ${alignr}${hwmon 0 temp 1} C
RAM: ${alignr}$memperc%
SWAP: ${alignr}$swapperc%
DESGLOSE CPU${hr 2}
NOMBRE${alignr}PID${alignr}CPU%${alignr}MEM%
${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
DESGLOSE MEM:${hr 2}
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${alignr}${upspeed wlan0} kb/s
Down: ${alignr}${downspeed wlan0} kb/s
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Señal: ${alignr}${wireless_link_qual wlan0}%
IP: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}${if_existing /proc/net/route eth0}
HDD LIBRE ${hr 2}
Sistema: ${alignr}${fs_free /} ${fs_free_perc /}%
Almacen: ${alignr}${fs_free /media/disk} ${fs_free_perc /media/disk}%
EDIT: Acabo de ver que ya lo tienes alineado, así que la única forma es hacer la "ventana" un pelin mas ancha, prueba con todo este código que te he puesto.
# 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 35
gap_y 30
# 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
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat shows number of connections from your computer and application/PID making it. Kill spyware!
#
# -- Pengo
#
# 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
# fiddle with window
use_spacer right
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=10
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 1
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown
own_window_transparent yes
# 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
gap_x 5
gap_y 35
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}SISTEMA ${hr 2}
${color red}${font openlogos:size=20}J$font${color white}$sysname $kernel on $machine$color
${color white}CPU ${hr 2}
${font StyleBats:size=16}A${font} CPU1: ${alignr}${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font} CPU2: ${alignr}${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font} RAM: ${alignr}$memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font} SWAP: ${alignr}$swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}$color
${color white}PROCESOS${hr 2} ${alignr}CPU% ${hr 2}
${top name 1} ${alignr} ${top cpu 1}
${top name 2} ${alignr} ${top cpu 2}
${top name 3} ${alignr} ${top cpu 3}
${top name 4} ${alignr} ${top cpu 4}$color
${color white}DISCOS DUROS ${hr 2}
Root: ${alignr}${fs_free_perc /}% ${alignr}${fs_bar 8,60 /}
home: ${alignr}${fs_free_perc /home/ruben}% ${alignr}${fs_bar 8,60 /home/ruben}
Ubuntu: ${alignr}${fs_free_perc /media/Ubuntu}% ${alignr}${fs_bar 8,60 /media/Ubuntu}
Fotos: ${alignr}${fs_free_perc /media/Fotos}% ${alignr}${fs_bar 8,60 /media/Fotos}
Windows: ${alignr}${fs_free_perc /media/Windows}% ${alignr}${fs_bar 8,60 /media/Windows}$color
${color white}INTERNET ${hr 2}${color white}
Down: ${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${color white}${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}$color
${color white}IP Local: ${alignr}${addr eth0}
IP Pública:$alignr${execi 600 /home/ruben/.scripts/wan-ip}$color
${color white}EL TIEMPO ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0082 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0082 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0082 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --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=SPXX0082 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0082 --datatype=HT}${font}
${voffset 0}${alignc 38}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=1 --shortweekday} ${alignc 5}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=2 --shortweekday} ${alignc -27}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=3 --shortweekday} ${alignc -60}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0082 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 24}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -6}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -37}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 25}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --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=SPXX0082 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0082 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0082 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0082 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0082 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0082 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}${color white}
# 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 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
${color ff0000}${font OpenLogos:size=60}J${font}${color white}
SISTEMA ${hr 3}
${voffset 2}${font OpenLogos:size=16}t${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}q${font} Actividad: ${alignr}${uptime}
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
HD ${hr 2}
${voffset 6}${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}
RED ${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 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${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}
${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 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${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}
${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 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
${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}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Network Unavailable
${endif}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 2
# 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 200 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 69abff
#default_shade_color black
#default_outline_color white
own_window_colour 69abff
# 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 30
# 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
${alignc}${font OpenLogos:size=32}J${font}
SISTEMA ${hr 2}
${voffset 5}${font StyleBats:size=16}8${font} ${voffset -4}Kernel: ${alignr}${kernel}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU1: ${freq_g 1} GHz ${alignr}${cpubar cpu1 8,60}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU2: ${freq_g 2} GHz ${alignr}${cpubar cpu2 8,60}
${voffset 5}${font StyleBats:size=16}g${font} ${voffset -4}RAM: $memperc% ${alignr}${membar 8,60}
${voffset 5}${font StyleBats:size=16}h${font} ${voffset -4}SWAP: $swapperc% ${alignr}${swapbar 8,60}
${voffset 5}${font StyleBats:size=16}q${font} ${voffset -4}Actividad: ${alignr}${uptime}
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
TEMP ${hr 2}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU: ${alignr}${platform it87.656 temp 1}°C
${voffset 5}${font StyleBats:size=16}u${font} ${voffset -4}M/B: ${alignr}${platform it87.656 temp 2}°C
${voffset 5}${font StyleBats:size=16}j${font} ${voffset -4}SDA: ${alignr}${hddtemp /dev/sda}°C
${voffset 5}${font StyleBats:size=16}j${font} ${voffset -4}SDB: ${alignr}${hddtemp /dev/sdb}°C
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}RAIZ:
${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_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font} ${voffset -5}SDB:
${voffset 4}${fs_used /media/sdb}/${fs_size /media/sdb} ${alignr}${fs_bar 8,60 /media/sdb}
${font Pie charts for maps:size=14}7${font} ${voffset -5}FAT32:
${voffset 4}${fs_used /media/fat32}/${fs_size /media/fat32} ${alignr}${fs_bar 8,60 /media/fat32}
RED ${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} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${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} Ip Local: ${alignr}${addr eth0}
${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} Ip Local: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
PROCESOS ${hr 2}
${alignr 32}CPU ${alignr 2}RAM
${top name 1} ${alignr 20}${top cpu 1} ${alignr}${top mem 1}
${top name 2} ${alignr 20}${top cpu 2} ${alignr}${top mem 2}
${top name 3} ${alignr 20}${top cpu 3} ${alignr}${top mem 3}
${top name 4} ${alignr 20}${top cpu 4} ${alignr}${top mem 4}
TIEMPO ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0070 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0070 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0070 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --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=SPXX0070 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0070 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0070 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --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=SPXX0070 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0070 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0070 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0070 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0070 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0070 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
#gap_x 15
gap_y 35
use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 262523
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
minimum_size 200 5
maximum_width 200
default_shade_color black
default_outline_color black
default_color acaeac #cdcdcd #BADCDD #262523
use_spacer none
no_buffers yes
uppercase no
update_interval 2
TEXT
CPU: ${cpu cpu1}%${alignr}Temp: ${hwmon 0 temp 3}°C
${cpugraph 15,200 B56F6A B56F6A}
RAM: $memperc%${alignr}$mem / $memmax
${membar}
Swap: $swapperc%${alignr}$swap / $swapmax
${swapbar}
Trabajando desde: ${alignr}${uptime_short}
Down: ${downspeed eth0} Kb/s ${alignr}Up: ${upspeed eth0} Kb/s
${downspeedgraph eth0 15,95 30832E 30832E} ${alignr}${upspeedgraph eth0 15,95 3148C8 3148C8}
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Raiz: $alignr${fs_free /} lib / ${fs_size /}
Home: $alignr${fs_free /home} lib / ${fs_size /home}
Descarg: $alignr${fs_free /media/Descargas} lib / ${fs_size /media/Descargas}
WinXP: $alignr${fs_free /media/WinXP} lib / ${fs_size /media/WinXP}
${color ffffff}CPU en uso $alignr${font}PID %
${color cdcdcd} ${top name 1} $alignr${top pid 1} ${top cpu 1}
${top name 2} $alignr${top pid 2} ${top cpu 2}
${top name 3} $alignr${top pid 3} ${top cpu 2}
${color ffffff}Memoria en uso
${color cdcdcd} ${top_mem name 1} $alignr${top_mem pid 1} ${top_mem mem 1}
${top_mem name 2} $alignr${top_mem pid 2} ${top_mem mem 2}
${top_mem name 3} $alignr${top_mem pid 3} ${top_mem mem 3}
#gap_x 10
gap_y 435
use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 262523
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
minimum_size 200 5
maximum_width 200
default_shade_color black
default_outline_color black
default_color acaeac #262523
use_spacer none
no_buffers yes
uppercase no
update_interval 120
TEXT
${color ffffff}Jorge Gmail:$alignr${execpi 300 python ~/.conky/scripts/gmail_parser.py user xxxxxxx 3}${color ffffff}Jorge Terra:${color}$alignr${execi 60 python ~/.conky/scripts/conkyEmail.py --servertype=POP --servername=pop3.terra.es --username=user --password=xxxxxxx} mensaje(s)
${color ffffff}Laura Terra:${color}$alignr${execi 60 python ~/.conky/scripts/conkyEmail.py --servertype=POP --servername=pop3.terra.es --username=user --password=xxxxxx} mensaje(s)${color}
${hr 1}
${font verdana:size=7}${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=DW}: ${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=CC}
${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=HT} Viento del ${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=WD} a ${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=WS}
Humedad: ${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=HM} Presion: ${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --datatype=BR}
--------------------------------------------------
${font verdana:size=7}${execi 3600 python ~/.conky/scripts/conkyForecast.py --location=SPXX0084 --template=/home/jorge/.conky/myweather.template}${hr 1}
jerich0 escribió:Si pongo:
override_utf8_locale yes
Me funcionan bien los acentos.... pero el ConkyForeCast NO ME MUESTRA el símbolo especial de grados "º", mostrándome su símbolo especial de codificación.
# Mostrar el nombre de la canción
${exec audtool --current-song}
# Mostrar progreso en MM:SS / duración total
${exec audtool --current-song-output-length} / ${exec audtool --current-song-length}
# apt-get install audacious audacious-dev
# tar xjvf conky-1.6.1.tar.bz2
# cd conky-1.6.1
# ./configure --enable-audacious
# make && make install
# Mostrar título
${audacious_title 180}
# Mostrar status del reproductor
${audacious_status}
# Mostrar progreso en MM:SS / duración total
${audacious_position} / ${audacious_length}${font}
# Mostrar barra de progreso
${audacious_bar 8,185}
resadent escribió:Mi .conkyrc:background yes
use_xft yes
xftfont 123:size=9
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 150
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color white
default_outline_color white
alignment top_right
gap_x 10
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
use_spacer yes
override_utf8_locale yes
color1 white
color6 0900FE #azul
mpd_host localhost
mpd_port 6600
TEXT
${font openlogos:size=20}${color white}$alignc B
${voffset -50}
${voffset -40}
${font}${color white}Info ${hr 2}$color
${font}${alignc}${color white}${time %H:%M}, ${font}${alignc}${time %A %d} de ${time %B} de ${time %Y}
Tiempo iniciado: $alignr $uptime
HDD I/O: $alignr ${diskio}B/s
RAM: ${mem} / ${memmax} $alignr $memperc%
CPU: $alignr${cpu cpu}% @ ${freq_g cpu}Ghz
${cpugraph cpu}
Calendario ${hr 2}$color
${font Zekton:size=9}${alignc}${time %B} de ${time %Y}
${color 6b6b6b}${font Bitstream Vera Sans Mono:size=9}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color6}'"$DJS"'${color1}'" "/}
${font}${color white}Música ${hr 2}$color
${mpd_bar}
Título: ${mpd_title} - ${mpd_elapsed}/${mpd_length}
Álbum: ${mpd_album}
Artista: ${mpd_artist}
${color white}Particiones ${hr 2}$color
ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
HOME $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
WINDOWS $alignc ${fs_used /media/windows} / ${fs_size /media/windows} $alignr ${fs_used_perc /media/windows}%
${fs_bar /media/windows}
${color white}Procesos ${hr 2}$color
CPU $alignr PID CPU% MEM%
${top name 1}$alignr${top pid 1}${top cpu 1}${top mem 1}
${top name 2}$alignr${top pid 2}${top cpu 2}${top mem 2}
${top name 3}$alignr${top pid 3}${top cpu 3}${top mem 3}
RAM $alignr PID CPU% MEM%
${top_mem name 1}$alignr${top_mem pid 1}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3}${top_mem cpu 3}${top_mem mem 3}
RED ${hr 2}$color
IP de eth0 $alignr ${addr eth0}
BAJADA $alignr SUBIDA
$alignc ${downspeedgraph eth0 32,150} ${upspeedgraph eth0 32,150}
${downspeed eth0}KB/s $alignr ${upspeed eth0}KB/s
BAJADO ${totaldown eth0} $alignr SUBIDO $alignr${totalup eth0}
Un saludo saludete. Llevaba tiempo queriendo hacer un hilo así, pero te me has adelantado
dark_hunter escribió:Buenas, me he puesto tu script y me va bien salvo el logo que se me ve muy pequeño, si le pongo esto (lo que yo creia era el tamaño):
${font openlogos:size=20}${color white}$alignc B
me sale el logo igual de pequeño pero con más espacio debajo respecto a la siguiente sección.
La fuente que he instalado es openlogos, la misma que pone ahí pero en vez de salirme solo el logo de Arch al lado también pone archlinux. Es culpa de la fuente o el tamaño se cambia desde otro sitio?
${voffset -50}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 2
# 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 200 0
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline yes
# 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 0C7DFF
#default_shade_color black
#default_outline_color white
own_window_colour 000000
# 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 30
# 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
${alignc}${font OpenLogos:size=32}J${font}
SISTEMA ${hr 2}
${voffset 5}${font StyleBats:size=16}8${font} ${voffset -4}Kernel: ${alignr}${kernel}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU1: ${freq_g 1} GHz ${alignr}${cpubar cpu1 8,60}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU2: ${freq_g 2} GHz ${alignr}${cpubar cpu2 8,60}
${voffset 5}${font StyleBats:size=16}g${font} ${voffset -4}RAM: $memperc% ${alignr}${membar 8,60}
${voffset 5}${font StyleBats:size=16}h${font} ${voffset -4}SWAP: $swapperc% ${alignr}${swapbar 8,60}
${voffset 5}${font StyleBats:size=16}q${font} ${voffset -4}Actividad: ${alignr}${uptime}
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
TEMP ${hr 2}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU: ${alignr}${platform it87.656 temp 1}°C
${voffset 5}${font StyleBats:size=16}u${font} ${voffset -4}M/B: ${alignr}${platform it87.656 temp 2}°C
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}RAIZ:
${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_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font} ${voffset -5}DATOS:
${voffset 4}${fs_used /media/datos}/${fs_size /media/datos} ${alignr}${fs_bar 8,60 /media/datos}
RED ${hr 2}
${if_existing /proc/net/route rausb0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed rausb0} kb/s ${alignr}${upspeedgraph rausb0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed rausb0} kb/s ${alignr}${downspeedgraph rausb0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup rausb0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown rausb0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Señal: ${wireless_link_qual rausb0}% ${alignr}${wireless_link_bar 8,60 rausb0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr rausb0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip publica: ${alignr}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${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} Ip Local: ${alignr}${addr eth0}
${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} Ip Local: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
PROCESOS ${hr 2}
${alignr 32}CPU ${alignr 2}RAM
${top name 1} ${alignr 20}${top cpu 1} ${alignr}${top mem 1}
${top name 2} ${alignr 20}${top cpu 2} ${alignr}${top mem 2}
${top name 3} ${alignr 20}${top cpu 3} ${alignr}${top mem 3}
${top name 4} ${alignr 20}${top cpu 4} ${alignr}${top mem 4}
Tiemp en Hospitalet ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0049 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0049 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0049 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --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=SPXX0049 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0049 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0049 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --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=SPXX0049 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0049 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0049 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0049 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0049 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0049 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
Darkcaptain escribió:Juraría que tienes que instalar el "Conkeyforecast", sin ello aunque en la config. del conky tengas todos los datos no lo vas a poder hacer rular.
El .deb del conkeyforecast lo puedes encontrar en Gnome-look, creo que aquí venía:
http://gnome-look.org/content/show.php/ ... tent=92328
Dentro de la carpeta ".scripts" (que está oculta)
chiribe escribió:¿Sabeis algo para añadir alertas rss al conky? Algo he leido por ahí en ingles, pero no vi una estructura clara de hacerlo, en windows lo tengo a través del yahoo gaget y tan solo tienes que añadir la url y te va mostrando los x ultimas noticias.
rss - url delay_in_minutes action item_num - Download and parse RSS feeds. Action may be one of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles.
${rss http://lalala.com/feed 60 feed_title} ${rss http://lalala.com/feed 60 item_titles 5}
amuchamu escribió:chiribe escribió:¿Sabeis algo para añadir alertas rss al conky? Algo he leido por ahí en ingles, pero no vi una estructura clara de hacerlo, en windows lo tengo a través del yahoo gaget y tan solo tienes que añadir la url y te va mostrando los x ultimas noticias.rss - url delay_in_minutes action item_num - Download and parse RSS feeds. Action may be one of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles.
http://conky.sourceforge.net/variables.html
Sería, por ejemplo:${rss http://lalala.com/feed 60 feed_title} ${rss http://lalala.com/feed 60 item_titles 5}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 2
# 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 200 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_shade_color black
#default_outline_color 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 35
gap_y 30
# 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
${hr 1}
${font DejaVu Sans:style=Bold:size=8}Xataka
${voffset 3}${font DejaVu Sans:size=7}${rss http://feeds.weblogssl.com/xataka2 15 item_titles 6}
${hr 1}
${font DejaVu Sans:style=Bold:size=8}Genbeta
${voffset 3}${font DejaVu Sans:size=7}${rss http://feeds.weblogssl.com/genbeta 15 item_titles 6}
${hr 1}
${font DejaVu Sans:style=Bold:size=8}ElOtroLado.net
${voffset 3}${font DejaVu Sans:size=7}${rss http://www.elotrolado.net/feed.php?t=1 15 item_titles 6}
SISTEMA ${hr 2}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU1: ${freq 1} MHz ${alignr}${cpubar cpu1 8,60}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}CPU2: ${freq 2} MHz ${alignr}${cpubar cpu2 8,60}
${voffset 5}${font StyleBats:size=16}a${font} ${voffset -4}Core Temp: ${acpitemp} ºC ${alignr}
${voffset 5}${font StyleBats:size=16}g${font} ${voffset -4}RAM: $memperc% ${alignr}${membar 8,60}
${voffset 5}${font StyleBats:size=16}q${font} ${voffset -4}Actividad: ${alignr}${uptime}
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}SISTEMA:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font} ${voffset -5}DATOS:
${voffset 4}${fs_used /media/disk}/${fs_size /media/disk} ${alignr}${fs_bar 8,60 /media/disk}
RED ${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} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Pública: ${execi 3600 curl www.whatismyip.org}
${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} Ip Local: ${alignr}${addr eth0}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
Relasix escribió:Tengo una duda.
¿Donde va el archivo de configuracion de Coknky?