Etiqueta: conky

  • Configuración conky

    El fichero ~/.conkyrc para mostrar esta información:
    
    background yes
    
    use_xft yes # Use Xft?
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont Terminus:size=8
    xftfont Andale Mono:size=10
    xftalpha 1 # Text alpha when using Xft
    
    update_interval 2.0 # Update interval in seconds
    
    total_run_times 0
    
    #own_window yes
    #own_window_type desktop
    #own_window_transparent yes
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    own_window yes
    own_window_class Conky
    #own_window_type panel
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_argb_value 128
    own_window_argb_visual yes
    
    double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
    
    maximum_width 300
    
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 8
    
    #border_margin 4
    border_width 1
    
    default_color white
    default_shade_color black
    default_outline_color white                                                                                        
    
    alignment top_right                                                                                                
    
    gap_x 1
    gap_y 1                                                                                                            
    
    no_buffers yes
    uppercase no                                                                                                       
    
    cpu_avg_samples 4
    net_avg_samples 5                                                                                                  
    
    override_utf8_locale yes                                                                                           
    
    use_spacer right # Add spaces to keep things from moving about?  This only affects certain objects.                
    
    TEXT                                                                                                               
    
    ${offset 10}${color slate grey}${time %Z}:${color }${time %a, %e %B %G %H:%M:%S}
    ${offset 10}${color slate grey}UpTime: ${color }$uptime
    ${offset 10}${color slate grey}Kern:${color }$kernel
    ${offset 10}${color slate grey}CPU:${color aa0000}${cpubar 11,100} ${color }${color } $cpu% | ${freq} MHz
    ${offset 10}${cpugraph 20,268 000055 orange}
    
    ${offset 10}${color slate grey}Highest CPU:
    ${offset 10}${color orange} ${top name 1}${top cpu 1}
    ${offset 10}${color white} ${top name 2}${top cpu 2}
    ${offset 10}${color white} ${top name 3}${top cpu 3}
    ${offset 10}${color white} ${top name 4}${top cpu 4}
    ${offset 10}${color white} ${top name 5}${top cpu 5}
    ${offset 10}${color white} ${top name 6}${top cpu 6}
    ${offset 10}${color white} ${top name 7}${top cpu 7}
    ${offset 10}${color white} ${top name 8}${top cpu 8}
    ${offset 10}${color white} ${top name 9}${top cpu 9}
    
    ${offset 10}${color slate grey}Highest MEM:
    ${offset 10}${color orange} ${top_mem name 1}${top_mem mem 1}
    ${offset 10}${color white} ${top_mem name 2}${top_mem mem 2}
    ${offset 10}${color white} ${top_mem name 3}${top_mem mem 3}
    ${offset 10}${color white} ${top_mem name 4}${top_mem mem 4}
    ${offset 10}${color white} ${top_mem name 5}${top_mem mem 5}
    ${offset 10}${color white} ${top_mem name 6}${top_mem mem 6}
    ${offset 10}${color white} ${top_mem name 7}${top_mem mem 7}
    ${offset 10}${color white} ${top_mem name 8}${top_mem mem 8}
    ${offset 10}${color white} ${top_mem name 9}${top_mem mem 9}
    
    ${offset 10}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
    ${offset 10}${membar 3,268}
    ${offset 10}${color slate grey}SWAP: ${color } $swapperc% $swap/$swapmax
    ${offset 10}${swapbar 3,268}
    
    ${offset 10}${color slate grey}/:    ${color }${fs_used /}/${fs_size /}
    ${offset 10}${fs_bar 3,268 /}
    ${offset 10}${color slate grey}/home:  ${color }${fs_used /home}/${fs_size /home}
    ${offset 10}${fs_bar 3,268 /home}
    ${offset 10}${color slate grey}~/Almacen:  ${color }${fs_used /mnt/Almacen}/${fs_size /mnt/Almacen}
    ${offset 10}${fs_bar 3,268 /mnt/Almacen}
    ${offset 10}${color slate grey}/mnt/Backup:  ${color }${fs_used /mnt/Backup}/${fs_size /mnt/Backup}
    ${offset 10}${fs_bar 3,268 /mnt/Backup}
    ${offset 10}${color slate grey}/mnt/Sistemas:  ${color }${fs_used /mnt/Sistemas}/${fs_size /mnt/Sistemas}
    ${offset 10}${fs_bar 3,268 /mnt/Sistemas}
    ${offset 10}${color slate grey}Disk I/O:
    ${offset 10}${color}${diskiograph 20,268 000000 ffffff}
    ${offset 10}${color slate grey}NET: ${color}Up: ${color }${upspeed wlan0}/s ${color} Down: ${color }${downspeed wlan0}/s
    ${offset 10}${upspeedgraph wlan0 20,130 000000 00ffff} ${downspeedgraph wlan0 20,130 000000 ffff00}
  • Configuración de conky

    Fichero .conkyrc de configuración de conky que muestra resultados sobre un fondo transparente, mostrando correctamente los caracteres UTF-8 y que no desaparece bajo el escritorio al pulsar en éste si se utiliza KDE y plasma.

    background yes
    
    use_xft yes # Use Xft?
    #xftfont Bitstream Vera Sans Mono:size=8
    xftfont Terminus:size=8
    xftfont Andale Mono:size=10
    xftalpha 1 # Text alpha when using Xft
    
    update_interval 2.0 # Update interval in seconds
    
    total_run_times 0
    
    #own_window yes
    #own_window_type desktop
    #own_window_transparent yes
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    own_window yes
    own_window_class Conky
    #own_window_type panel
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    own_window_argb_value 128
    own_window_argb_visual yes
    
    
    double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
    
    maximum_width 300
    
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 8
    
    border_margin 4
    border_width 1
    
    default_color black
    default_shade_color black
    default_outline_color white
    
    alignment top_left
    
    gap_x 1
    gap_y 1
    
    no_buffers yes
    uppercase no
    
    cpu_avg_samples 4
    net_avg_samples 5
    
    override_utf8_locale yes
    
    use_spacer right # Add spaces to keep things from moving about?  This only affects certain objects.
    
    TEXT
    
    ${offset 10}${color slate grey}${time %Z}:${color }${time %a, %e %B %G %H:%M:%S}
    ${offset 10}${color slate grey}UpTime: ${color }$uptime
    ${offset 10}${color slate grey}Kern:${color }$kernel
    ${offset 10}${color slate grey}CPU:${color aa0000}${cpubar 11,100} ${color }${color } $cpu% | ${freq} MHz
    ${offset 10}${cpugraph 20,130 000055 orange}
    
    ${offset 10}${color slate grey}Highest CPU:
    ${offset 10}${color orange} ${top name 1}${top cpu 1}
    ${offset 10}${color white} ${top name 2}${top cpu 2}
    ${offset 10}${color white} ${top name 3}${top cpu 3}
    ${offset 10}${color white} ${top name 4}${top cpu 4}
    ${offset 10}${color white} ${top name 5}${top cpu 5}
    ${offset 10}${color white} ${top name 6}${top cpu 6}
    ${offset 10}${color white} ${top name 7}${top cpu 7}
    ${offset 10}${color white} ${top name 8}${top cpu 8}
    ${offset 10}${color white} ${top name 9}${top cpu 9}
    
    ${offset 10}${color slate grey}Highest MEM:
    ${offset 10}${color orange} ${top_mem name 1}${top_mem mem 1}
    ${offset 10}${color white} ${top_mem name 2}${top_mem mem 2}
    ${offset 10}${color white} ${top_mem name 3}${top_mem mem 3}
    ${offset 10}${color white} ${top_mem name 4}${top_mem mem 4}
    ${offset 10}${color white} ${top_mem name 5}${top_mem mem 5}
    ${offset 10}${color white} ${top_mem name 6}${top_mem mem 6}
    ${offset 10}${color white} ${top_mem name 7}${top_mem mem 7}
    ${offset 10}${color white} ${top_mem name 8}${top_mem mem 8}
    ${offset 10}${color white} ${top_mem name 9}${top_mem mem 9}
    
    ${offset 10}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
    ${offset 10}${membar 3,100}
    ${offset 10}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
    ${offset 10}${swapbar 3,100}
    
    ${offset 10}${color slate grey}/:    ${color }${fs_used /}/${fs_size /}
    ${offset 10}${fs_bar 3,100 /}
    ${offset 10}${color slate grey}/home:  ${color }${fs_used /home}/${fs_size /home}
    ${offset 10}${fs_bar 3,100 /home}
    ${offset 10}${diskiograph 20,130 000000 ffffff}
    ${offset 10}${color slate grey}NET: ${color}Up: ${color }${upspeed wlan0}/s ${color} Down: ${color }${downspeed wlan0}/s
    ${offset 10}${upspeedgraph wlan0 20,130 000000 ffffff} ${downspeedgraph wlan0 20,130 000000 ffffff}