Conky – neue Konfiguration

2012-10-20 von Mario

Vor einiger Zeit habe ich meine Conky Konfiguration hier vorgestellt. Hier ein kleines Update. :)


Installation von Conky:

sudo apt-get install conky

Für die automatische Ausführung von Conky, bei jedem Systemstart, wird ein Script („“) benötigt.

sleep 20 && conky;

Danach noch die Rechte setzen.

chmod 755 conky_delay_start

Unter Ubuntu kann das Script unter System | Einstellungen | Startprogramme eingestellt werden.


Das wars, jetzt startet Conky automatisch.

Meine Konfiguration


own_window yes
own_window_type override
own_window_hints below

# Use double buffering 
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 3.0
#Maximum Width of Window
maximum_width 320
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no 
draw_borders no
font arial
uppercase no 
# Stippled borders?
stippled_borders 3
# border margins
border_margin 5
# border width
border_width 6
# Default colors and also border colors, grey90 == #e5e5e5
default_color FFFFCC
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 10
gap_y 10
# stuff after ‘TEXT’ will be formatted on screen
${color CC9900}SYSTEM ${hr 1}$color

${color grey}OS: $alignr$color$sysname
${color grey}Hostname: $alignr$color$nodename
${color grey}Kernel: $alignr$color $kernel
${color grey}Uptime: $alignr$color $uptime_short
${color grey}Load: $alignr$color $loadavg

${color CC9900}CALENDAR ${hr 1}$color

${color d7d7d7}${font Ubuntu:style=Bold:size=10}${execpi 60 VinDSL_Cal_8=`date +%-d`; 
cal -h | sed -e '1d' -e 's/\/${color cc0000}&${color d7d7d7}/' -e 's/^/${offset 60}/'}
${color CC9900}CPU ${hr 1}$color

${color grey}CPU's : $color ${freq cpu0}${color grey} MHz  $color $cpu% ${cpubar 4}
${color grey}Core 1: $color ${freq 1}${color grey} MHz  
$color ${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color
${color grey}Core 2: $color ${freq 2}${color grey} MHz  
$color ${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color
${color grey}Core 3: $color ${freq 3}${color grey} MHz  
$color ${cpu cpu3}% ${color 597DB2}${cpubar cpu3}$color
${color grey}Core 4: $color ${freq 4}${color grey} MHz 
$color ${cpu cpu4}% ${color 597DB2}${cpubar cpu4}$color

${exec cat /proc/cpuinfo | grep 'model name' | uniq | cut -c 14-80}

${color CC9900}MEMORY ${hr 1}

${color grey}RAM : $color$memperc% ${color grey}($color${mem} 
${color grey}/ $color${memmax}${color grey})
${color grey}Swap: $color$swapperc% ${color grey}($color${swap} 
${color grey}/ $color${swapmax}${color grey})

${color CC9900}DISK ${hr 1}$color

Root [SDA1 ${fs_type}]: (${fs_used /} / ${fs_size /})
Home [SDA6 ${fs_type}]: (${fs_used /home} / ${fs_size /home})

${color CC9900}NETWORK [eth0] (${addr eth0}) ${hr 1}$color

Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,120 ff0000 00ff00} 
${alignr}${upspeedgraph eth0 25,120 00ff00 ff0000}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Kategorie: IT Schlagwörter: , , ,

Conky – Linux System Monitoring

2011-01-31 von Mario

Conky ist ein freie System Monitoring Software für X Window Systeme. So sieht Conky zur Zeit bei mir aus.





Meine Konfiguration:

# 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-2010 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
# 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 .

alignment top_right
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 no
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=11
gap_x 5
gap_y 70
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
double_buffer yes

SYSTEM ${hr 1}${color}
${color grey}Hostname: $alignr$color$nodename
${color grey}Kernel: $alignr$color $kernel
${color grey}Uptime: $alignr$color $uptime_short
${color grey}Load: $alignr$color $loadavg

CPU ${hr 1}${color}
${color grey}CPU   : $color ${freq cpu0}${color grey} MHz $color $cpu% ${cpubar 4}
${color grey}Core 1: $color ${freq cpu1}${color grey} MHz
${color grey}Core 2: $color ${freq cpu2}${color grey} MHz

${cpugraph cpu0}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes

MEMORY ${hr 1}${color}
${color grey}RAM:$color $memperc% ${color grey}Swap:$color $swapperc%

FILESYSTEM ${hr 1}${color}

Root: $alignr ${fs_used /} / ${fs_size /} ($alignr${fs_free_perc /}%)
${fs_bar 4 /}
Home: $alignr ${fs_used /home/} / ${fs_size /home} ($alignr${fs_free_perc /home}%)
${fs_bar 4 /home}
${diskiograph sda}

NETWORK ${hr 1}${color}

${color lightgrey}IP: $color${addr wlan0}
${color lightgrey}Wi-Fi Signal: $color${wireless_link_qual wlan0}%
${color lightgrey}ESSID: $color${wireless_essid wlan0}
${color lightgrey}Up:$color ${upspeedf wlan0} Kb/s ${color grey} 
- Down:$color ${downspeedf wlan0} Kb/s
${color lightgrey}Up:$color ${upspeed eth0} ${color grey} 
- Down:$color ${downspeed eth0}

Weitere interessante Seiten:
Dual Core Processors in Conky

Conky und Gnome

Conky Konfiguration und Startscript

Kategorie: IT Schlagwörter: , , ,