Conky Showoff thread

Forum rules
Before you post please read how to get help
kevin3331
Level 1
Level 1
Posts: 20
Joined: Mon May 30, 2016 8:06 pm

Re: Conky Showoff thread

Post by kevin3331 »

I am new to linux mint KDE but learning. I take no credit for this. but don't see alot of 8 core conky's out there. This is a mix match of others code to
config this conky. But I liked what i ended up with and thought i would share with everyone for all the newbi's like my self.

Sorry didn't mean to post 3 of the same pic. (first real post)


Code: Select all

========================================================================

background yes
update_interval 1
total_run_times 0

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 1320
gap_y 10
minimum_size 190 350 
maximum_width 320
own_window_class Conky
own_window yes
own_window_type Normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 25
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes

override_utf8_locale yes
use_xft yes
#xftfont caviar dreams:size=8
xftfont DejaVu Sans Mono:size=18
xftalpha 0.5
uppercase no

default_color Maroon
color1 Orange
color2 LawnGreen
color3 Red
color4 Yellow
color5 DDDDDD
color6 AAAAAA
color7 888888
color8 666666
color9 OliveDrab

TEXT

${color2}${font :Italic:size=14} $alignc Kev's DeskTop Build  
${color1}${font :Bold:size=14} $alignc ${time %I:%M%p}
${color3}${font :Bold:size=10}$alignc Uptime: $uptime
${color1}$alignc ${font :Italic:}${scroll 27 $sysname Mint KDE / AMD FX 8350 4.0 GHz x 8 Cores / Asus SABERTOOTH 990FX R2.0 MB / Corsair Vengeance 16GB DDR3 SDRAM @1866MHz / Radeon HD 7850 2GB 256-Bit GDDR5}
$hr
${color4}${font :Bold:size=8}Total CPU Usage: ${alignr}${color4}$cpu%@${freq_g cpu}GHz
${color3}${cpubar 15, 0}
${color9}Core1: ${color}${cpubar cpu1 10,76} ${color9}${cpu cpu1}% $alignr${color3}${cpu cpu2}%${color}${cpubar cpu2 10,76}${color3} Core2:
${color3}Core3: ${color}${cpubar cpu3 10,76} ${color3}${cpu cpu3}% $alignr${color1}${cpu cpu4}%${color}${cpubar cpu4 10,76}${color1} Core4:
${color1}Core5: ${color}${cpubar cpu5 10,76} ${color1}${cpu cpu5}% $alignr${color4}${cpu cpu6}%${color}${cpubar cpu6 10,76}${color4} Core6:
${color4}Core7: ${color}${cpubar cpu7 10,76} ${color4}${cpu cpu7}% $alignr${color9}${cpu cpu8}%${color}${cpubar cpu8 10,76}${color9} Core8:
${voffset 10} ${color2}${alignc}CPU Graph:${color1}${voffset -6}
${voffset -12}${color3}${cpugraph 15, 0}

${color1}CPU Temp: ${alignc}${color4}${hwmon 0 temp 1}°C 
${color1}Hard Drive A Temp: ${alignc}${color4}${hddtemp /dev/sda}°C

${color4}RAM ${alignc}${color4}${mem} / ${memmax} $alignr($memperc%)
${color3}${membar 15, 0}

${color4}Top 6 Processes $alignc CPU% $alignr MEM%
${color9}${top name 1}$alignc${top cpu 1}$alignr${top mem 1}
${color4}${top name 2}$alignc${top cpu 2}$alignr${top mem 2}
${color1}${top name 3}$alignc${top cpu 3}$alignr${top mem 3}
${color9}${top name 4}$alignc${top cpu 4}$alignr${top mem 4}
${color4}${top name 5}$alignc${top cpu 5}$alignr${top mem 5}
${color1}${top name 6}$alignc${top cpu 6}$alignr${top mem 6}
                   
${color4}Root $alignc ${fs_used /root} / ${fs_size /root}$alignr ${fs_free_perc /root}%
${color1}${fs_bar 15, 0 /root}

${color4}HOME $alignc ${fs_used /home} / ${fs_size /home}$alignr ${fs_free_perc /home}%
${color2}${fs_bar 15, 0 /home}
${color1}HDD Read-> ${alignc}${color1}${diskio_read}/s ${alignr}${color1}${diskio_write}/s ${color1}<-HDD Write
${color3}${diskiograph_read 10,150} ${alignr}${color3}${diskiograph_write 10,150}${color}

