› Foros › PC › Software libre
NesKy escribió:A ver, instalo el Conky desde la repos de Ubuntu 8.10 todo bien pero no veo por ningun lado el fichero oculto ".coknky".
Luego me he bajado la version de la web. La he extraido y la he intentado preparar con "/sudo ./configure". Todo ok. Luego la compilo con "/sudo make install" todo ok. Y AHORA QUE!!!
Si ejecuto "conky" en el shell solo me sale una ventanita abajo a la izquierda (bottom_left). He intentado editar el archivo que he extraido en la carpeta /home/usuario/conky/data/conky.conf ; pero nanai.
Alguna ayuda. Estoy desesperado ya con las p**** compilaciones!
resadent escribió:NesKy escribió:A ver, instalo el Conky desde la repos de Ubuntu 8.10 todo bien pero no veo por ningun lado el fichero oculto ".coknky".
Luego me he bajado la version de la web. La he extraido y la he intentado preparar con "/sudo ./configure". Todo ok. Luego la compilo con "/sudo make install" todo ok. Y AHORA QUE!!!
Si ejecuto "conky" en el shell solo me sale una ventanita abajo a la izquierda (bottom_left). He intentado editar el archivo que he extraido en la carpeta /home/usuario/conky/data/conky.conf ; pero nanai.
Alguna ayuda. Estoy desesperado ya con las p**** compilaciones!
1. No hay ningún fichero oculto ni nada. El fichero lo creas tú llamándolo "~/.conkyrc".
2. El programa así está perfectamente instalado.
3. Es normal que no salga nada, ya que no hay archivo de configuración ya que el archivo de configuración no va ahí, pero podrías cargarlo desde ahí haciendo "conky -c /home/usuario/conky/data/conky.conf".
alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no
TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
NesKy escribió:Acabo de hacer lo que me has comentado. Ademas he instalado las fuentes del conkycolors, el conkymail y el conkyforecast ("paluego"). Pero al tipear "$conky" me sale el siguiente error:
Conky: missing text block in configuration; exiting
No lo entiendo si no he tocado nada del conky.conf.
pasteles escribió:Buenas, ¿sabéis si conky se puede dividir en varias columnas?
codestation escribió:NesKy escribió:Acabo de hacer lo que me has comentado. Ademas he instalado las fuentes del conkycolors, el conkymail y el conkyforecast ("paluego"). Pero al tipear "$conky" me sale el siguiente error:
Conky: missing text block in configuration; exiting
No lo entiendo si no he tocado nada del conky.conf.
No le estas indicando la ruta al archivo de configuración. O ejecutas conky con "conky -c /<ruta_al_archivo>/conky.conf" o pones el archivo de configuración en la posición por defecto para usuarios comunes osea ~/.conkyrc y lo ejecutas simplemente como "conky"
NesKy escribió:codestation escribió:NesKy escribió:Acabo de hacer lo que me has comentado. Ademas he instalado las fuentes del conkycolors, el conkymail y el conkyforecast ("paluego"). Pero al tipear "$conky" me sale el siguiente error:
Conky: missing text block in configuration; exiting
No lo entiendo si no he tocado nada del conky.conf.
No le estas indicando la ruta al archivo de configuración. O ejecutas conky con "conky -c /<ruta_al_archivo>/conky.conf" o pones el archivo de configuración en la posición por defecto para usuarios comunes osea ~/.conkyrc y lo ejecutas simplemente como "conky"
Es lo que he hecho. He copiado el archivo de la carpeta "/conky-1.6.1/data/conky.cong" a la carpeta "/home/.conkyrc". Puede que tenga que volver a empezar desde 0, a lo mejor se me ha quedado algun archivo corrupto o algo...
resadent escribió:1. Es conky .conf.
2. Es /home/tuusiario/.conkyrc.
3. ¿No lo estarás ejecutando como root verdad?
NesKy escribió:resadent escribió:1. Es conky .conf.
2. Es /home/tuusiario/.conkyrc.
3. ¿No lo estarás ejecutando como root verdad?
1. Fallo mio con el teclado...
2. En mi PC solo estoy yo. No tengo ninguna carpeta con mi nombre, lo tengo todo en /home. Esta tarde lo pruebo a ver. Ahora estoy en el curro y no me acuerdo muy bien.
3. No, no. En la consola tengo siempre el $.
NesKy escribió:Estoy igual. Si, lo tenia en "/home/usuario/.conkyrc". Pero nada, y ahora si quiero empezar otra vez desde 0 como lo hago. Como "desinstalo" el conky? Es que llevo haciendo el comando "$sudo aptitude install conky" 10 veces ya.
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $
alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no
TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
amuchamu escribió:Si no has modificado el /etc/X11/conky/conky.conf, ¿haciendo
conky -c /etc/X11/conky/conky.conf
también te sale el mensajito?
cp /etc/xdg/conky/conky.conf ~/.conkyrc
Relasix escribió:El problema es que cuando pongo un nuevo script completo no funciona.
NesKy escribió:Tengo problemas con la cuenta en "weather.com". Parece como que tengas que pagar para creartela, al final no se como parece que me acepta el login con mi correo electrónico y una contraseña.
La pregunta es:¿Tengo que poner el email y la contraseña en el "conkyForecast.config" o son otros parámetros?
NesKy escribió:NesKy escribió:Tengo problemas con la cuenta en "weather.com". Parece como que tengas que pagar para creartela, al final no se como parece que me acepta el login con mi correo electrónico y una contraseña.
La pregunta es:¿Tengo que poner el email y la contraseña en el "conkyForecast.config" o son otros parámetros?
Alguna ayudita con el conkyforecast??
NesKy escribió:Es lo que he hecho al ver la avalancha de respuestas. De todas formas gracias simpático, ya se lo que hacer cuando vea una pregunta al lado de la foto de Camacho.
NesKy escribió:Es lo que he hecho al ver la avalancha de respuestas.
NesKy escribió:De todas formas gracias simpático, ya se lo que hacer cuando vea una pregunta al lado de la foto de Camacho.
amuchamu escribió:Por mi parte a resadent le responderé siempre que pueda, ayuda mucho por aquí aunque algunos no lo sepan ver.
NesKy escribió:Ha sido solo la frustración que llevaba dentro de estos días trasteando cosas. No hace falta que me digan donde y como tengo que buscar que yo ya lo sé, posteo preguntas por ver si sólo son chorradas que se pueden contestar rápidamente, y por lo que he ido indagando yo solito así ha sido. No pretendo que me solucionen todo claro esta.
Bueno dejémoslo .
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
cpu_avg_samples 2
#position
gap_x 6
gap_y 6
alignment top_left
#behaviour
update_interval 1
#colour
default_color 797979
#default_shade_color 000000
own_window_colour E8E8E8
#font
use_xft yes
xftfont bauhaus:pixelsize=14
#to prevent window from moving
use_spacer no
minimum_size 1280 0
TEXT
${goto 10}${color CCCCCC}|| ${color}${time %d %B} ${color 384169}${time %H:%M} ${color CCCCCC}|| ${color} Actividad: ${color 384169}${uptime_short} ${goto 300}${color CCCCCC}|| ${color}Cpu1: ${color 384169}${cpu cpu1}${goto 382}% ${goto 400}${color}Cpu2: ${color 384169}${cpu cpu2}${goto 463}% ${goto 490}${color}Frec: ${color 384169}${freq CPU}Mhz ${goto 600}${color CCCCCC}|| ${color }Mem: ${color 384169}$mem - $memperc% ${color CCCCCC}|| ${color}TempCpu: ${color 384169}${acpitemp THRM}.C ${color CCCCCC}|| ${color}TempGpu: ${color 384169}${execi 30 nvidia-settings -q gpucoretemp |grep '):' | awk '{print $4}'}C ${color CCCCCC}|| ${color}Kernel: ${color 384169}${kernel} ${color CCCCCC}||
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
update_interval 1
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
color1 orange
color2 003300
short_units yes
TEXT
${color0}${font OpenLogos:size=15}B ${font verdana}Archlinux
${color2}${alignc}————————————————
${font}${color0}Kernel${alignr}${kernel}
${color1}Host${alignr}$nodename
${color0}Uptime${alignr}$uptime
${color1}Carga${alignr}${loadavg}
${color0}Temperaturas${alignr}${execi 5 cat /proc/acpi/thermal_zone/TZS0/temperature | cut -c26-27}ºC y ${execi 5 cat /proc/acpi/thermal_zone/TZS1/temperature | cut -c26-27}ºC
${color2}${alignc}————————————————
${font}${color1}CPU@$freq${alignr}${cpu cpu1}·${cpu cpu2}% ${cpubar cpu1
7,30} ${cpubar cpu2 7,30}
${color0}RAM${alignr}$mem ${membar 7,64}
${color1}SWAP${alignr}$swap ${swapbar 7,64}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}Batería${alignr}${battery_percent BAT0}% ${battery_bar
7,64 BAT0}
${color1}Webcam${alignr}${if_existing
/dev/v4l/video0}activada${else}desactivada${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}/${alignr}${fs_free /} ${fs_bar 7,64 /}
${color1}/home${alignr}${fs_free /home} ${fs_bar 7,64 /home}
${color0}win2${alignr}${fs_free /media/windows} ${fs_bar 7,64 /media/windows}
${color1}datos${alignr}${fs_free /media/DATA} ${fs_bar 7,64 /media/DATA}
${font arial:size=3}
${color2}${alignc}————————————————
${font}${if_existing /proc/net/route wlan0}${color0}Up${alignr}${upspeedf
wlan0}k ${upspeedgraph wlan0 7,64}
${color1}Down${alignr}${downspeedf wlan0}k ${downspeedgraph wlan0 7,64}
${color0}Total U/D${alignr}${totalup wlan0}/${totaldown wlan0}
${color1}ESSID${alignr}${wireless_essid wlan0}
${color0}Señal${alignr}${wireless_link_qual wlan0}% ${wireless_link_bar
7,64 wlan0}
${color1}IP local${alignr}${addr wlan0}
${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}
${else}${color0}Sin red${endif}${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}${top name 1}${alignr}${top cpu 1}%
${color1}${top name 2}${alignr}${top cpu 2}%
${color0}${top name 3}${alignr}${top cpu 3}%
${color1}${top name 4}${alignr}${top cpu 4}%${font arial:size=3}
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
cpu_avg_samples 2
#position
gap_x 0
gap_y 0
alignment top_right
#behaviour
update_interval 1
#colour
default_color FFFFFFF
#default_shade_color 000000
own_window_colour 000000
#font
use_xft yes
xftfont bauhaus:pixelsize=8
#to prevent window from moving
use_spacer no
minimum_size 180 0
maximum_width 180 0
TEXT
${if_running amarokapp}${color #F6FF66}Reproduciendo: ${color #FFFFFF}${scroll 30 ~ ${execi 2 dcop amarok player artist} ${execi 2 dcop amarok player title} }
${execi 2 dcop amarok player currentTime}/${execi 10 dcop amarok player totalTime}${alignr}Vol:${execi 10 dcop amarok player getVolume}%${else} Amarok Detenido${endif}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=10
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 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 4d77b1
#default_shade_color white
default_color 33558F
default_shade_color 112244
default_outline_color 050520
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 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${color FFFFFF}SISTEMA ${hr 2}${color}
${voffset 2}${font OpenLogos:size=25}J${font} Kernel: ${alignr}${kernel}
CPU0: ${cpu cpu1}% ${alignr}CPU1: ${cpu cpu2}%
${alignc} ${cpugraph cpu1 12,75 773377 0099FF} ${cpugraph cpu2 12,75 0099FF 773377}
CPU2: ${cpu cpu3}% ${alignr}CPU3: ${cpu cpu4}%
${alignc} ${cpugraph cpu3 12,75 773377 0099FF} ${cpugraph cpu4 12,75 0099FF 773377}
${alignc} Freq : ${freq 1} MHz
${alignc} Temp : ${hwmon 0 temp 2} ºC
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}q${font} Activitat: ${alignr}${uptime}
${color FFFFFF}DATA ${hr 2}${color}
${alignc 25}${font Arial Black:size=20}${time %H:%M}${font}
${alignc}${time %A, %d de %B de %Y}
${color FFFFFF}HD ${hr 2}${color}
${voffset 4}${font Pie charts for maps:size=12}7${font}${voffset -5}${font Arial:size=3} ${font}┌ Debian GNU/Linux System:
├ /${font Arial:size=9} ${alignr}${fs_used /}/${fs_size /}${font} ${fs_bar 7,45 /}
├ /boot${font Arial:size=9} ${alignr}${fs_used /boot}/${fs_size /boot}${font} ${fs_bar 7,45 /boot}
├ /usr${font Arial:size=9} ${alignr}${fs_used /usr/}/${fs_size /usr/}${font} ${fs_bar 7,45 /usr}
├ log${font Arial:size=9} ${alignr}${fs_used /var/log}/${fs_size /var/log}${font} ${fs_bar 7,45 /var/log}
└ /tmp${font Arial:size=9} ${alignr}${fs_used /tmp}/${fs_size /tmp}${font} ${fs_bar 7,45 /tmp}
${voffset 4}${font Pie charts for maps:size=12}7${font} ${voffset -5}Home:
${voffset 4}${fs_used /home/}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${if_existing /media/Disc1}${voffset 4}${font Pie charts for maps:size=12}7${font} ${voffset -5}Disc 1:
${voffset 4}${fs_used /media/Disc1}/${fs_size /media/Disc1} ${alignr}${fs_bar 8,60 /media/Disc1}
${endif}${voffset 4}${font Pie charts for maps:size=12}7${font} ${voffset -5}Disc 2:
${voffset 4}${fs_used /media/Disc2}/${fs_size /media/Disc2} ${alignr}${fs_bar 8,60 /media/Disc2}
${color FFFFFF}XARXA ${hr 2}${color}
${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 11,70 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 11,70 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}${pre_exec wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${else}
${font PizzaDude Bullets:size=14}4${font} Xarxa No disponible
${endif}
${if_running audacious1}${color FFFFFF}MÚSICA ${hr 2}${color}
${alignc}${exec audtool --playback-status}
${font Arial:size=35}♫${font} ${exec audtool --current-song}
${endif}
!/bin/bash
/bin/sleep 40
/usr/bin/conky
#!/bin/bash
sleep 60 && conky;
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
alignment tr
gap_x 10
gap_y 34
minimum_size 140 556
maximum_width 140
draw_shades no
draw_outline no
border_margin 5
border_width 0
font 5x7
font arial
use_xft yes
xftfont terminus:size=8
xftalpha 0.8
update_interval 10
total_run_times 0
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
use_spacer none
short_units yes
default_color DCDCCC
TEXT
${font ConkyWind:size=28}${alignr 20}${head /sys/class/backlight/acpi_video0/actual_brightness 1 10}${exec ~/Scripts/conky_audio.sh}
${alignr 20}${exec ~/Scripts/conky_batt.sh}${if_existing /sys/class/power_supply/ADP1/online 1}o${else}n${endif}
${alignr 20}${if_existing /dev/v4l/video0}m${else}l${endif}${if_existing /proc/net/route ra0}${exec ~/Scripts/conky_wifi.sh}${else}${if_existing /proc/net/route eth0}K${else}q${endif}${endif}$font
${font arial:size=3}
${stippled_hr}
${font}CPU${alignr 21}${freq}Mhz${alignr}${exec cat /proc/acpi/thermal_zone/THRM/temperature | cut -d " " -f 14}ºC
${cpu cpu1}·${cpu cpu2}%${alignr 6}${cpugraph cpu1 7,40} ${cpugraph cpu2 7,40}
RAM${alignr}$mem ${membar 7,40}
SWAP${alignr}$swap ${swapbar 7,40}
Uptime${alignr}$uptime
Batería${if_existing /sys/class/power_supply/ADP1/online 1} ${font Webdings:size=7}~$font${endif}${alignr}${battery_time BAT1}${font arial:size=3}
${stippled_hr}
${font}/${alignr}${fs_free /} ${fs_bar 7,40 /}
/home${alignr}${fs_free /home} ${fs_bar 7,40 /home}${if_existing /proc/net/route ra0}${font arial:size=3}
${stippled_hr}
${font}▲${alignr}${upspeedf ra0}k»${totalup ra0} ${upspeedgraph ra0 7,40}
▼${alignr}${downspeedf ra0}k»${totaldown ra0} ${downspeedgraph ra0 7,40}
ESSID ${alignr}${wireless_essid ra0}
IP local${alignr}${addr ra0}
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}${font arial:size=3}
${stippled_hr}
${font}▲${alignr}${upspeedf eth0}k»${totalup eth0}${upspeedgraph eth0 7,40}
▼${alignr}${downspeedf eth0}k»${totaldown eth0} ${downspeedgraph eth0 7,40}
IP local${alignr}${addr eth0}
IP pública${alignr}${texeci 300 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}${endif}${endif}${font arial:size=3}
${stippled_hr}
$font${top name 1}${alignr}${top cpu 1}%
${top name 2}${alignr}${top cpu 2}%
${top name 3}${alignr}${top cpu 3}%${font arial:size=3}
${stippled_hr}
${font}${texeci 300 ~/Scripts/conky_pacman.sh}
#!/bin/bash
if [ `amixer sget 'Master',0 | grep Mono: | cut -d [ -f 4 | cut -d ] -f 1` == "off" ]; then
echo 'r'
else
VALOR=`amixer sget 'Master',0 | grep Mono: | cut -d [ -f 2 | cut -d % -f 1`
if [ $VALOR -le 5 ]; then echo 'u'
elif [ $VALOR -le 15 ]; then echo 'v'
elif [ $VALOR -le 25 ]; then echo 'w'
elif [ $VALOR -le 35 ]; then echo 'x'
elif [ $VALOR -le 45 ]; then echo 'y'
elif [ $VALOR -le 55 ]; then echo 'z'
elif [ $VALOR -le 65 ]; then echo ':'
elif [ $VALOR -le 75 ]; then echo ';'
elif [ $VALOR -le 85 ]; then echo '.'
elif [ $VALOR -le 95 ]; then echo ','
else echo '9'
fi
fi
#!/bin/bash
TOTAL=`cat /sys/class/power_supply/BAT1/charge_full`
AHORA=`cat /sys/class/power_supply/BAT1/charge_now`
PARCIAL=$((AHORA*100/TOTAL))
if [ $PARCIAL -le 5 ]; then echo 'a'
elif [ $PARCIAL -le 15 ]; then echo 'b'
elif [ $PARCIAL -le 25 ]; then echo 'c'
elif [ $PARCIAL -le 35 ]; then echo 'd'
elif [ $PARCIAL -le 45 ]; then echo 'e'
elif [ $PARCIAL -le 55 ]; then echo 'f'
elif [ $PARCIAL -le 65 ]; then echo 'g'
elif [ $PARCIAL -le 75 ]; then echo 'h'
elif [ $PARCIAL -le 85 ]; then echo 'i'
elif [ $PARCIAL -le 95 ]; then echo 'j'
else echo 'k'
fi
#!/bin/bash
Q=`pacman -Qu`
T=`echo $Q | grep "no se encontraron actualizaciones"`
if [ "$T" == "" ]; then
TOTAL=`echo $Q | cut -d 'O' -f 2 | cut -d '(' -f 2 | cut -d ')' -f 1`
# L=`echo $Q | sed -e s/.*\):' '// -e s/' 'Tamaño.*//`
if [ "$TOTAL" == "1" ]; then
echo "1 actualización"
else
echo "$TOTAL actualizaciones"
fi
# (for i in $L; do
# echo $i
# done) | sed -e s/-[0-9].*//
else
echo "Sistema actualizado"
fi
#!/bin/bash
CAL=`iwconfig ra0 | grep Quality | cut -d = -f 2 | cut -d / -f 1`
if [ $CAL -le 5 ]; then echo 'U'
elif [ $CAL -le 15 ]; then echo 'V'
elif [ $CAL -le 25 ]; then echo 'W'
elif [ $CAL -le 35 ]; then echo 'X'
elif [ $CAL -le 45 ]; then echo 'Y'
elif [ $CAL -le 55 ]; then echo 'Z'
elif [ $CAL -le 65 ]; then echo '?'
elif [ $CAL -le 75 ]; then echo '!'
elif [ $CAL -le 85 ]; then echo '%'
elif [ $CAL -le 95 ]; then echo '&'
else echo 'p'
fi
hjs escribió:Buenas, tengo un problemilla a la hora de iniciar conky, si lo añado en la ventana Sesiones directamente se me carga demasiado pronto y al cargase compiz se me queda la ventana de conky sobrepuesta a las otras por lo que toca cerrar el proceso y abrirlo de nuevo. Mirando por google (y también comentado en este post) he visto que la gente suele hacerse un script para inciar conky al cabo de un rato, el problema es que no se que hago mal pero no se me inicia el script :S
#!/bin/bash
if [ `amixer sget 'Master',0 | grep "Mono: Playback" | cut -c37-39` == "off" ]; then
echo 'r'
else
VALOR=`amixer sget 'Master',0 | grep "Mono: Playback" | cut -c22-23`
if [ $VALOR -le 5 ]; then echo 'u'
elif [ $VALOR -le 15 ]; then echo 'v'
elif [ $VALOR -le 25 ]; then echo 'w'
elif [ $VALOR -le 35 ]; then echo 'x'
elif [ $VALOR -le 45 ]; then echo 'y'
elif [ $VALOR -le 55 ]; then echo 'z'
elif [ $VALOR -le 65 ]; then echo ':'
elif [ $VALOR -le 75 ]; then echo ';'
elif [ $VALOR -le 85 ]; then echo '.'
elif [ $VALOR -le 95 ]; then echo ','
else echo '9'
fi
fi
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
update_interval 1
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
#color1 orange
color3 darkred
color1 dark blue
color2 003300
short_units yes
TEXT
${color1}${font OpenLogos:size=15}B ${font verdana}Archlinux
${color2}${alignc}————————————————————————————————————————
${color0}${font ConkyWind:size=28}${alignc}${head /sys/class/backlight/acpi_video0/actual_brightness 1 10}${execi 5 ~/.conky_scripts/conky_audio.sh}${execi 5 ~/.conky_scripts/conky_batt.sh}${if_existing /sys/class/power_supply/ADP0/online 1}o${else}n${endif}
${alignc }${if_existing /dev/v4l/video0}m${else}l${endif}${if_existing /proc/net/route wlan0}${execi 5 ~/.conky_scripts/conky_wifi.sh}${else}${if_existing /proc/net/route eth0}K${else}q${endif}${endif}$font
${color2}${alignc}————————————————
${font}${color1}Kernel${alignr}${kernel}
${color0}Host${alignr}$nodename
${color1}Uptime${alignr}$uptime
${color0}Carga${alignr}${loadavg}
${color1}Temperaturas${alignr}${execi 5 cat /proc/acpi/thermal_zone/TZS0/temperature | cut -c26-27}ºC y ${execi 5 cat /proc/acpi/thermal_zone/TZS1/temperature | cut -c26-27}ºC
${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}/${alignr}${fs_free /} ${fs_bar 7,64 /}
${color0}winsux${alignr}${fs_free /media/windows} ${fs_bar 7,64 /media/windows}
${color1}datos${alignr}${fs_free /media/DATA} ${fs_bar 7,64 /media/DATA}
${font arial:size=3}
${color2}${alignc}————————————————
${font}${if_existing /proc/net/route wlan0}${color0}Up${alignr}${upspeedf
wlan0}k ${upspeedgraph wlan0 7,64}
${color1}Down${alignr}${downspeedf wlan0}k ${downspeedgraph wlan0 7,64}
${color0}Total U/D${alignr}${totalup wlan0}/${totaldown wlan0}
${color1}ESSID${alignr}${wireless_essid wlan0}
${color0}Señal${alignr}${wireless_link_qual wlan0}% ${wireless_link_bar
7,64 wlan0}
${color1}IP local${alignr}${addr wlan0}
${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}
${else}${color3}Sin red${endif}${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}${top name 1}${alignr}${top cpu 1}%
${color1}${top name 2}${alignr}${top cpu 2}%
${color0}${top name 3}${alignr}${top cpu 3}%
${color1}${top name 4}${alignr}${top cpu 4}%${font arial:size=3}
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
update_interval 1
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 380
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
#color1 orange
color3 darkred
color1 dark blue
color2 003300
short_units yes
#SENSORES
#${color0}${font ConkyWind:size=28}${alignc}${head /sys/class/backlight/acpi_video0/actual_brightness 1 10}${execi 5 ~/.conky_scripts/conky_audio.sh}
#${execi 5 ~/.conky_scripts/conky_batt.sh}${if_existing /sys/class/power_supply/ADP1/online 1}o${else}n${endif}
#${alignc }${if_existing /dev/v4l/video0}m${else}l${endif}${if_existing /proc/net/route wlan0}${execi 5 ~/.conky_scripts/conky_wifi.sh}${else}
#${if_existing /proc/net/route eth0}K${else}q${endif}${endif}$font
TEXT
${color0}${font OpenLogos:size=15}B ${font verdana}Archlinux
${color2}${alignc}————————————————
${font}${color1}Kernel${alignr}${kernel}
${color0}Host${alignr}$nodename
${color1}Uptime${alignr}$uptime
${color0}Carga${alignr}${loadavg}
${color1}Temperaturas${alignr}${execi 5 cat /proc/acpi/thermal_zone/TZS0/temperature | cut -c26-27}ºC y ${execi 5 cat /proc/acpi/thermal_zone/TZS1/temperature | cut -c26-27}ºC
${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}/${alignr}${fs_free /} ${fs_bar 7,64 /}
${color0}winsux${alignr}${fs_free /media/windows} ${fs_bar 7,64 /media/windows}
${color1}datos${alignr}${fs_free /media/DATA} ${fs_bar 7,64 /media/DATA}
${font arial:size=3}
${color2}${alignc}————————————————
${font}${if_existing /proc/net/route wlan0}${color0}Up${alignr}${upspeedf
wlan0}k ${upspeedgraph wlan0 7,64}
${color1}Down${alignr}${downspeedf wlan0}k ${downspeedgraph wlan0 7,64}
${color0}Total U/D${alignr}${totalup wlan0}/${totaldown wlan0}
${color1}ESSID${alignr}${wireless_essid wlan0}
${color0}Señal${alignr}${wireless_link_qual wlan0}% ${wireless_link_bar
7,64 wlan0}
${color1}IP local${alignr}${addr wlan0}
${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}
${else}${color3}Sin red${endif}${endif}${font arial:size=3}
${color2}${alignc}————————————————
${font}${color0}${top name 1}${alignr}${top cpu 1}%
${color1}${top name 2}${alignr}${top cpu 2}%
${color0}${top name 3}${alignr}${top cpu 3}%
${color1}${top name 4}${alignr}${top cpu 4}%${font arial:size=3}
alignment top_middle
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 300 25
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_margin 1
border_width 1
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
#color1 orange
color3 darkred
color1 dark blue
color2 003300
short_units yes
TEXT
${color0}${font ConkyWind:size=28}${alignc}${head /sys/class/backlight/acpi_video0/actual_brightness 1 10}${exec ~/.conky_scripts/conky_audio.sh}${exec ~/.conky_scripts/conky_batt.sh}${if_existing /sys/class/power_supply/ADP1/online 1}o${else}n${endif}${if_existing /dev/v4l/video0}m${else}l${endif}${if_existing /proc/net/route wlan0}${exec ~/.conky_scripts/conky_wifi.sh}${else}${if_existing /proc/net/route eth0}K${else}q${endif}${endif}$font
lovechii5 escribió:Le has dado permisos de ejecucion ?chmod +x conky.sh
Baek escribió:¿Qué problema dices que tienes al ejecutar conky desde aplicaciones de inicio?, yo lo tengo así y de hecho, tengo dos conkys y me va perfecto...
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $
alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color black
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
use_xft yes
xftfont Zekton Free:size=9
xftalpha 0.8
gap_x 10
gap_y 34
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
on_bottom yes
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type override
stippled_borders 0
update_interval 5.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no
TEXT
${color red}${font OpenLogos:size=20}J${color black}${font impact:bold size=20} Debian Testing$font
${color black}Núcleo: ${color black}${alignr 4}$kernel
${color black}Host: ${color black}${alignr 4}$nodename
${color black}Usuario: ${color black}${alignr 4}${exec whoami}
${color black}Uptime: ${color black}${alignr 4}$uptime
${color black}${font impact:bold size=20}SISTEMA$font
${color black}CPU: ${alignr 4}${color black}$cpu% (${freq}Mhz)
${color black}Temp. CPU:${alignr 4}${acpitemp}ºC
${cpugraph 20,140 FD4848 FF0000}
${color black}RAM:${alignr 4}$mem/$memmax
${membar 3,140}
${color black}${font impact:bold size=20}ALMACENAMIENTO$font
${color black}/ ${color black}${alignr 4}${fs_free /} libres
${color red}${fs_bar 3,140 /}
${color black}Windows ${color black}${alignr 4}${fs_free /mnt/win} libres
${color red}${fs_bar 3,140 /}
${color black}Datos ${color black}${alignr 4}${fs_free /mnt/datos} libres
${color red}${fs_bar 3,140 /}
${color black}${font impact:bold size=20}RED$font
${color black}Ip Local: ${alignr}${addr eth1}
${color black}Ip Pública: ${alignr}${execi 7200 wget -q -O- http://www.whatismyip.com/automation/n09230945.asp ‘{print $5}’}
${color black}Bajada: ${color black}${alignr 4}${downspeed eth1}k/s (${totaldown eth1})
${downspeedgraph eth1 20,150 FD4848 FF0000}
${color black}Subida: ${color black}${alignr 4}${upspeed eth1} k/s (${totalup eth1})
${upspeedgraph eth01 20,150 FD4848 FF0000}
${color black}SSID: ${color black}${alignr 4}${wireless_essid eth1}
${color black}Señal: ${color black}${alignr 4}${wireless_link_qual_perc eth1} %
${color black}${font impact:bold size=20}ENERGÍA$font
${color black}Adaptador: ${color black}${alignr 4}${acpiacadapter}
${color black}Batería: ${color black}${alignr 4}${battery_percent}%
${color black}${font impact:bold size=20}PROCESOS$font${alignr 2}CPU
${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}
TEXT
${color #FFFFFF}CPU0 ${cpubar cpu0 5,50} RAM ${membar 5,50}
${color #FFFFFF}CPU1 ${cpubar cpu1 5,50} NET ${downspeedf eth0} kbps
pho escribió:Nuevo script en posicion estrategica xD
TEXT
${color #FFFFFF}CPU0 ${cpubar cpu0 5,50} RAM ${membar 5,50}
${color #FFFFFF}CPU1 ${cpubar cpu1 5,50} NET ${downspeedf eth0} kbps
Simplon como el que mas, adaptaroslo segun vuestra posicion con un cuerpo de conky como cualquiera de los post anteriores
javipm escribió:Ya se que no es el tema para preguntar pero, cual es el tema de Gnome y la fuente? He estado mirando por si se había comentado antes pero no lo he visto
Gracias!
# 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 black
#default_shade_color black
#default_outline_color white
own_window_colour black
# 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 1
# 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
${font OpenLogos:size=60}t${font}
SISTEMA ${hr 1}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU: ${cpu cpu1}%
${cpugraph cpu1 15,200}
${font StyleBats:size=16}A${font} Temperatura: ${alignr}${hwmon 0 temp 1} C
${font StyleBats:size=16}g${font} RAM: $memperc% ($mem) ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font} Encendido: ${alignr}${uptime}
HD ${hr 1}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
${voffset 4}${alignc}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Datos:
${voffset 4}${alignc}${fs_free /media/datos}/${fs_size /media/datos} ${alignr}${fs_bar 8,60 /media/datos}
RED ${hr 1}
${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 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 C22F2F DA3F3F}
${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}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}
${upspeedgraph eth0 15,200 3148C8 3148C8}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}
${downspeedgraph eth0 15,200 30832E 30832E}
${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}
${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 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 C22F2F DA3F3F}
${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}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
${hr 1}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d} de ${time %B} de ${time %Y}
${color 000000}${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 "/" "'${color EA0F16}'"$DJS"'${color 000000}'" "/}
Davimaru escribió:A ver si alguien me puede iluminar, pues conky me ha dejado de funcionar
Hasta ayer iba de lujo, y hoy no va. Se esta ejecutando pero no se ve, y los archivos estan todos bien.
Saludo y gracias!
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
background yes
use_xft yes
xftfont 123:size=8
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 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256
TEXT
${font Arial:size=20}${color Tan1}GNU${color Ivory}LINUX
${voffset -90}${color DimGray} ${font} ${font Arial:bold:size=10}
${color Tan1}SISTEMA ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $alignr $machine
CPU $alignr${freq_g cpu0}Ghz
Actividad $alignr${uptime}
File System $alignr${fs_type}
${font Arial:bold:size=10}${color Tan1}PROCESADORES ${color DarkSlateGray}${hr 2}
$font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Tan1}MEMORIA ${color DarkSlateGray}${hr 2}
$font${color DimGray}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
${font Arial:bold:size=10}${color Tan1}HD ${color DarkSlateGray}${hr 2}
$font${color DimGray}Root $alignc ${fs_used /home} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
Datos $alignc ${fs_used /media/Datos} / ${fs_size /media/Datos} $alignr ${fs_free_perc /media/Datos}%
${fs_bar /media/Datos}
${font Arial:bold:size=10}${color Tan1}PROCESOS ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
${font Arial:bold:size=10}${color Tan2}RED ${color DarkSlateGray}${hr 2}
$font${color DimGray}IP local $alignr ${addr eth0}
Bajada $alignr ${downspeed eth0} kb/s
Subida $alignr ${upspeed eth0} kb/s
Bajado $alignr ${totaldown eth0}
Subido $alignr ${totalup eth0}
${if_running rhythmbox}${font Arial:bold:size=10}${color Tan2}MÚSICA ${color DarkSlateGray}${hr 2}
${color DimGray}$font
${exec rhythmbox-client --print-playing-format %tt} - ${exec rhythmbox-client --no-start --print-playing-format %aa} ${color adadad}${font Bitstream Vera Sans:size=8}
${exec rhythmbox-client --print-playing-format %te} - ${exec rhythmbox-client --print-playing-format %td}
$endif
${font Arial:bold:size=10}${color Tan2}TAREAS PENDIENTES ${color DarkSlateGray}${hr 2}
$font${color DimGray}Compiz
Dock
CDArt
Nokia Suite
tonusho escribió:Alguien me podria decir como cambiar el color del grafico que muestra las barras?
${downspeedgraph <net> <height>,<width> <gradient color 1> <gradient color 2}
${downspeedgraph wlan0 20,150 00FF00 00FF00}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=6
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
LOCALE = en
# 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 black
#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
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=22}${time %H:%M}${font}
${alignc}${time %A %d %Y}
TIEMPO ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0016 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0016 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0016 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --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=SPXX0016 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0016 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0016 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --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=SPXX0016 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0016 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0016 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0016 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0016 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0016 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU0: (${freq}Mhz) ${cpu cpu0}% ${alignr}$color ${cpugraph cpu1 12,60 F57900 FCAF3E}
${font StyleBats:size=16}A${font} CPU1: (${freq}Mhz) ${cpu cpu1}% ${alignr}$color ${cpugraph cpu2 12,60 F57900 FCAF3E}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
${font StyleBats:size=16}y${font} Temperatura Sistema: ${alignr}${acpitemp}°C
${font StyleBats:size=16}k${font} Temperatura GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Ubuntu:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Windows
${voffset 4}${fs_used /media/disk-1}/${fs_size /media/disk-1} ${alignr}${fs_bar 8,60 /media/disk-1}
${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 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} Wi-Fi: ${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 Publica: ${alignr}${texeci 300 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${execi 300 python ~/conkyscripts/gmail_1.py n} nuevo(s) mail(s)
Erauzkin escribió:tengo un problemilla... al actualizarse los datos de la CPU, y otros tantos, el "fondo" se queda raro.
amuchamu escribió:Erauzkin escribió:tengo un problemilla... al actualizarse los datos de la CPU, y otros tantos, el "fondo" se queda raro.
Tiene pintas de ser que tu script pasa, de vez en cuando, del ancho que le fijas. Aumenta un poco el minimun_size o acorta las líneas que veas que se pasan.