conky

SuperAntMD

Expert Member
Joined
Apr 29, 2005
Messages
1,063
So i've spent hours on this but just cant get to grips with it.
Anyone know of a site with good conky scripts and screenshots?
Im running a quad core overclocked and want to monitor the whole system, but cant find anything that suits my tastes and the bash scripting is a bit beyond me.

i can modify slightly but writing my own is out. Anyone got something nice?
 

MyWorld

Executive Member
Joined
Mar 24, 2004
Messages
5,001
With conky you will need to read quite a bit to understand how some scripts work, first off, what distro and DE are running?

http://bbs.archlinux.org/viewtopic.php?id=39906

Some nice samples of this thread:
http://www.tetonedge.net/screenshots/conky.png
http://www.monsterup.com/upload/1241006163999.png
http://i31.tinypic.com/2i7xxe0.jpg

And now for the crem-de-la-crem!
http://omploader.org/vMjRvdA - Jup, the iPod is conky!
http://i.imagehost.org/0420/Screenshot_10.png - Everything on the desktop, those circles, weather and calendar are all conky!
 
Last edited:

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
23,995
Here is an example of what readings I get off gkrellm:

attachment.php
 

SuperAntMD

Expert Member
Joined
Apr 29, 2005
Messages
1,063
Wow that was fast, I've got gkrellm but its really ugly, conky seems much more customizable and worth the work.
Running Karmic 64
 

MyWorld

Executive Member
Joined
Mar 24, 2004
Messages
5,001
With KDE you should tinker a bit to get conky going, it should be the same in Karmic, so read here:
http://bbs.archlinux.org/viewtopic.php?id=63986

If you sorted the transparency issue with KDE then you can read that thread I posted and look for a setup that most complements what you need, all the scripts are there and you rarely have to change something.
 

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
23,995
Look in screenlets and there's a few monitors you could use in there too.

If you know of a good screenlet that can read sensor info, please let me know. Tried all of them and none of them can read sensors (only cpu load, etc).
 

Happy Camper

Expert Member
Joined
Jul 21, 2009
Messages
1,510
If you know of a good screenlet that can read sensor info, please let me know. Tried all of them and none of them can read sensors (only cpu load, etc).

mmm off hand not too sure, but there are extra screenlets and widgets available for download, you may have to hunt one down.

gkrellm should actually work, you may just need to reconfigure it with:

sudo sensors-detect :)
 

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
23,995
I'm also going to look into conky, its really difficult finding a bunch of screenlets that "theme" well together. Thats why gkrellm sits on my widget layer, just looks so out of place.
 

hawker

Honorary Master
Joined
Sep 22, 2006
Messages
11,461
I think conky is awesome - the default one is terrible, but once you start customizing it, one can make it look pretty damn slick.

:)
 

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
23,995
Hey all, thought I'd revive this conky thread, seeing there is really not that much info on it here in these forums.

Been messing around with it for the last few days.

Great place to start is with conky-colors (http://gnome-look.org/content/show.php/CONKY-colors?content=92328), which is script driven and you can customise your conky layout quite easily in the cli.

I have customised a conky-colors script to suit my needs (http://yfrog.com/2rscreenshot13xnp) , but I would like to see what other conky setup's you guys are using. If you need help setting up scripts I have some knowledge now, not much, but enough to help out ("man conky" also very useful) :)

One cool thing I managed to do with my script is to get the download and upload icons to change when their is activity on my network interface, the debug mode came in very handy for this one.

So, if you have a conky script you'd like to share, post here!
 

avert

Senior Member
Joined
Jul 13, 2009
Messages
742
conky is easy as **** to mess around with, just swap in values, do some guessing

http://img51.imageshack.us/img51/4558/screenshot1107201006574.jpg

and my .conkyrc

Code:
#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
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 6
gap_y 6
alignment top_left

#behaviour
update_interval 1

#colour
default_color  9f907d

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont bauhaus:pixelsize=11

#to prevent window from moving
use_spacer no
minimum_size 1262 0

#mpd
mpd_host localhost
mpd_port 6600

TEXT
${alignc}Kernel: ${color D7D3C5}$kernel  |  ${color} Up: ${color D7D3C5}${uptime_short}   |   ${color}CPU: ${color D7D3C5}${cpu}%   ${color}${cpugraph 10,80 AEA08E 9F907D} ${color D7D3C5}    |   ${color }RAM: $memperc% ${color} ${membar 6,80}${color D7D3C5}    |   ${color }Down: ${color D7D3C5}${font}${downspeed wlan0} Kb/s ${color}  ${downspeedgraph wlan0 10,80 AEA08E 9F907D} | ${color}Up: ${color D7D3C5}${font}${upspeed wlan0} kbs ${color} ${upspeedgraph wlan0 10,80 AEA08E 9F907D} |  ${color D7D3C5} ${totaldown wlan0} down ${totalup wlan0} up
 

ocky

Well-Known Member
Joined
Apr 6, 2007
Messages
158
No idea how to post sshot in this forum, but here is my conky config. PS. Am also fresh out of the box as regards experience with conky. Most code lines filched
here and there.

Code:
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 2

# 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 150 0
#maximum_width 260

# 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 white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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 39

# 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 1

# 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
                    
${color Orange1}System ${hr 1}${color white}
${voffset 2}${font OpenLogos:size=25}{${font} Ubuntu:  ${alignr}${kernel}
${font StyleBats:size=16}x${font}   Machine:  ${alignr}${machine}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}A${font}   CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${font StyleBats:size=16}A${font}   CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 8,60}

${color white}GPU Temperature: $color ${execi 30 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}' | cut -c -2}degC

${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
 
${font StyleBats:size=16}o${font}   Uptime : ${alignr}$uptime
 
${font StyleBats:size=16}z${font}   Processes $alignr PID  CPU% MEM%
${hr 1}
${top_mem name 1}$alignr${top pid 1}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top pid 2}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top pid 3}${top_mem cpu 3}${top_mem mem 3}
${top_mem name 4}$alignr${top pid 4}${top_mem cpu 4}${top_mem mem 4}
${top_mem name 5}$alignr${top pid 5}${top_mem cpu 5}${top_mem mem 5}
${hr 1}

${color 88aaff}Home: ${color green}Free: $color${fs_free /home} ${color 0077ff}/ ${color 00ff88}Total size: $color${fs_size /home}
${color 3399cc}${fs_bar 6 /home}

${color 88aaff}Root: ${color green}Free: $color${fs_free /} ${color 0077ff}/ ${color 00ff88}Total size: $color${fs_size /}
${color 3399cc}${fs_bar 6 /}

${color ffffff}Date & Time ${hr 1}${color white}
${alignc 57}${font Radio Space:size=26}${time %H:%M}${font}
${voffset 8}${alignc}${font Arial:style=Bold:pixelsize=11}${time %A %d %B %Y}${alignc}${font}

${color Slategray1}Network ${hr 1}

${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}

${color Orange1}Music ${hr 1}

${exec conkyRhythmbox --datatype=ST}
${exec rhythmbox-client --print-playing --no-start}
${execibar 1 conkyRhythmbox --datatype=PP}
${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE}

${color 88aaff}Weather ${hr 1}
${color 88aaff}${voffset 8}${font Arial:size=9}George ZA : ${alignc}${execi 300 ~/.scripts/weather.sh "AFR|ZA|SF011|GEORGE"}

Here sshot.
attachment.php
 
Last edited:
Top