${color4}Lan:>  >  >  >  >  >  >${color} ${alignr}${color4}Internal IP: ${addr eth0}
${color1}Download: ${color1}${downspeed eth0}/s  ${alignr} $alignr${color1}Upload: ${color1} ${upspeed eth0}/s 
${color3}${downspeedgraph eth0 10,150} ${alignr}${color3}${upspeedgraph eth0 10,150}
${color4}Total:${color2}${totaldown eth0} ${alignr}${color4}Total:${color2}${totalup eth0}

${font}${voffset 8}${color2}${time %B}${voffset -10}${font :size=30}${alignr}${color2}${time %Y}
${voffset -30}${font :size=12}${alignr}${color1}week ${color2}${time %U}${color1} and day ${color2}${time %j}${color1} of:                               ${font}
${voffset -10}${execp TODAY=`date +%_d`; cal -h | tail -n+2 | sed \
-e '1 s:.*:\${color9}&\${color9}:' \
-e '1 s:'"$(date +%a |cut -c 1-2)"':\${color3}&\${color4}:' \
-e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color3}'"$TODAY"'\${color4}/}'}
# 1st -e = days of week, 2nd = current day of week,
# 3rd = current day of month 
Attachments
snapshot9.png
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

kevin3331 wrote:Sorry didn't mean to post 3 of the same pic. (first real post)
Excellent first conky.

8 cores? OH MY! What do you do with the other 5?
Me: Triple core AMD Athlon II X3 450 3.214GHz
Send me a couple please. :)

You can edit your post and delete the last two images.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

http://i.imgur.com/ZFRG33G.png
Look, i shaved off all the frills and brought down the memory usage from 0.54% to 0.44% just so that i could use conky as an efficient hw and system monitor but it's still hogging 16MB which is exorbitant. So can you tell me what's going on with my conky or not, else i'd be better off using gkrellm, at least i won't have to make any effort with the graphs and stuff and it'll still be more efficient. :x
Linux User #481272 Reg: 15th Sept., 2008
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

Sector11 wrote:Excellent first conky.
Great work.
kevin3331:
Yes, Looks very polished. Good job and well done.

Calendar much hassle?
No weather? What, Are you scared?
I know I am.
Last edited by Habitual on Wed Jun 08, 2016 6:21 pm, edited 2 times in total.
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

Habitual wrote:
Sector11 wrote:Excellent first conky.
Yes, Looks very polished. Good job and well done.

Calendar much hassle?
No weather? What, Are you scared?
I know I am.
Hey there friend. ;)

That's not my conky, that's kevin3331's conky.

Me. I have calendars and weather coming out of the backyard. :twisted:
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

mzsade wrote:http://i.imgur.com/ZFRG33G.png
Look, i shaved off all the frills and brought down the memory usage from 0.54% to 0.44% just so that i could use conky as an efficient hw and system monitor but it's still hogging 16MB which is exorbitant. So can you tell me what's going on with my conky or not, else i'd be better off using gkrellm, at least i won't have to make any effort with the graphs and stuff and it'll still be more efficient. :x
Hey there old time #!'er.

Is that conky running alone? Nothing else?
If yes: it's a 'memory killer'. Can you post the code please ... along with LUA scripts etc, I'll take a look at it.

Also your calendar is off, showing 9 June - OK, you're across the International Date Line but it should be Thursday not Sunday as highlighted unless you are highlighting Sunday on purpose and not the current day of the week.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

Sector11 wrote:
Habitual wrote:
Sector11 wrote:Excellent first conky.
Yes, Looks very polished. Good job and well done.

Calendar much hassle?
No weather? What, Are you scared?
I know I am.
Hey there friend. ;)

That's not my conky, that's kevin3331's conky.

Me. I have calendars and weather coming out of the backyard. :twisted:
Hey Buddy!
I know it's not your conky, There's no aerostuff in it.
All conkys bow to the weatherrc
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

conky.conf:

Code: Select all

