You are not logged in.
I think it's a good idea to post conky config files with screenshots. If you are proud of it . Here's mine:
background no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10
xftalpha 0.8
update_interval 5.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 1
maximum_width 155
default_color darkgrey
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 4
gap_y 4
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
${color #5b6dad}${alignc}${nodename} ${uptime_short}
${color #5b6dad}CPU: ${color grey}$cpu%
${color #5b6dad} ${cpugraph 16,140 000000 7f8ed3}
${color #5b6dad}RAM: $color$mem/$memmax
${color #5b6dad} ${membar 6,140}
${color #5b6dad}Swap:$color$swap/$swapmax
${color #5b6dad} ${swapbar 6,140}
${color #5b6dad}ETH0 Down: $color${downspeed eth0}${alignr} k/s
${color #5b6dad} ${downspeedgraph eth0 16,140 000000 7f8ed3 150}
${color #5b6dad}ETH0 Up: $color${upspeed eth0}${alignr} k/s
${color #5b6dad} ${upspeedgraph eth0 16,140 000000 7f8ed3 18}
${color #5b6dad}File systems:
${color #5b6dad}/ $color${fs_free /}
${color #5b6dad} ${fs_bar 6,140 /}
${color #5b6dad}storage $color${fs_free /mnt/storage}
${color #5b6dad} ${fs_bar 6,140 /mnt/storage}
${color #5b6dad}Processes:$color $processes | $running_processes
${color} Cpu usage CPU
${color #ddaa00} ${top name 1}${offset -50} ${top cpu 1}
${color #5b6dad} ${top name 2}${offset -50} ${top cpu 2}
${color #5b6dad} ${top name 3}${offset -50} ${top cpu 3}
${color #5b6dad} ${top name 4}${offset -50} ${top cpu 4}
${color} Mem usage MEM
${color #ddaa00} ${top_mem name 1}${offset -50} ${top_mem mem 1}
${color #5b6dad} ${top_mem name 2}${offset -50} ${top_mem mem 2}
${color #5b6dad} ${top_mem name 3}${offset -50} ${top_mem mem 3}
${color #5b6dad} ${top_mem name 4}${offset -50} ${top_mem mem 4}
${color #5b6dad}# Connections
$color In: ${tcp_portmon 1 32767 count} Out: ${tcp_portmon 32768 61000 count}${alignr}
Last edited by drakosha (2007-11-14 14:32:28)
Offline
Really nice setup drakosha! One of the nicest conky configs I think I've seen. I may have to mess around with conky again to see if I can come up with something I like...
Offline
Good topic, here is mine:
# ~/.conkyrc
#
double_buffer yes
background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
minimum_size 80 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_margin 6
border_width 1
default_color slategrey
default_shade_color lightgrey
default_outline_color white
alignment top_right
gap_x 20
gap_y 20
no_buffers yes
uppercase no
TEXT
${color slate grey}
${stippled_hr 2 1}
Mpd: ${mpd_status}
${mpd_smart}
${mpd_elapsed} / ${mpd_length} - Rnd:${mpd_random} Rpt:${mpd_repeat}
${mpd_bar}
${color slate grey}${stippled_hr 2 1}
${color}host :${color white} ${nodename}
${color}os :${color white} ${sysname} ${kernel}
${color}hiz :${color white} ${freq}Mhz ${color white}
$hr
${color}uptime:${color white} $uptime ${color white}
${color}pil :${color white} ${battery BAT1}
$stippled_hr
${color}cpu :${color white} $cpu% $cpubar
${color}ram :${color white} $memperc% $membar
$stippled_hr
${color}home : ${color white}${fs_free /home} ${fs_bar /home}
${color}yedek : ${color white}${fs_free /mnt/yedek} ${fs_bar /mnt/yedek}
${color}fat32 : ${color white}${fs_free /mnt/fat32} ${fs_bar /mnt/fat32}
$stippled_hr
${color}tarih : ${color white}${time %a,} ${time %B %e %G}
${color}saat : ${color white}${time %H:%M:%S} ${color white}
$hr
${color}down:${color white} ${downspeed eth0} k/s ${color} up:${color white} ${upspeed eth0} k/s
${color #888888}${downspeedgraph eth0 20,70 ff0000 0000ff} ${color #888888}${upspeedgraph eth0 20,70 0000ff ff0000}
${exec cat ~/.gmail/.gmail_top}
${texeci 10800 python /home/fatih/.archnotify.py}
Offline
@drakosha
For the python script i use this:
http://bbs.archlinux.org/viewtopic.php?id=37284
And the gmail script is from here:
http://conky.sourceforge.net/gmail.pl
It's written in Perl, but it depends on perl-io-socket-ssl and Mail::POP3Client. You can install the perl-io-socket-ssl via the PerlCPAN repo: http://wiki.archlinux.org/index.php/PerlCPAN_Repositor.
The mail stuff is installed via:
cpan -i Mail::POP3Client
Offline
I think it's a good idea to post conky config files with screenshots. If you are proud of it ;).
Proud? Not really, this is just a modified version of the config file I got from a friend back in the Torsmo days. I've been meaning to change it for a while but I haven't bothered so far.
# ~/.conkyrc
background no
use_xft no
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window no
own_window_type normal
own_window_transparent yes
own_window_colour hotpink
double_buffer yes
minimum_size 220 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_margin 10
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 5
gap_y 29
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
$nodename - $sysname $kernel ($machine)
$stippled_hr
${color grey}Uptime:$color $uptime ${color grey}Load:$color ${loadavg 1} ${loadavg 2} ${loadavg 3}
${color grey}CPU Usage:$color ${freq_dyn}MHz - $cpu% ${cpubar 6}
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color grey}Temperatures:
${color grey}CPU:$color ${hwmon 1 temp 2}°C ${color grey}Case:$color ${hwmon 1 temp 1}°C ${color grey}NB:$color ${hwmon 1 temp 3}°C
${color grey}Networking:
Up:$color ${upspeed eth0} kB/s${color grey} - Down:$color ${downspeed eth0} kB/s
${color grey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}/home $color${fs_free /home}/${fs_size /home} ${fs_bar 6 /home}
${color grey}/tmp $color${fs_free /tmp}/${fs_size /tmp} ${fs_bar 6 /tmp}
Last edited by [vEX] (2007-12-16 11:26:41)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
http://i2.tinypic.com/6xjyr7t.png
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Zekton:size=8
# Text alpha when using Xft
xftalpha 0.6
# MPD host/port
mpd_host localhost
mpd_port 6600
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# 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 (requi#e78512 in nautilus)
own_window no
# Use double buffering (#e78512uces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 1
# border width
border_width 1
# Text alignment
alignment bottom_left
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 4
gap_y 4
# 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 requires XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384
TEXT
${color white}[${color #2299cc} $uptime_short ${color white}${color white} - ${color #2299cc} $loadavg ${color white} - ${color #2299cc} $cpu% ${color white} - $color ${color #2299cc}$mem${color white} ${color white} - ${color #2299cc} ${downspeed eth0}k/s${color white}/${color #2299cc} ${upspeed eth0}k/s ${color white}] ${alignr}${color #2299cc}$mpd_smart ${color white}${color #2299cc} ${color white}Vol: ${color #2299cc}$mpd_vol ${color white} ]
Less is more.
Last edited by grte (2007-11-19 16:48:07)
Offline
Here's mine
#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
#position
gap_x 5
gap_y 4
alignment top_left
#behaviour
update_interval 1
#colour
default_color 8f8f8f
#default_shade_color 000000
own_window_colour 262626
#font
use_xft yes
xftfont bauhaus:pixelsize=10
#to prevent window from moving
use_spacer no
minimum_size 1670 25
#mpd
mpd_host localhost
mpd_port 6600
TEXT
${voffset -1} Kernel: ${color e0e0e0}${font}${kernel}${color} | CPU: ${color e0e0e0}${font}${cpu}% ${color} RAM: ${color e0e0e0}${font}${mem} ${color} | Intel(R) Core(TM)2 Duo CPU E6750 @ ${color e0e0e0}${font}3656MHz ${color} Core0: ${color e0e0e0}${font}${execi 1 sensors | grep "Core 0" | cut -c15-18} ${color} Core1: ${color e0e0e0}${font}${execi 1 sensors | grep "Core 1" | cut -c15-18} ${color}MB: ${color e0e0e0}${font}${execi 1 sensors | grep temp1 | cut -c15-18} ${color}CPU Vcore: ${color e0e0e0}${font}${execi 1 sensors | grep in0 | cut -c13-16}v ${color} RAM Vcore: ${color e0e0e0}${font}${execi 1 sensors | grep in1 | cut -c13-16}v ${color} Nvidia GeForce 8800GTX: ${color e0e0e0}${font}${execi 1 nvidia-settings -q gpucoretemp |grep '):' | cut -c 38-39} C ${color} | ${color} Up: ${color e0e0e0}${font}${uptime_short}${color}
${voffset 0} Net: ${color e0e0e0}${font}${downspeed eth0} Kb/s ${color} ${totaldown eth0} Downloaded${color} | ${color} ${color e0e0e0}${upspeed eth0} Kb/s ${color} ${totalup eth0} Uploaded${color} | ${color}Root: ${color e0e0e0}${font}${fs_free /} ${color} Unix: ${color e0e0e0}${font}${fs_free /media/unix} ${color} Kane: ${color e0e0e0}${font}${fs_free /media/kane} ${color} ScT: ${color e0e0e0}${font}${fs_free /media/sct} ${color} XP: ${color e0e0e0}${font}${fs_free /media/ariciu} ${color}| ${color} Arch-pkg: ${color e0e0e0}${font}${execi 1200 perl ~/scripts/arch-updates/conky-updates.pl}${color} | ${color} Weather: ${color e0e0e0} ${execi 1800 weatherget -f ~/scripts/.conkyweatherrc --station-id="ROXX0003" --metric } ${color}
Offline
That ...
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=10
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
mpd_host localhost
mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# 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 no
# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
#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 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 5
# 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 no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$alignr${color white}$loadavg ${color red}:: ${color white}${time %a %d %B %Y} ${color red}-[${color white}${time %R}${color red}]-${color white} ${time %Z}
$alignr${color white}np${color red}: ${color white}$mpd_artist ${color red}- ${color white}$mpd_title
... gives that ...
... in the upper right corner. Minimal, isn't it?
Last edited by mucknert (2007-11-19 07:17:31)
Todays mistakes are tomorrows catastrophes.
Offline
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Delicious:bold:size=9
# Text alpha when using Xft
xftalpha 0.5
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
# mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop
# Use pseudo transparency with own_window?
own_window_transparent no
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black
# If own_window is yes, these window manager hints may be used
#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 1004 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color 9ab8c2
default_shade_color white
default_outline_color white
#dexter_client no
#dexter_server no
# config file for libdexter (default search path: $HOME/.dexterrc; /etc/libdexter/dexter.conf)
#dexter_config
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 10
# 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 yes
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
·: $alignc $nodename - $sysname $kernel on $machine | Uptime:$color $uptime | Ram:$color $mem/$memmax | Swap:$color $swap/$swapmax | Root: $color${fs_used /}/${fs_size /} - /home: $color${fs_used /home}/${fs_size /home} | Down:${downspeed eth0} k/s - Up:${upspeed eth0} k/s | CPU: $cpu% $alignr:·
equals
Offline
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
#on_bottom yes
# Xft font when Xft is enabled
xftfont Liberation Mono:size=10
# Text alpha when using Xft
xftalpha 0.8
# Window dimensions
maximum_width 1680
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2.0
# 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
# Use pseudo transparency with own_window?
own_window_transparent yes
# Type of the window (it can be override, desktop or root)
own_window_type root
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black
# Other window options
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 100 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graph
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 0
# Default colors and also border colors
default_color afa08f
#default_shade_color 434344
default_shade_color black
default_outline_color 434344
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 500
# 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 no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
#
TEXT
${alignr}${color}[ ${color #dc6a28}CPU1 ${alignr}${color #750701}${cpu cpu1}%${color}(${color #750701}${freq cpu1}Mhz${color}) ${color #dc6a28}CPU2 ${color #750701}${cpu cpu2}%${color}(${color #750701}${freq cpu2}Mhz${color}) ${color #dc6a28}RAM ${color #750701}$memperc%${color}(${color #750701}${memmax}${color}) ${color #dc6a28}I/O ${color #750701}$diskio_read${color}(${color #750701}$diskio_write${color}) ${color #dc6a28}UP ${color #750701}${upspeed eth0}k/s${color}(${color #750701}${totalup eth0}${color}) ${color #dc6a28}DOWN ${color #750701}${downspeed eth0}k/s${color}(${color #750701}${totaldown eth0}${color}) ]-[ ${color #dc6a28}Cpu ${color #750701}${platform w83627ehf.656 temp 1} ${color #dc6a28}Mobo ${color #750701}${platform w83627ehf.656 temp 3} ${color #dc6a28}Aux ${color #750701}${platform w83627ehf.656 temp 2} ${color #dc6a28}Gpu ${color #750701}${execi 10 ~/.conky/nvidiatemp} ${color #dc6a28}Sda ${color #750701}${execi 10 ~/.conky/hddtemp1} ${color #dc6a28}Sdb ${color #750701}${execi 10 ~/.conky/hddtemp2}${color} ]
${alignr}${color}[ ${color #dc6a28}WinXp ${color #750701}${fs_bar 7,40 /mnt/win_c} ${color #dc6a28}Dati ${color #750701}${fs_bar 7,40 /mnt/win_d} ${color #dc6a28}Fat ${color #750701}${fs_bar 7,40 /fat} ${color #dc6a28}Boot ${color #750701}${fs_bar 7,40 /boot} ${color #dc6a28}Arch ${color #750701}${fs_bar 7,40 /} ${color #dc6a28}Ubuntu ${color #750701}${fs_bar 7,40 /mnt/ubuntu} ${color #dc6a28}Documents ${color #750701}${fs_bar 7,40 /mnt/documents} ${if_mounted /media/private}${color #dc6a28}Private ${color #750701}${fs_bar 7,40 /media/private/}$endif ${color} ]
${if_running amarokapp}${alignr}${color}[ ${color #dc6a28}On Air Now${color}: ${color #750701}${execi 50 ~/.conky/amarok artist}${color}-${color #750701}${execi 50 ~/.conky/amarok title} ${color}(${color #750701}${execi 50 ~/.conky/amarok album}${color}) ]$endif
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
left
background yes
update_interval 1.0
double_buffer yes
use_xft no
xftfont Monospace:size=10
xftalpha 0.8
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom yes
minimum_size 300 50
draw_shades no
draw_outline yes
draw_borders yes
draw_graph_borders no
stippled_borders 0
border_margin 3
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top_left
gap_x 343
#gap_y 34
gap_y 10
no_buffers yes
TEXT
$nodename - $sysname $kernel on $machine ${time %H:%M}
${hr}
${color #F09000}File systems:
${color #F09000}Root: $color${fs_used /}/${fs_size /} ${fs_bar /}
${color #F09000}Home: $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
middle
background yes
update_interval 1.0
double_buffer yes
use_xft no
xftfont Monospace:size=10
xftalpha 0.8
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom yes
minimum_size 300 42
draw_shades no
draw_outline yes
draw_borders yes
draw_graph_borders no
stippled_borders 0
border_margin 3
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top_left
gap_x 648
#gap_y 34
gap_y 10
no_buffers yes
TEXT
System
${hr}
${color #F09000}Memory${color #707070}:${color white} ${memperc}% ${color #F09000}CPU${color #707070}:${color white} ${cpu}% ${freq}MHz
${color #F09000}P${color #707070}:${color white} ${running_processes}${color #707070}/${color white}${processes}
${color #F09000}CPU 1:${color #FFFFFF} ${cpu cpu1}% ${cpubar}
${color #F09000}CPU 2:${color #FFFFFF} ${cpu cpu2}% ${cpubar}
${color #F09000}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color #F09000}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
right
background yes
update_interval 2.0
double_buffer yes
use_xft no
xftfont Monospace:size=10
xftalpha 0.8
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom yes
minimum_size 300 50
draw_shades no
draw_outline yes
draw_borders yes
draw_graph_borders no
stippled_borders 0
border_margin 3
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top_left
gap_x 953
#gap_y 34
gap_y 10
no_buffers yes
TEXT
Networking
${hr}
${color #F09000}eth0${color #707070}:${color white} ${addr eth0}${alignr}${color #707070}${color white} ${color #707070}[${color white}${totaldown eth0}${color #707070}/${color white}${totalup eth0}${color #707070}]
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed eth0} k/s
${color black}${downspeedgraph eth0 32,150 ff0000 0000ff} $alignr${color white}${upspeedgraph eth0 32,150 0000ff ff0000}
charlie dont surf!
Offline
onearm - your image link is wrong...
It's not wrong, it's the whole image, not simply the thumb.
Image in a thumbnail is this (ugly thumb though):
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
background yes
cpu_avg_samples 5
net_avg_samples 5
out_to_console no
font 7x13
own_window_transparent no
own_window_colour hotpink
xftalpha 1.0
update_interval 2
own_window no
double_buffer yes
minimum_size 5 5
draw_shades yes
draw_outline no
draw_borders yes
stippled_borders 0
border_margin 10
border_width 2
default_color white
default_shade_color black
default_outline_color white
alignment top_left
gap_x 20
gap_y 470
use_spacer yes
no_buffers yes
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #CCCCCC}${time %A, %d %B %Y} ${alignr}${time %T}
${color #ffccaa}SYSTEM
${color white}${hr 1}
${color #888888}Kernel: ${color #CCCCCC}$kernel ${color #888888}${alignr}Uptime: ${color #CCCCCC}$uptime
${color #888888}CPU : ${color #CCCCCC}$freq_g GHz $cpu% ${alignr}${i2c temp 2} C
${color #888888} ${cpugraph 15,210 ff0000 ff00ff}
${color #888888}RAM : ${color #CCCCCC}$memmax $memperc% ${membar 6}
${color #888888}Swap : ${color #CCCCCC}$swapmax $swapperc% ${swapbar 6}
${color #ffccaa}DISK
${color white}${hr 1}
${color #888888}/ : ${color #CCCCCC}${fs_size /} ${fs_free_perc /} % ${fs_bar 6 /}
${color #888888}/home : ${color #CCCCCC}${fs_size /home} ${fs_free_perc /home} % ${fs_bar 6 /home}
${color #888888}/data : ${color #CCCCCC}${fs_size /mnt/data} ${fs_free_perc /mnt/data} % ${fs_bar 6 /mnt/data}
${color #888888}/sda3 : ${color #CCCCCC}${fs_size /mnt/sda3} ${fs_free_perc /mnt/sda3} % ${fs_bar 6 /mnt/sda3}
${color #888888}/sda8 : ${color #CCCCCC}${fs_size /mnt/sda8} ${fs_free_perc /mnt/sda8} % ${fs_bar 6 /mnt/sda8}
${color #888888}/sdb1 : ${color #CCCCCC}${fs_size /mnt/sdb1} ${fs_free_perc /mnt/sdb1} % ${fs_bar 6 /mnt/sdb1}
${color #888888}/sdb2 : ${color #CCCCCC}${fs_size /mnt/sdb2} ${fs_free_perc /mnt/sdb2} % ${fs_bar 6 /mnt/sdb2}
${color #888888}/sdb3 : ${color #CCCCCC}${fs_size /mnt/sdb3} ${fs_free_perc /mnt/sdb3} % ${fs_bar 6 /mnt/sdb3}
${color #888888}/sdb5 : ${color #CCCCCC}${fs_size /mnt/sdb5} ${fs_free_perc /mnt/sdb5} % ${fs_bar 6 /mnt/sdb5}
${color #888888}/sdc1 : ${color #CCCCCC}${fs_size /mnt/sdc1} ${fs_free_perc /mnt/sdc1} % ${fs_bar 6 /mnt/sdc1}
${color #ffccaa}PROCESSES
${color white}${hr 1}
${color #888888}Processes: ${color #CCCCCC}$processes ${color #888888}Running: ${color #CCCCCC}$running_processes
${color #888888}Name PID CPU% MEM%
${color #CCCCCC}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #CCCCCC}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #CCCCCC}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #CCCCCC}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #CCCCCC}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #CCCCCC}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #ffccaa}NETWORK
${color white}${hr 1}
${color #888888}Down : ${color #CCCCCC}${downspeed eth0}kb/s${color #888888}${alignr}Total : ${color #CCCCCC}${totaldown eth0}
${color #888888}Up : ${color #CCCCCC}${upspeed eth0}kb/s${color #888888}${alignr}Total : ${color #CCCCCC}${totalup eth0}
Don't panic!
Offline
this thread is perfect, i'm just about to redo my very basic conky that i have now. thanks!
Offline
I liked chilebiker's so much that I stole it, here it is modified to suit my system. I'm probably going to do some more minor tweaking, but I am pretty happy with it.
background yes
cpu_avg_samples 5
net_avg_samples 5
out_to_console no
font 7x13
own_window_transparent no
own_window_colour hotpink
xftalpha 1.0
update_interval 2
own_window no
double_buffer yes
minimum_size 5 5
draw_shades yes
draw_outline no
draw_borders yes
stippled_borders 0
border_margin 10
border_width 2
default_color white
default_shade_color black
default_outline_color white
alignment top_left
gap_x 20
gap_y 20
use_spacer yes
no_buffers yes
uppercase no
mpd_host 192.168.1.15
mpd_port 6600
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #CCCCCC}${time %A, %d %B %Y} ${alignr}${time %T}
${color #ffccaa}SYSTEM
${color white}${hr 1}
${color #888888}Kernel: ${color #CCCCCC}$kernel ${color #888888}${alignr}Uptime: ${color #CCCCCC}$uptime
${color #888888}CPU : ${color #CCCCCC}$freq MHz $cpu% ${alignr}${acpitemp} C
${color #888888} ${cpugraph 15,210 ff0000 ff00ff}
${color #888888}RAM : ${color #CCCCCC}$memmax $memperc% ${membar 6}
${color #888888}Swap : ${color #CCCCCC}$swapmax $swapperc% ${swapbar 6}
${color #ffccaa}POWER
${color white}${hr 1}
${color #888888}AC Adapter: ${color #CCCCCC}$acpiacadapter
${color #888888}Battery : ${color #CCCCCC}$battery $battery_time
${color #ffccaa}DISK
${color white}${hr 1}
${color #888888}/ : ${color #CCCCCC}${fs_size /} ${fs_used_perc /} % ${alignr}${fs_bar 6,100 /}
${color #888888}/home : ${color #CCCCCC}${fs_size /home} ${fs_used_perc /home} % ${alignr}${fs_bar 6,100 /home}
${color #ffccaa}PROCESSES
${color white}${hr 1}
${color #888888}Processes: ${color #CCCCCC}$processes ${color #888888}Running: ${color #CCCCCC}$running_processes
${color #888888}Name PID CPU% MEM%
${color #CCCCCC}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #CCCCCC}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #CCCCCC}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #CCCCCC}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #CCCCCC}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #CCCCCC}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #ffccaa}NETWORK
${color white}${hr 1}
${color #888888}Down : ${color #CCCCCC}${downspeed wlan0}kb/s${color #888888}${alignr}Total : {color #CCCCCC}${totaldown wlan0}
${color #888888}Up : ${color #CCCCCC}${upspeed wlan0}kb/s${color #888888}${alignr}Total : ${color #CCCCCC}${totalup wlan0}
${color #ffccaa}NOW PLAYING
${color white}${hr 1}
${color #888888}Artist: ${color #CCCCCC}$mpd_artist
${color #888888}Title : ${color #CCCCCC}${mpd_title 30}
${color #CCCCCC}$mpd_bar
${color #CCCCCC}$mpd_elapsed/$mpd_length ${alignc}$mpd_status ${alignr}$mpd_percent%
Last edited by elliott (2007-11-21 14:20:43)
Offline
Conky ${if_running gmpc} = False:
Conky ${if_running gmpc} = True:
alignment top_right
background yes # fork process
color0 1C1C1C # section header
double_buffer yes # may reduce flicker
default_color BBBBBB
draw_outline no # draw text outline
draw_shades no # draw shades
gap_x 10 # right (x) / top (y) screen-gaps
gap_y 45
own_window yes # required with nautilus
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
update_interval 3.0 # update interval in seconds
use_spacer yes # prevent shifting when output changes
use_xft yes # font settings
xftalpha 0.8
xftfont andale mono:size=8
uppercase no
# Note: cpugraph, downspeedgraph, & upspeedgraph colors
# Gradient1: ffffff - white
# Gradient2: 00A2FF - bright / light blue
TEXT # the following creates onscreen format
${color0}${font openlogos:bold:size=20}B$font $nodename > ${uptime} ${hr 1}$color
$sysname $kernel / $machine
${if_running gmpc}
${color0}MPD - Status: <${mpd_status}> PCM Vol: ${mpd_vol}% ${hr 1}$color
Artist : ${mpd_artist}
Album : ${mpd_album}
Track : ${mpd_track}
Title : ${mpd_title}
${mpd_bar 15}
Progress: ${mpd_percent}% | ${mpd_elapsed} / ${mpd_length}
${endif}
${color0}CPU > ${freq}MHz ${hr 1}$color
Avg. Load Over 1, 5, 15 minutes: ${loadavg}
Current Load: $cpu% $cpubar
${cpugraph 15,310 ffffff 00A2FF}
${color0}PROCESSES > ${processes} / ${running_processes} ${hr 1}$color
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color0}MEMORY / SWAP > $memmax / $swapmax ${hr 1}$color
RAM : $mem / $memperc%${alignr}${membar 6,130}
Swap: $swap / $swapperc%${alignr}${swapbar 6,130}
I/O : ${diskio}${alignr}${diskiograph 6,130}
${color0}DISK > /dev/sdc ${hr 1}$color
/ ( sdc09): ${fs_free /} / ${fs_free_perc /}% ${fs_bar 6 /}
/home ( sdc10): ${fs_free /home} / ${fs_free_perc /home}% ${fs_bar 6 /home}
/usr (vg02-lv01): ${fs_free /usr} / ${fs_free_perc /usr}% ${fs_bar 6 /usr}
/opt (vg02-lv02): ${fs_free /opt} / ${fs_free_perc /opt}% ${fs_bar 6 /opt}
/var (vg02-lv03): ${fs_free /var} / ${fs_free_perc /var}% ${fs_bar 6 /var}
/store ( sdc14): ${fs_free /home/user/zzStore} / ${fs_free_perc /home/user/zzStore}% ${fs_bar 6 /home/user/zzStore}
${color0}NETWORK > ${addr eth0} ${hr 1}$color
${downspeedgraph eth0 15,150 ffffff 00A2FF} ${upspeedgraph eth0 15,150 ffffff 00A2FF}
Down / Up Speed: ${downspeed eth0} k/s / ${upspeed eth0} k/s
Down / Up Bytes: ${totaldown eth0} / ${totalup eth0}
Inbound / Outbound / Total: ${tcp_portmon 1 32767 count} / ${tcp_portmon 32768 61000 count} / ${tcp_portmon 1 65535 count}
${color0}SENSORS ${hr 1}$color
CPU Temp: ${platform it87.3328 temp 1} C CPU Fan : ${platform it87.3328 fan 1} RPM
M/B Temp: ${platform it87.3328 temp 2} C M/B Fan : ${platform it87.3328 fan 3} RPM
${execi 60 tail -1 ~/.zzlog/smart/sda.log}
${execi 60 tail -1 ~/.zzlog/smart/sdb.log}
${execi 60 tail -1 ~/.zzlog/smart/sdc.log}
${execi 30 sensors |grep VCore |cut -c1-18}
${execi 30 sensors |grep Graphics |cut -c1-18}
For the script I wrote to toggle alternate Conky configs, see here if interested:
http://bbs.archlinux.org/viewtopic.php? … 82#p276282
Offline
@elliott
That's what this thread is for! :-)
Don't panic!
Offline
A work in progress, but all right aligned! (a real pain in the ...)
Download everything here.
# Platinummonkey's Conky configuration
# Built on Arch Linux i686 system
#
# To display everything here you will need the following scripts:
# r_box2.sh - created by me
# r_box_bar.sh - created by me
# countdown.rb - unknown creator, modified by me
# compsize.sh - unknown command author, script created by me
# fortune - in the repo's
# arch_update.py - created by Michal Orlik (Put shell script with command 'pacman -Sy' into /etc/cron.hourly/ to make this work!)
#
# Other necessary tools for the above scripts to work:
# awk/gawk/etc... (must be properly linked to 'awk' unless you want to go through all the scripts and change it yourself ;))
# bc (bash calculator) availiable in the repo's (requires supplied extensions.bc)
# ruby (and rubygems) - repo's
# python - repo's
# patience - sold separately
#
# The following fonts are required for the logos to be displayed: (All of these are TTF fonts!)
# openlogos: http://icompile.info/logos.html
# illustrate: http://icompile.info/logos.html
# Bitstream Vera Sans Mono: repo's
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password vista_killer
# Print everything to console?
out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour grey
# If own_window is yes, these window manager hints may be used
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 280 5
maximum_width 348
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color lightgrey
default_shade_color grey
default_outline_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
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 no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /dir
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# stuff after 'TEXT' will be formatted on screen
TEXT
${alignr}${font openlogos:bold:size=15}B${font}[$nodename - $sysname $kernel on $machine]
${alignr}|
${alignr}system--+
${alignr}| |
${alignr}$uptime :Uptime--+ |
${alignr}$loadavg :Load--+ |
${alignr}$cpu% :CPU Usage--+ |
${alignr}${cpubar 5,200} | |
${alignr}:Processes--+ |
${alignr}| |
${alignr}$processes :Total--+ |
${alignr}$running_processes :Running--+ |
${alignr}|
${alignr}resources--+
${alignr}| |
${alignr}$diskio_read :Read--+ |
${alignr}$diskio_write :Write--+ |
${alignr}| |
${alignr}$mem/$memmax - $memperc% used :RAM--+ |
${alignr}${membar 5,200} | |
${alignr}$swap/$swapmax - $swapperc% used :Swap--+ |
${alignr}${swapbar 5,200} | |
${alignr}${fs_used /}/${fs_size /} ${fs_used_perc /}% used :root--+ |
${alignr}${fs_bar 5,200 /} | |
${alignr}${fs_used /home}/${fs_size /home} ${fs_used_perc /home}% used :home--+ |
${alignr}${fs_bar 5,200 /home} | |
${if_mounted /media/disk-1}${alignr}${fs_used /media/disk-1}/${fs_size /media/disk-1} ${fs_used_perc /media/disk-1}% used :USB Drive--+ |
${alignr}${fs_bar 5,200 /media/disk-1} | |
${alignr}$else${alignr}| $endif
${alignr}net--+
${alignr}| |
${alignr}${downspeed eth0} k/s :down--+ |
${alignr}${downspeedgraph eth0 8,200 eeeeee cccccc} | |
${alignr}${upspeed eth0} k/s :up--+ |
${alignr}${upspeedgraph eth0 8,200 eeeeee cccccc} | |
${alignr}|
${alignr}${execi 10 ~/dev/r_box2.sh}
${alignc}${execbar ~/dev/r_box_bar.sh}
${alignr}|
${alignr}${execi 3600 ~/dev/compsize.sh}
${alignr}${execi 7200 ~/dev/countdown.rb | awk '{printf "%58s\n", $0}'}
${alignr}|
${alignr}:FORTUNE--+
${alignr}${execi 3600 fortune -as | fold -w 58 | awk '{printf "%58s\n", $0}'}
${alignr}|
${alignr}:Arch Updates--+
${hr}
${texeci 1800 python ~/dev/arch_update.py | awk '{printf "%58s\n", $0}'}
${alignr}
${alignc}${font openlogos:size=25}${if_running firefox-bin}P${endif}${if_running soffice.bin}f${endif}${font illustrate:size=20}${if_running rhythmbox}4${endif}${if_running vlc}7${endif}${if_running Dreamweaver.exe}P${endif}${if_running Fireworks.exe}Q${endif}${if_running Flash.exe}R${endif}${font openlogos:size=25}t${font}
Last edited by platinummonkey (2007-12-02 04:22:39)
Offline
Well, i shamelessly stole drakosha's conkyrc, tweaked it a bit, and here's the result:
background no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_graph_borders yes
stippled_borders 8
border_margin 4
border_width 4
maximum_width 155
default_color darkgrey
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x -5
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
color0 5b6dad
TEXT
$color0}${alignc}${nodename} -- ${uptime_short}
$color0}CPU: ${color grey}$cpu% $color0}[$color${exec sensors | grep 'Core 0' | cut -c15-16}C$color0}] ${freq_dyn}Mhz
$color0} ${cpugraph 16,140 000000 7f8ed3}
$color0}RAM: $color$mem/$memmax
$color0} ${membar 6,140}
$color0}Swap: $color$swap/$swapmax
$color0} ${swapbar 6,140}
$color0}ETH0 Down: $color${downspeed eth0}${alignc} k/s
$color0} ${downspeedgraph eth0 16,140 000000 7f8ed3 190}
$color0}ETH0 Up: $color${upspeed eth0}${alignc} k/s
$color0} ${upspeedgraph eth0 16,140 000000 7f8ed3 16}
$color0}File systems:
$color0}/ $color${fs_free /}
$color0} ${fs_bar 6,140 /}
$color0}HDD Usage: [Temp: $color${exec nc localhost 7634 | cut -c27-28;}C$color0}]
$color0} $color${diskiograph 16,140 000000 7f8ed3 90000}
$color0}Processes:$color $processes | $running_processes
${color} CPU Usage CPU
${color #ddaa00} ${top name 1}${offset -10} ${top cpu 1}
$color0} ${top name 2}${offset -10} ${top cpu 2}
$color0} ${top name 3}${offset -10} ${top cpu 3}
$color0} ${top name 4}${offset -10} ${top cpu 4}
${color} MEM Usage MEM
${color #ddaa00} ${top_mem name 1}${offset -10} ${top_mem mem 1}
$color0} ${top_mem name 2}${offset -10} ${top_mem mem 2}
$color0} ${top_mem name 3}${offset -10} ${top_mem mem 3}
$color0} ${top_mem name 4}${offset -10} ${top_mem mem 4}
$color0}# of Connections
$color In: ${tcp_portmon 1 32767 count} Out: ${tcp_portmon 32768 61000 count}${alignr}
Last edited by darkarchon (2007-12-02 19:21:37)
Offline
#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
#position
gap_x 0
gap_y 0
alignment top_center
#behaviour
update_interval 1
#colour
default_color ffffff
#default_shade_color 0000003d352a
own_window_colour 000000
#font
use_xft yes
xftfont AvantGarde Md BT:pixelsize=13
TEXT
${alignc}${color}Kernel: ${color D7D3C5}$kernel | ${color}Processes: ${color D7D3C5}$processes ${color}Running: ${color D7D3C5}$running_processes | ${color}Core0: ${color D7D3C5}${cpu cpu1}% - ${color}Temp: ${color D7D3C5}${hwmon 0 temp 1}°C ${color}Core1: ${color D7D3C5}${cpu cpu2}% - ${color}Temp: ${color D7D3C5}${hwmon 0 temp 3}°C | ${color}Mem: ${color D7D3C5}$memperc% | ${color}Root: ${color D7D3C5}${font}${fs_free /} / ${fs_size /} | ${color}Home: ${color D7D3C5}${fs_free /home} / ${fs_size /home} | ${color}IP: ${color D7D3C5}${addr eth0} | ${color}Down: ${color D7D3C5}${downspeedf eth0}k/s - ${color}Up: ${color D7D3C5}${upspeedf eth0}k/s
Offline
An update from before. Still a work in progress, but all right aligned!
my .conkrc:
# Platinummonkey's Conky configuration
# Built on Arch Linux i686 system
#
# To display everything here you will need the following scripts:
# r_box.sh - created by me
# r_box_bar.sh - created by me
# countdown2.rb - unknown creator, modified by me
# compsize2.sh - unknown command author, script created by me
# fortune - in the repo's
# arch_update.py - created by Michal Orlik (Put shell script with command 'pacman -Sy' into /etc/cron.hourly/ to make this work!)
#
# Other necessary tools for the above scripts to work:
# awk/gawk/etc... (must be properly linked to 'awk' unless you want to go through all the scripts and change it yourself ;))
# bc (bash calculator) availiable in the repo's (plus provided extensions)
# ruby (and rubygems) - repo's
# python - repo's
# patience - sold separately
#
# The following fonts are required for the logos to be displayed: (All of these are TTF fonts!)
# openlogos: http://icompile.info/logos.html
# illustrate: http://icompile.info/logos.html
# DejaVu Sans Mono: repo's
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont DejaVu Sans Mono:pixelsize=10
# Text alpha when using Xft
xftalpha 1
# Print everything to stdout?
out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password vista_killer
# Print everything to console?
out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour grey
# If own_window is yes, these window manager hints may be used
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 280 5
maximum_width 348
# Max buffers for conky!
# Default - max_specials 512
# Default - max_user_text 16384 #bytes
# Default - text_buffer_size 1280 #bytes
max_specials 1024
max_user_text 65536
text_buffer_size 10240
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color lightgrey
default_shade_color grey
default_outline_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
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 no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /dir
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# stuff after 'TEXT' will be formatted on screen
#${alignr}${hwmon cpu 0} :CPU Temp──┤ │
TEXT
${alignr}${font openlogos:bold:size=15}B${font}[$nodename ─ $sysname $kernel on $machine]
${alignr}│
${alignr}system──┤
${alignr}│ │
${alignr}$uptime :Uptime──┤ │
${alignr}$loadavg :Load──┤ │
${alignr}$cpu% :CPU Usage──┤ │
${alignr}${cpubar 5,200} │ │
${alignr}${acpitemp}.0°C :CPU Temp 1──┤ │
${alignr}${hwmon temp 1}°C :Temp 1──┤ │
${alignr}${hwmon temp 2}°C :Temp 2──┤ │
${alignr}${hwmon temp 3}°C :Temp 3──┤ │
${alignr}${hwmon fan 1} rpm :Fan 1──┤ │
${alignr}${exec sensors | awk '/VCore 1/ {print $3}'} :VCore──┤ │
${alignr}${exec sensors | awk '/cpu0_vid/ {print $2}'} :GPU voltage──┤ │
${alignr}:Processes──┘ │
${alignr}│ │
${alignr}$processes :Total──┤ │
${alignr}$running_processes :Running──┘ │
${alignr}│
${alignr}resources──┤
${alignr}│ │
${alignr}$diskio_read :Read──┤ │
${alignr}$diskio_write :Write──┤ │
${alignr}│ │
${alignr}$mem/$memmax - $memperc% used :RAM──┤ │
${alignr}${membar 5,200} │ │
${alignr}$swap/$swapmax - $swapperc% used :Swap──┤ │
${alignr}${swapbar 5,200} │ │
${alignr}${fs_used /}/${fs_size /} ${fs_used_perc /}% used :root──┤ │
${alignr}${fs_bar 5,200 /} │ │
${alignr}${fs_used /home}/${fs_size /home} ${fs_used_perc /home}% used :home──┤ │
${alignr}${fs_bar 5,200 /home} │ │
${if_mounted /media/disk-1}${alignr}${fs_used /media/disk-1}/${fs_size /media/disk-1} ${fs_used_perc /media/disk-1}% used :USB Drive──┤ │
${alignr}${fs_bar 5,200 /media/disk-1} │ │
${alignr}$else${alignr}│ $endif
${alignr}net──┤
${alignr}│ │
${alignr}${downspeed eth0} k/s :down──┤ │
${alignr}${downspeedgraph eth0 8,200 eeeeee cccccc} │ │
${alignr}${upspeed eth0} k/s :up──┤ │
${alignr}${upspeedgraph eth0 8,200 eeeeee cccccc} │ │
${alignr}│
${alignr}${execi 10 ~/dev/r_box.sh}
${if_running rhythmbox}${alignc}${execbar ~/dev/r_box_bar.sh}${else}${alignr}│ ${endif}
${alignr}│
${alignr}${execi 3600 ~/dev/compsize2.sh}
${alignr}${execi 7200 ~/dev/countdown2.rb | awk '{printf "%64s\n", $0}'}
${alignr}│
${alignr}:FORTUNE──┤
${alignr}${execi 3600 fortune -as | fold -w 58 | awk '{printf "%58s\n", $0}'}
${alignr}│
${alignr}:Arch Updates──┘
${hr}
${if_running pacman}${alignr}Update in progress...${else}${texeci 1800 python ~/dev/arch_update.py | awk '{printf "%58s\n", $0}'}${endif}
${alignr}
${alignc}${font openlogos:size=25}${if_running firefox-bin}P${endif}${if_running soffice.bin}f${endif}${font "Illustrate IT":size=20}${if_running rhythmbox}4${endif}${if_running vlc}7${endif}${if_running Dreamweaver.exe}P${endif}${if_running Fireworks.exe}Q${endif}${if_running Flash.exe}R${endif}${font openlogos:size=25}t${font}
Edit: very minor update. (Place if statement on arch update. That way, when I update, I wont get that nasty error. Instead it will show "update in progress..." )
Last edited by platinummonkey (2007-12-14 23:16:18)
Offline
platinummonkey, I like it very much! Thanks for sharing
-- archlinux 是一个极好的 linux。
Offline
Extremely simple, one color config 30px from the top left corner
background no
use_xft yes
xftfont Bitstream Vera Sans:size=7
xftalpha 0.8
mpd_host localhost
mpd_port 6600
# mpd_password tinker_bell
update_interval 1
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
#own_window_colour hotpink
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
#stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
gap_x 12
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
# stuff after 'TEXT' will be formatted on screen
TEXT
Sys: $kernel
Uptime: $uptime
CPU: $cpu%
RAM: $memperc% ($mem / $memmax)
Net: Down:${downspeed eth0} k/s
Up: ${upspeed eth0} k/s
Free:
/ ${fs_bar 6,75 /}
/home ${offset 1} ${fs_bar 6,75 /home}
Pkgs:
${texeci 10800 python /home/bryan/scripts/pacman.py}
Mail: ${execi 3000 python ~/scripts/gmail.py}
MPD: $mpd_status
$mpd_smart
($mpd_elapsed / $mpd_length)
"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)
Offline
Extremely simple, one color config 30px from the top left corner
http://xs322.xs.to/xs322/07500/conky.jpg.xs.jpg
Looks nice, I'm probably going to steal some of it and change mine. :-)
Last edited by [vEX] (2007-12-16 11:30:56)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Okay, so I couldn't get it to look the way I wanted. So I started from scratch and did a new one inspired from the ones in this thread.
# ~/.conkyrc
background no
use_xft no
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
override_utf8_locale no
update_interval 1.0
total_run_times 0
own_window no
own_window_type normal
own_window_transparent yes
own_window_colour hotpink
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_margin 10
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 5
gap_y 29
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
use_spacer no
TEXT
$sysname $kernel ($machine)
${hr 1}
CPU: ${cpu}% ${alignr}${freq_dyn}MHz
${cpubar 6}
RAM: ${memperc}% ${alignr}${mem} / ${memmax}
${membar 6}
Swap: ${swapperc}% ${alignr}${swap} / ${swapmax}
${swapbar 6}
Processes: ${running_processes} / ${processes}
Load: ${loadavg 1} ${loadavg 2} ${loadavg 3}
Up: ${upspeed eth0}kB/s ${alignr}${totalup eth0}
Down: ${downspeed eth0}kB/s ${alignr}${totaldown eth0}
CPU: ${hwmon 1 temp 2}°C GFX: ${texeci 10 ~/Program/Skript/conky_gputemp.sh}.0°C
Case: ${hwmon 1 temp 1}°C NB: ${hwmon 1 temp 3}°C
/ ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 6 /}
/home ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 6 /home}
/tmp ${alignr}${fs_free /tmp} / ${fs_size /tmp}
${fs_bar 6 /tmp}
The conky_gputemp.sh script (kudos to AriciU):
#!/bin/sh
nvidia-settings -q gpucoretemp |grep '):' | cut -c 45-46
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline