You are not logged in.
Following the discussion in this thread I will now be making Conky threads each month like our monthly screenshot threads.
Feel free to post your conky screenshots and configs like before. These threads will also be the place to discuss ideas, refine your configs and problem solve.
Enjoy 
Offline
I am having an issue with width expansion on my conky.. I have a minimum size setting ... I run a gmail parser from it that expands the width of the conky to a certain point when emails arrive. At times, this expansion goes beyond the normal border and does not retract back ...
This does not happen all the time, only occasionally...
Any ideas on this weirdness?
Edit -
I have now put in a maximum_width setting and will see if that resolves it
Last edited by VastOne (2011-08-12 17:49:46)
VSIDO
If you build it, they will come...
Words That Build Or Destroy
Offline
Sure, whyy not, mine is very simple, I got most of it from Kexolino, but modified the settings a little. It's buggy at times with cairo-compmgr, but i've ironed out most of the stuff. The font is Radio Space.
conkyrc as follows, it might be a little dirty, cuz like Linux, it defies a stable API!
##############################################
#Settings
##############################################
background yes
use_xft yes
use_spacer no
xftfont Radio Space:size=11
text_buffer_size 2048
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
#own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 400 5
maximum_width 1366
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color d8d8d8
default_shade_color 000000
default_outline_color d9d7d6
alignment top_middle
gap_x 12
gap_y 24
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
# Output
##############################################
TEXT
${execi 1 date +"%A, %B %d, %H:%M"} | Kernel: $kernel | Uptime: $uptime_short | RAM: $mem/$memmax | Root: ${fs_used /}/${fs_size /} | Home: ${fs_used /home}/${fs_size /home} Offline
Upgrade from conky 1.8.1-2 to 1.8.1-3 new dependencies libaudclient2 libxmmsclient6
I thought this was a system monitor not a music player !?!
Get Dropbox and an extra 500 mb http://db.tt/wAizqw0
Offline
@omns glad to see this one started.
... and a kind word. -Duke
Offline
I'm having issues with my top line of conky. For some reason I can't get it straight. This is on a new install and I used the same config file from a previous install which didn't have this problem. I tried using voffset but it's really fiddly and odd. Could someone help me out please?
Here's my .conkyrc
# Use Xft?
use_xft yes
xftfont cure
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# 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
own_window_transparent no
own_window_type no
own_window_hints undecorated
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1028 50
# 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 666666
own_window_colour grey
# Text alignment, other possible values are commented
alignment bottom_middle
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x
gap_y
# 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 none
TEXT
${font gelly}Uptime:${font} ${color ecedee}${uptime_short} | ${color}${font gelly}Cpu:${font} ${color ecedee}${cpu}% ${color}${cpugraph 10,80 303030 ecedee} ${color ecedee} | ${color }${font gelly}Mem:${font} ${color ecedee}$mem/$memmax - $memperc% ${color} ${membar 8,80}${color ecedee} | ${color }${font gelly}Net: ${font}${color ecedee}${font}${downspeed eth0} Kb/s ${color} ${downspeedgraph eth0 10,80 ecedee 303030} ${color ecedee} ${totaldown eth0} down | ${color ecedee}${upspeed eth0} Kb/s ${color} ${upspeedgraph eth0 10,80 ecedee 303030} ${color ecedee}${totalup eth0} up |
${alignc}|${color } ${alignc} ${color }${font gelly}Root:${font} ${color ecedee}${font}${fs_free /} / ${fs_size /} - ${fs_free_perc /}% | ${color} ${font gelly}Home:${font} ${color ecedee}${fs_free /home} / ${fs_size /home} - ${fs_free_perc /home}% |
Last edited by Jadrian (2011-08-12 19:29:46)
Offline
Upgrade from conky 1.8.1-2 to 1.8.1-3 new dependencies libaudclient2 libxmmsclient6
I thought this was a system monitor not a music player !?!
It requires those dependencies as it was compiled with support for audacious and xmms. Conky includes specific variables you can use for those two players.
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
i had this idea and did it
no numbers just colorchange dots, green to yellow to red
conkyrc code
lua_load ~/lua/colordots.lua
lua_draw_hook_pre draw_colordot
TEXTlua code colordot.lua
require 'cairo'
function conky_draw_colordot()
if conky_window == nil then return end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
cr = cairo_create(cs)
local updates=tonumber(conky_parse('${updates}'))
if updates>5 then
--#########################################################################################################
--#########################################################################################################
--avg cpu indicator---------------------------------------
local co=conky_parse("${cpu}") --type conky object to be parsed within the quotes
local alpha=1 --alpha for dot
local mv=100 --max value for conky object
local rv=100 --red at value
local rad=5 --radius of dot
--position (dot position)
local xpos=100
local ypos=100
--label
local text="CPU_AVG" --text for label in quotes
local font="White Rabbit" --font for label in quotes
local fsize=12 --fontsize
local gap=10 --gap between dot edge and text
local label="L" --set to which side you want the text label
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label) --call drawing function
-----------------------------------------------------------
--core1 indicator---------------------------------------
local co=conky_parse("${cpu cpu1}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=100
local ypos=120
--label
local text="CORE_1"
local font="White Rabbit"
local fsize=12
local gap=10
local label="L"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--core2 indicator---------------------------------------
local co=conky_parse("${cpu cpu2}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=100
local ypos=140
--label
local text="CORE_2"
local font="White Rabbit"
local fsize=12
local gap=10
local label="L"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--core3 indicator---------------------------------------
local co=conky_parse("${cpu cpu3}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=100
local ypos=160
--label
local text="CORE_3"
local font="White Rabbit"
local fsize=12
local gap=10
local label="L"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--memory indicator---------------------------------------
local co=conky_parse("${memperc}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=120
local ypos=100
--label
local text="MEMORY"
local font="White Rabbit"
local fsize=12
local gap=10
local label="R"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--root hdd indicator---------------------------------------
local co=conky_parse("${fs_used_perc /}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=120
local ypos=120
--label
local text="HDD_ROOT"
local font="White Rabbit"
local fsize=12
local gap=10
local label="R"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--home hdd indicator---------------------------------------
local co=conky_parse("${fs_used_perc /home}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=120
local ypos=140
--label
local text="HDD_HOME"
local font="White Rabbit"
local fsize=12
local gap=10
local label="R"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--win xp hdd indicator---------------------------------------
local co=conky_parse("${fs_used_perc /media/00508FE1508FDC32}")
local alpha=1
local mv=100
local rv=100
local rad=5
--position
local xpos=120
local ypos=160
--label
local text="HDD_WINXP"
local font="White Rabbit"
local fsize=12
local gap=10
local label="R"
colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
-----------------------------------------------------------
--#########################################################################################################
--#########################################################################################################
end-- if updates>5
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
end-- end main function
function colordot(co,mv,rv,alpha,rad,xpos,ypos,text,font,fsize,gap,label)
local cv=tonumber(co)
if cv==nil then cv=0 end
--start color = green
local str=0
local stg=1
local stb=0
--middle color = yellow
local mr=1
local mg=1
local mb=0
--finish color = red
local fr=1
local fg=0
local fb=0
if cv>=rv then
colr=fr
colg=fg
colb=fb
elseif cv<rv then
mv=mv-(mv-rv)
if cv<(mv/2) then
colr=((mr-str)*(cv/(mv/2)))+str
colg=((mg-stg)*(cv/(mv/2)))+stg
colb=((mb-stb)*(cv/(mv/2)))+stb
elseif cv>=(mv/2) then
colr=((fr-mr)*((cv-(mv/2))/(mv/2)))+mr
colg=((fg-mg)*((cv-(mv/2))/(mv/2)))+mg
colb=((fb-mb)*((cv-(mv/2))/(mv/2)))+mb
end
end
--draw dot
cairo_arc (cr,xpos,ypos,rad,0,2*math.pi)
cairo_set_source_rgba (cr,colr,colg,colb,alpha)
cairo_fill (cr)
--draw label
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fsize)
extents=cairo_text_extents_t:create()
cairo_text_extents(cr,text,extents)
local width=extents.width
local height=extents.height
cairo_set_source_rgba (cr,1,1,1,1)
if label=="L" then
cairo_move_to (cr,xpos-rad-gap-width,ypos+(height/2))
else
cairo_move_to (cr,xpos+rad+gap,ypos+(height/2))
end
cairo_show_text (cr,text)
cairo_stroke (cr)
endthe black background is through another bg script, not included here
Last edited by mrpeachy (2011-08-17 23:30:31)
Offline
Just wanted to thank Sector 11 for putting my conky up on conky pitstop..when I saw that it made my day!!!
Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!
Offline
here's mine 
"I'd rather run Linux on a 6.5KHz machine through an ARM emulator than run Vista"
Offline
Here is my main one. The App Keybinds changes my .conkyrc symlink in order to show all my keybinds. The weather doesn't fully work yet but I'm working on it. For some reason the cloud_cover stopped showing... but that could be because it is clear now. Earlier today it worked when it was partially cloudy, idk.
background yes
use_xft yes
xftfont monospace:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 50
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color white
default_outline_color white
alignment tr
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
temperature_unit fahrenheit
short_units true
##############################################
# Output
##############################################
TEXT
Uptime:$alignr$uptime
WEATHER ${hr 2}
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMGE temperature 5} °F ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMGE humidity 5}% humidity
${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMGE wind_speed 5} km/h ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMGE wind_dir 5} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMGE cloud_cover}
MEMORY ${hr 2}
RAM: $alignc $mem/$memmax $alignr $memperc%
$membar
Swap usage: $alignc $swap/$swapmax $alignr $swapperc%
$swapbar
/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
PROCESSORS ${hr 2}
${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
${cpugraph cpu2}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
${cpugraph cpu3}
CPU3: ${cpu cpu3}% ${cpubar cpu3}
${cpugraph cpu4}
CPU4: ${cpu cpu4}% ${cpubar cpu4}
TOP PROCESSES ${hr 2}
${exec ps -u miles -o comm --sort=-%cpu | head -n2 | tail -n1} $alignr ${exec ps -u miles -o %cpu --sort=-%cpu | head -n2 | tail -n1}%
${exec ps -u miles -o comm --sort=-%cpu | head -n3 | tail -n1} $alignr ${exec ps -u miles -o %cpu --sort=-%cpu | head -n3 | tail -n1}%
${exec ps -u miles -o comm --sort=-%cpu | head -n4 | tail -n1} $alignr ${exec ps -u miles -o %cpu --sort=-%cpu | head -n4 | tail -n1}%
${exec ps -u miles -o comm --sort=-%cpu | head -n5 | tail -n1} $alignr ${exec ps -u miles -o %cpu --sort=-%cpu | head -n5 | tail -n1}%
${exec ps -u miles -o comm --sort=-%cpu | head -n6 | tail -n1} $alignr ${exec ps -u miles -o %cpu --sort=-%cpu | head -n6 | tail -n1}%
NETWORK ${hr 2}
Down: ${downspeedf eth0} K/s $alignr ${totaldown eth0}
${downspeedgraph eth0}
Up: ${upspeedf eth0} K/s $alignr ${totalup eth0}
${upspeedgraph eth0}
SHORTCUT KEYS ${hr 2}
S+z $alignr App Keybinds
Last edited by mjwhitta (2011-08-13 21:24:50)
Offline
Black and blue on my netbook (with part of the wallpaper, of course
)

Offline
exNULL had such a great conky in the last thread I had to see what it was like with color.Put it on a kubuntu machine and fired up the coffee pot.I added digital clock,cpu and hdd temps and added color to the bargraphs.Took out the music parts in conky and ring lua and changed colors in lua.
here it is
Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!
Offline
I am having an issue with width expansion on my conky.. I have a minimum size setting ... I run a gmail parser from it that expands the width of the conky to a certain point when emails arrive. At times, this expansion goes beyond the normal border and does not retract back ...
This does not happen all the time, only occasionally...
Any ideas on this weirdness?
Edit -
I have now put in a maximum_width setting and will see if that resolves it
I take it since there has been nothing else said, you have solved the problem with the max_width or is it still happening?
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
I'm having issues with my top line of conky. For some reason I can't get it straight. This is on a new install and I used the same config file from a previous install which didn't have this problem. I tried using voffset but it's really fiddly and odd. Could someone help me out please?
Been a l-o-n-g busy weekend or I would have answered earlier. Three birthdays and father-in-law sitting takes up real time.
I could not find your fonts: gelly and cure so I replaced them with DejaVu Sans Mono and monospace. Your screen is wider than mine so I cannot see it all bit everything lines up.
This tells me that the fonts are the problem - easily fixed with ${voffset xx} or ${voffset -xx} commands. Check this out: Goto/offset/voffset
Also you have one other problem:
12:46:27 ~
$ killall conky && conky -c ~/conky/Jadrian
Conky: /home/sector11/conky/Jadrian: 18: config file error
Conky: /home/sector11/conky/Jadrian: 40: no such configuration: 'border_margin'
Conky: desktop window (1ad) is root window
Conky: drawing to desktop window
Conky: drawing to double buffer
Conky: '/home/sector11/conky/Jadrian' modified, reloading...
Conky: /home/sector11/conky/Jadrian: 18: config file error
Conky: desktop window (1ad) is root window
Conky: drawing to desktop window
Conky: drawing to double bufferborder_margin no longer exists it needs to be changed to either:
border_inner_margin
Inner border margin in pixels (the margin between the border and text).border_outer_margin
Outer border margin in pixels (the margin between the border and the edge of the window).
I changed it to:
# border margins
border_inner_margin 5That should get you going in the right direction.
Need more help just ask.
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
i had this idea and did it
no numbers just colorchange dots, green to yellow to red
NICE!!!!! this is great! I gotta play with this.
Last edited by Sector11 (2011-08-15 16:56:10)
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Upgrade from conky 1.8.1-2 to 1.8.1-3 new dependencies libaudclient2 libxmmsclient6
I thought this was a system monitor not a music player !?!
Are there DEB's for this beast laying around some place or is it a compile it yourself thing?
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
here's mine
As always SuNjACk you come up with some nice stuff and this is one of them.
Last edited by Sector11 (2011-08-15 16:55:44)
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Here is my main one. The App Keybinds changes my .conkyrc symlink in order to show all my keybinds. The weather doesn't fully work yet but I'm working on it. For some reason the cloud_cover stopped showing... but that could be because it is clear now. Earlier today it worked when it was partially cloudy, idk.
Yours is the first conky I have see using the ${weather} command. I hope you get it working properly.
Where did you find this info:
KMGE temperature 5
KMGE humidity 5
KMGE wind_speed 5
KMGE wind_dir 5
KMGE cloud_cover
KMGE is your "location" I'd bet:
http://weather.noaa.gov/pub/data/observ … /stations/
2011/08/15 15:55
KMGE 151555Z AUTO 34006KT 10SM CLR 27/16 A2992 RMK AO2 SLP121 T02690160 $but where did you find the:
temperature 5, humidity 5, wind_speed 5, wind_dir 5, cloud_cover parts?
What does the 5 mean?
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
Black and blue on my netbook (with part of the wallpaper, of course
)
Nice --- is that centred on your screen?
Would like to see that with the code and a full screen.
Last edited by Sector11 (2011-08-15 16:55:14)
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
exNULL had such a great conky in the last thread I had to see what it was like with color.Put it on a kubuntu machine and fired up the coffee pot.I added digital clock,cpu and hdd temps and added color to the bargraphs.Took out the music parts in conky and ring lua and changed colors in lua.
Nice mods to exNULL's setup. it's a nice layout to say the least.
Last edited by Sector11 (2011-08-15 16:54:52)
#! Etiquette | Conky PitStop | VSIDO | Interactive LUA
Weather v9000 | Teo x4 Sites | Arclance | Finnish
Offline
where did you find the:
temperature 5, humidity 5, wind_speed 5, wind_dir 5, cloud_cover parts?
What does the 5 mean?
the 5 is update interval in minutes
all the variables for weather are now listed on the conky objects page
should be interesting to try out
Last edited by mrpeachy (2011-08-15 19:47:30)
Offline
jeffreyC wrote:Upgrade from conky 1.8.1-2 to 1.8.1-3 new dependencies libaudclient2 libxmmsclient6
I thought this was a system monitor not a music player !?!Are there DEB's for this beast laying around some place or is it a compile it yourself thing?
Its the conky from Unstable/Sid:
http://packages.debian.org/sid/conky-all
BTW Sector11, you know you can group your replies into one post instead of like quadruple posting, right? 
Note: ** Please read before posting **
BTW if you wish to contact me, send me an e-mail instead of a PM.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.