conky.config = {
    alignment = 'top_right',
    background = false,
    cpu_avg_samples = 2,
    top_cpu_separate = false,
    default_color = '#FFFFFF',
    draw_borders = true,
    border_width = 1,
    border_inner_margin = 3,
    use_xft = true,
    font = 'DejaVu Sans Mono:bold:size=11',
    gap_x = 10,
    gap_y = 10,
    net_avg_samples = 2,
    no_buffers = true,
    double_buffer = true,
    imlib_cache_size = 0,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    minimum_width = 333,
    own_window_type = 'normal',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar',
    own_window_class = 'Conky',
    own_window_transparent = true,
    override_utf8_locale = true,
    stippled_borders = 0,
    update_interval = 30,
    uppercase = false,
    use_spacer = 'none',
    hddtemp_host,
    hddtemp_port,
    hddtemp_refresh,
    temperature_unit = celsius
   --[[ lua_load = '~/.config/conky/clockexp.lua',
    lua_draw_hook_pre = 'draw_clock' ]]
}
conky.text = [[
$alignc${font DejaVu Sans Mono:bold:size=12}${color green}$sysname $kernel $Distribution Sid
$font${color green}$alignc Uptime:$uptime # ${image /home/sade/Pictures/splasht.png -p 7,36 -n}

# ${image /home/sade/Downloads/Tux2_sm2.png -p 0,576 -n}
# ${image /home/sade/Downloads/Tux2_sm1.png -p 261,576 -n}

${alignc}${color}CPU composite:${cpu cpu0}%

 ${color}Core1:$color${cpu cpu1}%       $alignr Temp:${hwmon 1 temp 2}°C
 Core2:$color${cpu cpu2}%      $alignr Temp:${hwmon 1 temp 3}°C
 Core3:$color${cpu cpu3}%      $alignr Temp:${hwmon 1 temp 4}°C
 Core4:$color${cpu cpu4}%      $alignr Temp:${hwmon 1 temp 5}°C
 
 Fan:${hwmon 2 fan 1}rpm ${alignr}Freq:${freq}mhz
 ${hr 1}
$font$color RAM: $mem $memwithbuffers $memperc% of $memmax
 Swap:$alignc$swap $swapperc%
 ${hr 1}
$alignc HDD Temp:$color${hddtemp /dev/sda}°C
 Root:$alignc${fs_used /} ${fs_used_perc /}%  of ${fs_size /}
 Home:$alignc${fs_used /home} ${fs_used_perc /home}% of ${fs_size /home}
 LMDE:$alignc ${fs_used /data} ${fs_used_perc /data}% of ${fs_size /data}
 Data:$alignc${fs_used /data1} ${fs_used_perc /data1}% of ${fs_size /data1}
${hr 1}
  Top Process       ${alignc}CPU     ${alignr}Memory
 ${top name 1} $alignc${top cpu 1}%  $alignr${top mem 1}%
 ${top name 2} $alignc${top cpu 2}%  $alignr${top mem 2}%
 ${top name 3} $alignc${top cpu 3}%  $alignr${top mem 3}%
 ${top name 4} $alignc${top cpu 4}%  $alignr${top mem 4}%
 ${top name 5} $alignc${top cpu 5}%  $alignr${top mem 5}%
${hr 1}
# $alignc$font${color}${execpi 50 python ~/.config/conky/conkycal.py}
 ${alignc}${color green}Battery $alignc${battery BAT0}]]
conkycal.py

Code: Select all

#!/usr/bin/env python
import time, calendar, re
 
localtime = time.localtime(time.time())
# calendar.setfirstweekday(calendar.SUNDAY)
cal = calendar.month(localtime[0], localtime[1])
 
parts = cal.split('\n')
cal = '${color #f6b400}${alignc}${offset -18}' + '\n${color}${offset 81}'.join(parts)
 
regex = '(?<= )%s(?= )|(?<=\n)%s(?= )|(?<= )%s(?=\n)' % (localtime[2], localtime[2], localtime[2])
replace = '${color green}%s${color}' % localtime[2]
newCal = re.sub(regex, replace, cal)

rex = '(Mo Tu We Th Fr Sa)'
replace = '${color #fde3c6}%s${color}' % "Mo Tu We Th Fr Sa"
call = re.sub(rex, replace, newCal)

