lunes, 2 de noviembre de 2009
instalar conky en debian squeeze
para instalar conky en nuestro debian squezze solo debemos teclear en consola:
# apt-get install conky
para ejecutarlo: Alt+F2 y escribimos conky
pero nos aparece muy vacio y en una ventana aparte y eso no es lo que queremos, para configurarlo a nuestro gusto abrimos la carpeta home/usuario y creamos un archivo que se llame .conkyrc en este ingresamos la configuracion deseada, aqui dejo la mia para que vean un ejemplo:
# Use Xft?
use_xft yes
font snap-7
#xftfont snap.se:size=6.5
#xftfont Freemono:size=7:bold
#xftfont cure.se:size=8
xftfont Freesans:pixelsize=9
xftalpha 1
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 175
maximum_width 220
# 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 e0e0e0
#default_shade_color white
#default_outline_color black
#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 20
gap_y 20
# 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
DATE ${hr 1}
${alignc 18}${font Freesans:pixelsize=23:bold}${time %H:%M}${font}
${alignc}${font Freesans:pixelsize=12}${time %a %d %b %Y}${font}
SYS ${hr 1}
${alignc}DEATHVAPS Debian squeeze/sid
Uptime ${alignr}${uptime}
Kernel ${alignr}${kernel}
CPU1 ${freq_dyn_g 1} GHz ${alignr}${cpu cpu1}% ${cpubar cpu1 4,60}
CPU2 ${freq_dyn_g 2} GHz ${alignr}${cpu cpu2}% ${cpubar cpu2 4,60}
RAM ${alignr}$memperc% ${membar 4,60}
SWAP ${alignr}$swapperc% ${swapbar 4,60}
${if_existing /proc/acpi/battery/BAT1/state capacity}Battery ${alignr}${battery_percent BAT1}% ${battery_bar 4,60 BAT1}${else}${voffset -12}${endif}
HDD ${hr 1}
GNU/LINUX ${alignr}${fs_used_perc /}% ${fs_bar 4,60 /}
Datos ${alignr}${fs_used_perc /media/datos}% ${fs_bar 4,60 /media/datos}
TEMP ${hr 1}
MB ${alignr}${execi 300 sensors | grep temp1 | cut -c15-16 ;}°C
CPU1 ${alignr}${execi 300 sensors | grep Core\ 0 | cut -c15-16 ;}°C
CPU2 ${alignr}${execi 300 sensors | grep Core\ 1 | cut -c15-16 ;}°C
HD ${alignr}${execi 300 nc localhost 7634 | cut -c33-34 ;}°C
NET ${hr 1}
${if_existing /proc/net/route wlan0}
Signal ${alignr}${wireless_link_qual wlan0}% ${wireless_link_bar 4,60 wlan0}
Up ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 4,60 000000 000000}
Down ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 4,60 000000 000000}
Local Ip ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}
Up ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 4,60 000000 000000}
Down ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 4,60 000000 000000}
Local Ip ${alignr}${addr eth0}
${endif}${else}
Network Unavailable
${endif}
luego para que lo ejecutemos desde el inicio del sistema vamos a la carpeta home/usuario y creamos un archivo de nombre .conky_start.sh lo abrimos y copiamos:
#!/bin/bash
sleep 10 && conky;
luego vamos a Sistema>>Preferencias>>Aplicaciones al inicio
Nombre: Conky
Comando: sh /home/victor/.conky_start.sh
Comentario: (lo que quieran)
y listo!!!!
Suscribirse a:
Enviar comentarios (Atom)
Gracias, le estuve batallando un buen
ResponderEliminar