conky

Oktober 7, 2007

inspiriert von Fun with Conky hab ich mich auch mal wieder probiert.

conky1.jpg

hier noch meine .conkyrc

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

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

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

# 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

#own_window no
#own_window_transparent no

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Liberation Mono Italic:size=8

uppercase no

# Text alpha when using Xft
xftalpha 0.8

# Update interval in seconds
update_interval 1

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Text alignment, other possible values are commented
#minimum_size 10 10
gap_x 13
gap_y 45
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

TEXT
${color #000000}$sysname kernel $kernel
${color #000000}${exec cat /etc/issue.net} on $machine host $nodename

${color #000000}${execi 1000 cat /proc/cpuinfo | grep ‘model name’ | sed -e ’s/model name.*: //’} ${color #FFFFFF} ${freq_dyn}Mhz
${color #000000}Current CPU usage: ${color #FFFFFF}${cpu}% ${color #000000} temp: ${color #FFFFFF}${acpitemp}°C

${color #000000}Plug/battery status:${color #FFFFFF} $acpiacadapter, $battery

${color #000000}RAM Usage:${color #FFFFFF} $mem/$memmax – $memperc% $membar

${color #000000}Swap Usage:${color #FFFFFF} $swap/$swapmax – $swapperc% ${swapbar}

${color #000000}Hard disks:
/ ${color #FFFFFF}${fs_used /}/${fs_size /} ${fs_bar /}
${color #000000}/home ${color #FFFFFF}${fs_used /home}/${fs_size /home} ${fs_bar /home}
${color #000000}/tmp ${color #FFFFFF}${fs_used /tmp}/${fs_size /tmp} ${fs_bar /tmp}
${color #000000}/usr ${color #FFFFFF}${fs_used /usr}/${fs_size /usr} ${fs_bar /usr}
${color #000000}/var ${color #FFFFFF}${fs_used /var}/${fs_size /var} ${fs_bar /var}

${color #000000}Wireless Networking:
${color #000000}${exec iwconfig eth3 | grep „ESSID“ | cut -c 11-}
${color #000000}${exec iwconfig eth3 | grep „Frequency“ | cut -c 25-}
${color #000000}Local IP ${color #FFFFFF}${addr eth3} ${color #000000}
${color #000000}total download: ${color #FFFFFF}${totaldown eth3}
${color #000000}total upload: ${color #FFFFFF}${totalup eth3}
${color #000000}download speed: ${color #FFFFFF}${downspeed eth3} k/s${color #FFFFFF} ${color #000000} upload speed: ${color #FFFFFF}${upspeed eth3} k/s

${color #000000}Public IP ${color #FFFFFF}${execi 300 curl ‘http://www.whatismyip.org’}

folgender fehler bei apt:

Paketlisten werden gelesen... Fehler!
E: Dynamic MMap ran out of room

lösung:

  • die /etc/apt/apt.conf öffnen oder neu anlegen
  • APT::Cache-Limit "125000000"; am ende einfügen
  • fertig

schon ist das zimmer grösser und die MMap hat keine platzangst mehr.