res = '(Su)'
replace = '${color #f6b400}%s${color}' % 'Su'
ical = re.sub(res, replace, call)
print ical
clockexp.lua (combined Mr. Peachy's clock with Alison Pitt's glassy border) :D

Code: Select all

--[[drawing a clock
in conkyrc

lua_load /path/clock.lua
lua_draw_hook_pre main
TEXT


]]

require 'cairo'

function conky_draw_clock()
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)
--#########################################################################################################
--CLOCK SETTINGS
clock_radius=53
clock_centerx=171
clock_centery=200
--set border options
clock_border_width=12
--set color and alpha for clock border
cbr,cbg,cbb,cba=0,0.7,0,0.2--full opaque white
shadow_width=3
shadow_xoffset=0
shadow_yoffset=0
--gap from clock border to hour marks
b_to_m=12
--set mark length
m_length=6
--set mark line width
m_width=3
--set mark line cap type
m_cap=CAIRO_LINE_CAP_ROUND
--set mark color and alpha,red blue green alpha
mr,mg,mb,ma=0,1,0,1--opaque white
--seconds hand setup
--show_seconds=false
--set length of seconds hand
--sh_length=40
--set hand width
--sh_width=1.5
--set hand line cap
--sh_cap=CAIRO_LINE_CAP_ROUND
--set seconds hand color
--shr,shg,shb,sha=1,0.8,0.8,1--fully opaque orange
--minues hand setup
--set length of minutes hand
mh_length=35
--set hand width
mh_width=3
--set hand line cap
mh_cap=CAIRO_LINE_CAP_ROUND
--set minute hand color
mhr,mhg,mhb,mha=0,1,0,1--fully opaque white
--hour hand setup
--set length of hour hand
hh_length=26
--set hand width
hh_width=5
--set hand line cap
hh_cap=CAIRO_LINE_CAP_ROUND
--set hour hand color
hhr,hhg,hhb,hha=0,1,0,1--fully opaque white

--DRAWING CODE
--draw border
cairo_set_source_rgba (cr,cbr,cbg,cbb,cba)
cairo_set_line_width (cr,clock_border_width)
cairo_arc (cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
cairo_stroke (cr)
local border_pat=cairo_pattern_create_linear(clock_centerx,clock_centery-clock_radius,clock_centerx,clock_centery+clock_radius)
	
cairo_pattern_add_color_stop_rgba(border_pat,0,1,1,1,0.7)
cairo_pattern_add_color_stop_rgba(border_pat,0.3,1,1,1,0)
cairo_pattern_add_color_stop_rgba(border_pat,0.5,1,1,1,0)
cairo_pattern_add_color_stop_rgba(border_pat,0.7,1,1,1,0)
cairo_pattern_add_color_stop_rgba(border_pat,1,1,1,1,0.7)
cairo_set_source(cr,border_pat)
cairo_arc(cr,clock_centerx,clock_centery,clock_radius,0,2*math.pi)
cairo_close_path(cr)
cairo_set_line_width(cr,clock_radius*0.25)
cairo_stroke(cr)
--draw shadow
local ds_pat=cairo_pattern_create_radial(clock_centerx+shadow_xoffset,clock_centery+shadow_yoffset,clock_radius,clock_centerx+shadow_xoffset,clock_centery+shadow_yoffset,clock_radius+shadow_width)
cairo_pattern_add_color_stop_rgba(ds_pat,0,0,0,0,0.2)
cairo_pattern_add_color_stop_rgba(ds_pat,1,0,0,0,0)
--draw marks
--stuff that can be moved outside of the loop, needs only be set once
--calculate end and start radius for marks
m_end_rad=clock_radius-b_to_m
m_start_rad=m_end_rad-m_length
--set line cap type
cairo_set_line_cap  (cr, m_cap)
--set line width
cairo_set_line_width (cr,m_width)
--set color and alpha for marks
cairo_set_source_rgba (cr,mr,mg,mb,ma)
--start for loop
for i=1,12 do
--drawing code uisng the value of i to calculate degrees
--calculate start point for 12 oclock mark
radius=m_start_rad
point=(math.pi/180)*((i-1)*30)
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--set start point for line
cairo_move_to (cr,clock_centerx+x,clock_centery+y)
--calculate end point for 12 oclock mark
radius=m_end_rad
point=(math.pi/180)*((i-1)*30)
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--set path for line
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--draw the line
cairo_stroke (cr)
end--of for loop

--time calculations###########################
hours=tonumber(os.date("%I"))--12 hour clock
--convert hours to seconds
h_to_s=hours*60*60
minutes=tonumber(os.date("%M"))
--convert minutes to seconds
m_to_s=minutes*60
--get current seconds
seconds=tonumber(os.date("%S"))

--draw hours hand ############################
--get hours minutes seconds as just seconds
hsecs=h_to_s+m_to_s+seconds
--calculate degrees for the hand each second
hsec_degs=hsecs*(360/(60*60*12))--im using an equation instead of typing the calculation straight in because the result of 360/43200 gave us decimal places
--set radius we will use to calculate hand points
radius=hh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of minutes hand
point=(math.pi/180)*hsec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes and draw line
cairo_set_line_width (cr,hh_width)
cairo_set_source_rgba (cr,hhr,hhg,hhb,hha)
cairo_set_line_cap  (cr, hh_cap)
cairo_stroke (cr)

--draw minutes hand
--get minutes and seconds just as seconds
msecs=m_to_s+seconds
--calculate degrees for the hand each second
msec_degs=msecs*0.1
--set radius we will use to calculate hand points
radius=mh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of minutes hand
point=(math.pi/180)*msec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes and draw line
cairo_set_line_width (cr,mh_width)
cairo_set_source_rgba (cr,mhr,mhg,mhb,mha)
cairo_set_line_cap  (cr, mh_cap)
cairo_stroke (cr)

--draw seconds hand #############################
--calculate degrees for the hand each second
sec_degs=seconds*6
--set radius we will use to calculate hand points
radius=sh_length
--set our starting line coordinates, the center of the circle
cairo_move_to (cr,clock_centerx,clock_centery)
--calculate coordinates for end of seconds hand
point=(math.pi/180)*sec_degs
x=0+radius*(math.sin(point))
y=0-radius*(math.cos(point))
--describe the line we will draw
cairo_line_to (cr,clock_centerx+x,clock_centery+y)
--set up line attributes
cairo_set_line_width (cr,sh_width)
cairo_set_source_rgba (cr,shr,shg,shb,sha)
cairo_set_line_cap  (cr, sh_cap)
cairo_stroke (cr)

--#########################################################################################################
cairo_pattern_destroy(pat)
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
end-- end main function
Anyway, the clock and calendar have already been commented out so that part shouldn't figure in..
Btw, Sunday is not highlighted, that's the color i have chosen for it, as i have chosen different colors for the days of the week.
Last edited by mzsade on Wed Jun 08, 2016 7:04 pm, edited 1 time in total.
Linux User #481272 Reg: 15th Sept., 2008
kevin3331
Level 1
Level 1
Posts: 20
Joined: Mon May 30, 2016 8:06 pm

Re: Conky Showoff thread

Post by kevin3331 »

Habitual wrote
Great work.
kevin3331:
Yes, Looks very polished. Good job and well done.

Calendar much hassle?
No weather? What, Are you scared?
I know I am.
Still working on the weather. But as for making a conky. Even though it is just a bunch of text from other members conky code.
This seems like a excellent way for a new user to get his/her feet wet. I learned alot With all the forum post i read on how to and so on.
Having issues and fixing them as i went. And when done. you have a nice little conky to look at . So all in all. Fun and Learned a Great deal.
This is not something that can be done easily on windows. and a .exe programs you make on windows that would have as much features as conky,
Would be a mass resource hog. conky uses very little ram and cpu use. I love being on linux mint KDE now. makes my computer fun again. hehehe,

Also The calendar Was not to bad i found a great example of one back some pages. Just had to play with settings as for where i wanted everything
lined up. and had to search for answers why the number days wouldn't line up . and found a varible had changed. from cal to cal -h and fixed it right up.

$ and Much credit to Serdar on page 13 of this thread. everything was based off his template. Other then the calendar.
Thanks to all the members willing to share there achievements and wisdom on this forum. It is a great help.
Last edited by kevin3331 on Wed Jun 08, 2016 7:39 pm, edited 1 time in total.
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

Well, you have a knack then.
Sector11 will likely be able to help with calendar stuff as I'm retired from conky.
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

Alright, that's enough of "nurturing the fledgling" :wink: .no offense kevin3331, but you seem to be dong quite well on your own, heck, i haven't seen something as chic even by pros in a long time..maestros, could we please get to my problem? :)
Linux User #481272 Reg: 15th Sept., 2008
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

@ kevin3331 - You're doing fine keep going forward. As for weather stuff, take a look at:
» Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant) by TeoBigusGeekus. Pick one or two or three. I say that because there are some conkys there that combine three scripts Daily & Hourly & Moon. The Wunderground script has a TON of info, grey backed conky is all one script, but misses one thing I want for here in the southern hemisphere - UVI, that ozone hole over the south pole is a killer!
Image
To see full size: centre-click on image twice, right click and "view image" and click to enlarge - must fix that.
If the moon looks backwards to you, remember, I'm in the southern Hemisphere and the moon script configures for both north and south.

= = = = =
@ mzsade - OH! Conky v1.10 .. OK, I'll install it and have a look.
Anyway, the clock and calendar have already been commented out so that part shouldn't figure in..
Btw, Sunday is not highlighted, that's the color i have chosen for it, as i have chosen different colors for the days of the week.
Gotcha - Sunday colour by choice - and Monday starts the week :)
Still getting HIGH mem usage without the clock and calendar? One thing I remember from the early LUA scripts was memory leaks - looks like you've taken care of that though.

Do you find conky v1.10 slow to load? Thank you for the code. I do not see anything that would push mem usage so high.
Should have it running within the hour. But have to go out this afternoon - so if not this evening I'll get back with something tomorrow.

= = = = =
@Habitual - so happy to see you, even if you are retired from conky. I'm still using a couple of your conky "tricks". Me; I'm addicted and loving it!

= = = = =
... and if anyone is interested in a few more calendar/time ideas: » Conky - Calendars / Clocks / Time
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

@ mzsade
Well, this is a strange one. I can get your lua clock running in my test conky (conky v1.9 format) running conky v1.90 or v1.10.

BUT it will not run in your conky - running v1.10 - - - please understand I'm not finished testing either.
Image Image
You can see the conky version I'm running in the test conky on the left.

So far it doesn't seem to be using a lot of memory.
Back to testing....
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
mzsade
Level 5
Level 5
Posts: 777
Joined: Sun Jul 19, 2009 4:36 am

Re: Conky Showoff thread

Post by mzsade »

Sector11 wrote:@ mzsade
Well, this is a strange one. I can get your lua clock running in my test conky (conky v1.9 format) running conky v1.90 or v1.10.

BUT it will not run in your conky - running v1.10 - - - please understand I'm not finished testing either.

Back to testing....
Thanks, i really appreciate you pursuing this. I started using Debian with Jessie so all i've ever worked on is Conky v 1.10, i've no idea why my conky doesn't work on your v 1.10. :? Btw, the same conky uses 0.10% less memory on my LMDE partition, that's another mystery..but still, 16 MB? That's just not normal.

Edit: After eliminating everything except the bare essentials..there is no average temperature input in my hwmon so to monitor the CPU temps. i need to monitor the individual cores, my cpu fan doesn't run from a cold start or after rebooting sometimes and i have to reboot a couple of times to ensure that it's running so the fan rpm is a must-have. Even with just these i couldn't get the memory usage below 0.42%, that's over 16 MB. So i said, stuff it, might as well use another 8 MB and keep my lua clock, after all it's the only thing of beauty i have in my conky. :lol: Got rid of the calendar though, found a really sweet little app as a substitute, it leaves practically no imprint; gsimplecal. I click on the tint2 clock once to displlay it, twice to hide it.
And you are wrong about the lua clock, despite all my cairo_destroy stufff there is still a slight leakage, a very small one though, (@ 0.01% per every couple of hours or so) so i wrote a cron job to kill conky every couple of hours and another to restart it. after a minute. :D
http://i.imgur.com/H1a1qiY.png
Linux User #481272 Reg: 15th Sept., 2008
User avatar
trytip
Level 13
Level 13
Posts: 4928
Joined: Tue Jul 05, 2016 1:20 pm

Re: Conky Showoff thread

Post by trytip »

new to mint and this forum. using mint/mate 17.03 and sharing some of my creations (credits go to the original conky and picture makers i only modified it to my liking) enjoy the clocks if you like. the side conky is too customized for my system to share. i will if you want, but you're on your own fixing it to work on your system
Image

conky clocks

place the clocks folder in .conky
(.conky/clocks/)
Image
pcpunk
Level 5
Level 5
Posts: 959
Joined: Sun Jun 15, 2014 1:44 pm
Location: Florida

Re: Conky Showoff thread

Post by pcpunk »

This is a great Thread, hope to learn some stuff. Thanks to trytip and some others over the years, I got my Conky working on my weak Toshiba (AMD Graphics Stuff) and looking pretty good. Wish I could install 18! Stole the Wallpaper from 18. Tweaked the Menu and hope to get the Conky much nicer in the near future.

Question: I thought I read it is possible to run multiple Conky's? or configure one to go across the top of screen. I'm looking for something simple incorporating what I have now. Here is my Thread if it would be better to post there.
viewtopic.php?f=212&t=224986

Image
HP Compaq nx7400, Cinnamon 19.2
Intel R Core™2CPU, T5500@1.66GHz, 4GB Crucial RAM
Super Clean Runs Perfect
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Conky Showoff thread

Post by Habitual »

pcpunk wrote:This is a great Thread, hope to learn some stuff.
You won't learn to code conky using Conky Manager.

It's a good "starter kit" for noobs.
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky Showoff thread

Post by Sector11 »

pcpunk wrote:Question: I thought I read it is possible to run multiple Conky's? or configure one to go across the top of screen. I'm looking for something simple incorporating what I have now. Here is my Thread if it would be better to post there.
viewtopic.php?f=212&t=224986
I have to agree with Habitual, you need yo get in with a text editor and do your own to learn about conky.

Yes it's possible. I run 16 on boot, read three and shut them down leaving 13 running on different desktops.
Old but will give you an idea

For example this will kill all running conky and restart four conkys. It's a simplified version of what I use in my startup:

Code: Select all

#!/bin/bash

killall conky

(sleep 2 && conky -c /path/to/your/1conky) &
(sleep 2 && conky -c /path/to/your/2conky) &
(sleep 2 && conky -c /path/to/your/3conky) &
(sleep 2 && conky -c /path/to/your/4conky) &

exit 0
Using: BunsenLabs based on Debian Stable.
Conky PitStop
pcpunk
Level 5
Level 5
Posts: 959
Joined: Sun Jun 15, 2014 1:44 pm
Location: Florida

Re: Conky Showoff thread

Post by pcpunk »

Habitual wrote:
pcpunk wrote:This is a great Thread, hope to learn some stuff.
You won't learn to code conky using Conky Manager.

It's a good "starter kit" for noobs.
It's not my intention to learn to code conky, I'm just a home user. I'm not capable of doing these things because of my health, it affects my comprehension/thinking. I have had some fun configuring the script you see in that screenshot. Made some changes to it for another install, my KDE one.

Thanks, pcpunk
HP Compaq nx7400, Cinnamon 19.2
Intel R Core™2CPU, T5500@1.66GHz, 4GB Crucial RAM
Super Clean Runs Perfect
pcpunk
Level 5
Level 5
Posts: 959
Joined: Sun Jun 15, 2014 1:44 pm
Location: Florida

Re: Conky Showoff thread

Post by pcpunk »

@ Sector11, nice work!
Yes it's possible. I run 16 on boot, read three and shut them down leaving 13 running on different desktops.
Old but will give you an idea

For example this will kill all running conky and restart four conkys. It's a simplified version of what I use in my startup:
Don't know what you are talking about here, "run 16 on boot, read three and shut them down etc."

And the next sentence also, why would I need to killall and restart four? I just want to either create one that will span the top of screen (with the Conky I have) or run multiple across top and put a little of the script I'm using in each one. I've tried to make it wider, and generally played with the width and height settings to no avail. Either way it is nice to use the manager, but I'm guessing some of these things will not be possible using it?
HP Compaq nx7400, Cinnamon 19.2
Intel R Core™2CPU, T5500@1.66GHz, 4GB Crucial RAM
Super Clean Runs Perfect
Post Reply

Return to “Compiz, Conky, Docks, & Widgets”