Conky Lines

Conky by Moob 35 comments

Well---maybe my bonded interface is the problem? Using 2 NIC cards as bond0. did the above mod & here is the output:

conky: llua_do_call: function conky_check_network_interfaces execution failed: /home/dean/.conky/lines/lines.lua:1062: attempt to perform arithmetic on local 's' (a nil value)
grep: invalid argument ‘0’ for ‘--directories’
Valid arguments are:
- ‘read’
- ‘recurse’
- ‘skip’
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
- Sep 02 2018
Conky Lines

Conky by Moob 35 comments

Yes--that is correct--but even after installing it, can't be used without root. - Sep 02 2018
Conky Lines

Conky by Moob 35 comments

Hi Moob...
Just tried to use your new version...Have not used the old version in quite a while & it looks like Debian Testing will not work with ifconfig anymore....Since my config is purely a desktop--I don't need to do a lot with interfaces--could you head me in the right direction to just hardwire the network interface? - Sep 01 2018
Corporatrin-GTK

GTK3 Themes by paulxfce 21 comments

+Nice - Aug 25 2018
Wide Conky

Conky by autocrosser1 6 comments

I don't use Conky Manager---This is a MANUAL install. It requires you to look at the scripts & your user folder & make the proper adjustments to make it work. - Jun 24 2018
Flat Remix ICON theme

Full Icon Themes by daniruiz06 324 comments

+ - Jun 15 2018
B00merang Flat

GTK3 Themes by elbullazul 6 comments

+Looks Good!!! - May 28 2018
Sci-Fi HUD

Conky by Met 66 comments

Thank You----will be uploading my latest later today.....Graph Conky. One lua script & I think you will like what I've done with your net graph. - Nov 11 2017
Sci-Fi HUD

Conky by Met 66 comments

Like your work & voted it up. Permission to use the net.png (in a modified format) for the conky I'm currently working on. - Nov 10 2017
Wide Conky

Conky by autocrosser1 6 comments

Thank You--I compliment you on a great ring/bar lua. - Oct 08 2017
coionky

Conky by 0i0 4 comments

Looking good. - Oct 07 2017
coionky

Conky by 0i0 4 comments

Looks good. I really like the vertical bars. - Oct 07 2017
Obsidian 2

GTK3 Themes by madmaxms 103 comments

Hmmmm....did you do the Obsidian 2 master? I'm still seeing those errors. Guess I should have stated which one I saw the errors in :( - Sep 17 2017
Obsidian 2

GTK3 Themes by madmaxms 103 comments

No Prob!! I'll redownload it & check....Give you a report real soon. - Sep 17 2017
Obsidian 2

GTK3 Themes by madmaxms 103 comments

Greetings.... I'm getting a large amount of log entries:
Theme parsing error: gtk.css:529:58: Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:545:60: Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:566:56: Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:495:56: Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:513:58: Using one color stop with linear-gradient() is deprecated.
Using one color stop with linear-gradient() is deprecated.
Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:566:56: Using one color stop with linear-gradient() is deprecated.
Theme parsing error: gtk.css:2113:4: Junk at end of value for border-left-color
- Sep 17 2017
Looks Good!!! - Sep 10 2017
Ambiance DS BlueSB12

GTK3 Themes by pete333 85 comments

So how do I send it to you? Can't see a contact. - Aug 07 2017
Ambiance DS BlueSB12

GTK3 Themes by pete333 85 comments

Greetings!!!! I've created a Gnome Shell theme to match your theme---are you interested in adding it? If so contact me. - Aug 06 2017
SeaMod V2

Conky by autocrosser1 11 comments

No problem---That's one I had put on "hold" because of lack of information. That solves using rings for CPU & GPU temp readings for me!!!!! Was playing with another ring set to get around your issue & the temp display bit in general.... - May 07 2017
SeaMod V2

Conky by autocrosser1 11 comments

Well--if there is no argument "" ---If no dev parameter is given, the first disk returned by the hddtemp daemon is used. (as per Conky variables.html) The normal argument would be /dev/sda. The problem I'm having is doing it that way is "blowing up" the lua script by executing the hddtemp command. The ring flickers with the sample rate set in the conkyrc settings. I'm not finding an easy answer in Conky documentation ( http://conky.sourceforge.net/variables.html). Will have to think about it for a while. - May 06 2017
SeaMod V2

Conky by autocrosser1 11 comments

OK--I'll look into that--might be tomorrow or so.... - May 06 2017
SeaMod V2

Conky by autocrosser1 11 comments

Also, if you want the temp the same size as memory %, you can delete the innermost ring (rename the remaining rings to root & home (look in the lua file)--that way you can increase the temp size. You will need to alter spacing to make it all look right. If you want, I could re-write them if you are having problems with it. - May 06 2017
SeaMod V2

Conky by autocrosser1 11 comments

OK--paste this after the line ${voffset 22}
${goto 62}${font Technical CE:bold:size=11}${color5}${hddtemp /dev/sda} °C ${voffset -2}${font}${goto 125}${font Technical CE:bold:size=11}${color5}DISKS${voffset -5} - May 06 2017
SeaMod V2

Conky by autocrosser1 11 comments

Are you wanting to create a ring with temp readings or do you want a line reading? The lua only does the rings themselves--the rest is worked with the conkyrc file. To get a line reading it's just " ${hddtemp /dev/sda} °C " modified by font size, drive sd"x" & where you want it. To put the temp inside the disc useage ring do: ${goto 55}${font Technical CE:bold:size=20}${color5}${hddtemp /dev/sda} °C ${font}${voffset 12}${offset 95}${font Technical CE:bold:size=11}${color5}DISKS${voffset -5} right after the line: ${voffset 22} in the showing disk partitions: root, home & Data area. You might need to adjust the line slightly in all 4 pixel directions to include the °C inside the ring--also changing the font size will change pixel spacing. - May 06 2017
Debian-Slate

Conky by autocrosser1 3 comments

English, please? - May 02 2017
Conky Lines

Conky by Moob 35 comments

Looks very good my friend!!! I'm going to set it up & play with it a bit.

Cheers!!!! - Nov 20 2016
Oxygen Remixed Icons

Full Icon Themes by alex-l 12 comments

Very Nice!!! - Nov 20 2016
Yosemite

GTK3 Themes by elbullazul 177 comments

/var/log/syslog. It's still flooding the log, all the log contains is repeating of the info I posted above with an occasional "real" bit of info. - Jul 06 2016
Yosemite

GTK3 Themes by elbullazul 177 comments

Greetings!!!

Just installed on Debian Sid (3.20.2) & I am seeing this in my logs:

Gtk-WARNING **: Theme parsing error: gtk-contained.css:195:22: 'none' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:195:22: 'none' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:252:20: 'solid' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:252:20: 'solid' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:538:22: 'none' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:538:22: 'none' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:1846:34: 'theme_bg_color' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:1846:34: 'theme_bg_color' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:2780:28: Junk at end of value

Gtk-WARNING **: Theme parsing error: gtk-contained.css:2807:24: 'solid' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:2780:28: Junk at end of value

Gtk-WARNING **: Theme parsing error: gtk-contained.css:2807:24: 'solid' is not a valid color name

Gtk-WARNING **: Theme parsing error: gtk-contained.css:4872:22: Not using units is deprecated. Assuming 'px'.

Gtk-WARNING **: Theme parsing error: gtk-contained.css:4872:22: Not using units is deprecated. Assuming 'px'.

Thought you would be interested..... - Jul 05 2016
Conky Basic

Conky by Moob 61 comments

Looks Great---Now, I'm going to work the bars into some of my circle conkeys---will post maybe today....

What do you think of my formatting for the conkyrc & .lua? - Nov 08 2015
Conky Basic

Conky by Moob 61 comments

Did the copy/mod for "C"--works/looks good, just added another tab for memory & did the gpu temps by themselves. Started playing with your portmon stuff...like where it is going. I'll have a mod worked up in the next day or so....

Created a quick System Info tab---just basic info:

-- parameters idem conky_wired_tab_system
function conky_wired_tab_system(x,y,width,height,text,font,font_size,r,g,b)
local vuheight=15 --VU barheight
local onebarheight=vuheight+8
local basey=y
local barfs=12 -- VU bar fontsize

if height <= 60 then
print("ERROR conky_wired_tab_network: insufficient height. Must be higher than 60")
return
end

local aspect=math.floor(height/60)
local corner_radius = height / 10.0
local radius = corner_radius / aspect
local degrees = math.pi / 180.0

-- draw text
conky_lctexta(x+width,y+15,text,font,font_size,r,g,b)
-- draw tab
cairo_new_sub_path (cr)
cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees)
cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees)
cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees)
cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees)
cairo_close_path (cr)
cairo_set_source_rgba (cr, r,g,b,.6)
cairo_set_line_width (cr, 2)
cairo_stroke (cr)

conky_lctext(x+6,y+onebarheight+8,conky_parse("${exec cat /etc/issue.net}"),"Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+44,conky_parse("${execi 1000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-28}"),"Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+56,"CPU Speed:","Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+95,y+56,conky_parse("${freq_g 1}"),"Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+90,y+56,"GHZ","Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+68,"Kernel:","Arial",9,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+120,y+68,conky_parse("$kernel"),"Arial",9,themes.tred,themes.tgreen,themes.tblue)

return (x+width),(y+height)

end -- conky_wired_tab_system - Nov 04 2015
Conky Basic

Conky by Moob 61 comments

Thanks :)

Glad you liked the idea--of course use what you want...I'll play with the temp mods this weekend & post when done..Do like sharing code & ideas...helps everyone code better....

I look forward to your new Conky & playing with this one has given me a couple of ideas for new ones also. I'm liking the new format & I really needed to brush up/learn new skills/play with ideas right now--my day job is a real bore & I needed a couple of pushes to get back to my Linux system admin studies..... - Nov 04 2015
Conky Basic

Conky by Moob 61 comments

Really like the processes tab--works much better than the one I made :) I have done several changes/edits on the tabs & have a question--In the Mem tab, I removed the swap bar (I have 12G useable--so have never touched swap) & added a pair of temperature lines (my nvidia cards)--temp is read correctly, but I would like to replace the % with C...

I also expanded on the network tab to include a used ports section...

The 2 tabs look like this right now:

-- parameters idem conky_wired_tab_mem
function conky_wired_tab_mem(x,y,width,height,text,font,font_size,r,g,b)
local vuheight=15 --VU barheight
local onebarheight=vuheight+8
local basey=y
local barfs=12 -- VU bar fontsize

if height <= 60 then
print("ERROR conky_wired_tab_mem: insufficient height. Must be higher than 60")
return
end

local aspect=math.floor(height/60)
local corner_radius = height / 10.0
local radius = corner_radius / aspect
local degrees = math.pi / 180.0

-- draw text
conky_lctexta(x+width,y+15,text,font,font_size,r,g,b)
-- draw tab
cairo_new_sub_path (cr)
cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees)
cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees)
cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees)
cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees)
cairo_close_path (cr)
cairo_set_source_rgba (cr, r,g,b,.6)
cairo_set_line_width (cr, 2)
cairo_stroke (cr)

conky_wired_bar(x+6,y+onebarheight,vuheight,"Ram","Arial",barfs,tonumber(conky_parse("${memperc}")))
-- conky_wired_bar(x+6,y+(2*onebarheight)+barfs,vuheight,"Swap","Arial",barfs,tonumber(conky_parse("${swapperc}")))
conky_wired_bar(x+6,y+(2*onebarheight)+barfs,vuheight,"GPU1","Arial",barfs,tonumber(conky_parse("${exec nvidia-settings -t -q [gpu:0]/GPUCoreTemp}")))
conky_wired_bar(x+6,y+(3.7*onebarheight)+barfs,vuheight,"GPU2","Arial",barfs,tonumber(conky_parse("${exec nvidia-settings -t -q [gpu:1]/GPUCoreTemp}")))

return (x+width),(y+height)

end -- conky_wired_tab_mem

-- parameters idem conky_wired_tab_network
function conky_wired_tab_network(x,y,width,height,text,font,font_size,r,g,b)
local vuheight=15 --VU barheight
local onebarheight=vuheight+8
local basey=y
local barfs=12 -- VU bar fontsize

if height <= 60 then
print("ERROR conky_wired_tab_network: insufficient height. Must be higher than 60")
return
end

local aspect=math.floor(height/60)
local corner_radius = height / 10.0
local radius = corner_radius / aspect
local degrees = math.pi / 180.0

-- draw text
conky_lctexta(x+width,y+15,text,font,font_size,r,g,b)
-- draw tab
cairo_new_sub_path (cr)
cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees)
cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees)
cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees)
cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees)
cairo_close_path (cr)
cairo_set_source_rgba (cr, r,g,b,.6)
cairo_set_line_width (cr, 2)
cairo_stroke (cr)

conky_lctext(x+6,y+onebarheight+8,"Upload ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+onebarheight+8,conky_parse("${upspeed "..info.iface.."}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+44,"Download ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+44,conky_parse("${downspeed "..info.iface.."}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+66,"Data Out ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+66,conky_parse("${totalup "..info.iface.."}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+78,"Data In ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+78,conky_parse("${totaldown "..info.iface.."}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+100,"LAN: ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+114,"Open Ports: ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+114,conky_parse("${tcp_portmon 1 65535 count}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+126,"Public IP: ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+126,conky_parse("${execi 60 wget -O - -q icanhazip.com}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+138,"Lan IP: ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+138,conky_parse("${addr eth2}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+160,"NET: ","Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+160,conky_parse("${tcp_portmon 1 65535 rip 0}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+172,conky_parse("${tcp_portmon 1 65535 rip 1}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+184,conky_parse("${tcp_portmon 1 65535 rip 2}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+196,conky_parse("${tcp_portmon 1 65535 rip 3}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+208,conky_parse("${tcp_portmon 1 65535 rip 4}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+220,conky_parse("${tcp_portmon 1 65535 rip 5}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+232,conky_parse("${tcp_portmon 1 65535 rip 6}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+244,conky_parse("${tcp_portmon 1 65535 rip 7}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)

return (x+width),(y+height)

end -- conky_wired_tab_network


Ideas or comments?
- Nov 03 2015
Conky Basic

Conky by Moob 61 comments

Never mind---found the line to replace...... - Nov 03 2015
Conky Basic

Conky by Moob 61 comments

??? I just downloaded again & the basic.lua only goes to line 848.....line 866?

I also did a string search & that one is not showing up.


Clarify please. - Nov 03 2015
Conky Basic

Conky by Moob 61 comments

In Gnome3 you need to add:

own_window_argb_visual = true,

in the conky prefs to make the display refresh correctly. - Nov 02 2015
Conky Basic

Conky by Moob 61 comments

Yes--that works :) I have 8 showing...Now a "odd one" and a couple of questions.

For some reason my /home is being shown as a separate "Root"--not sure why.

I wrote a couple of additional segments "CPU_Processes" & MEM_Processes"...they work, but when I move them around I get errors..Not sure how to add extra segments in....The cpu segment looks like this:

-- parameters idem conky_wired_tab_cpu_proc
function conky_wired_tab_cpu_proc(x,y,width,height,text,font,font_size,r,g,b)
local vuheight=15 --VU barheight
local onebarheight=vuheight+8
local basey=y
local barfs=12 -- VU bar fontsize

if height <= 60 then
print("ERROR conky_wired_tab_cpu_proc: insufficient height. Must be higher than 60")
return
end

local aspect=math.floor(height/60)
local corner_radius = height / 10.0
local radius = corner_radius / aspect
local degrees = math.pi / 180.0

-- draw text
conky_lctexta(x+width,y+15,text,font,font_size,r,g,b)
-- draw tab
cairo_new_sub_path (cr)
cairo_arc (cr, x + width - radius, y + radius, radius, -90 * degrees, 0 * degrees)
cairo_arc (cr, x + width - radius, y + height - radius, radius, 0 * degrees, 90 * degrees)
cairo_arc (cr, x + radius, y + height - radius, radius, 90 * degrees, 180 * degrees)
cairo_arc (cr, x + radius, y + radius, radius, 180 * degrees, 270 * degrees)
cairo_close_path (cr)
cairo_set_source_rgba (cr, r,g,b,.6)
cairo_set_line_width (cr, 2)
cairo_stroke (cr)

conky_lctext(x+6,y+onebarheight+8,conky_parse("${top name 1}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+onebarheight+8,conky_parse("${top cpu 1}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+44,conky_parse("${top name 2}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+44,conky_parse("${top cpu 2}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+56,conky_parse("${top name 3}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+56,conky_parse("${top cpu 3}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+68,conky_parse("${top name 4}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+68,conky_parse("${top cpu 4}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctext(x+6,y+80,conky_parse("${top name 5}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)
conky_lctexta(x+150,y+80,conky_parse("${top cpu 5}"),"Arial",11,themes.tred,themes.tgreen,themes.tblue)

return (x+width),(y+height)

end -- conky_wired_tab_cpu_proc

Second question is what is the easiest way to shuffle the order of the segments? - Nov 02 2015
Conky Basic

Conky by Moob 61 comments

Thanks..I'll give it a try... - Nov 02 2015
Conky Basic

Conky by Moob 61 comments

For a few moments it will display with 8 CPUs & try to start working, then it throws the "trying to use more cpus than you have" error & folds... Looked great while it was trying to work...Maybe someone playing with 1.10 over at Arch or Siduction might have a idea....If I find out anything I'll post it.

Thanks for trying!!!! - Nov 01 2015
Conky Basic

Conky by Moob 61 comments

Tried with the option -1 & conky did not like that :( without it I get a cpu error:

dean@linux:~$ '/home/dean/.conky/conky-startup.sh'
conky: invalid option -- '1'
dean@linux:~$ '/home/dean/.conky/conky-startup.sh'
conky: no process found
conky: desktop window (a00033) is subwindow of root window (293)
conky: window type - desktop
conky: drawing to created window (0x1000001)
conky: drawing to double buffer
conky: obj->data.i 6 info.cpu_count 0
conky: attempting to use more CPUs than you have!
- Nov 01 2015
Conky Basic

Conky by Moob 61 comments

this conky config works for 1.10 (throws no errors at the start) Still has the line 670 error for the lua script.

Mod for 1.10 (anointed for editing):

conky.config = {
-- ------------------------- Windows Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,

double_buffer = true,
background = false,
-- ------------------------- Font
use_xft = true,
xftalpha = 0.1,
override_utf8_locale = true,
font = 'DejaVu Sans Mono:size=12',
uppercase = false,

draw_borders = false,
draw_outline = false,
draw_shades = false,
border_width = 0,
stippled_borders = 0,

-- ------------------------- Color
default_color = 'white',

-- ------------------------- Other
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
show_graph_scale = false,
show_graph_range = false,
draw_graph_borders = false,

-- ------------------------- Position
alignment = 'top_right',

minimum_width = 200,
minimum_height = 750,
maximum_width = 200,
gap_x = 5,
gap_y = 30,

-- ------------------------- Lua scripts
lua_load = '~/.conky/basic.lua',
lua_draw_hook_pre = 'main',
};

conky.text = [[
]] - Nov 01 2015
Conky Basic

Conky by Moob 61 comments

Looks like this:

conky.config = {
alignment = top_right,
background = no,
double_buffer = yes,
border_width = 0,
cpu_avg_samples = 2,
default_color = white,
draw_borders = no,
draw_graph_borders = no,
draw_outline = no,
draw_shades = no,
use_xft = yes,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 30,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = yes,
out_to_console = no,
out_to_stderr = no,
extra_newline = no,
own_window = yes,
own_window_class = Conky,
own_window_type = desktop,
own_window_transparent = yes,
stippled_borders = 0,
update_interval = 1.0,
uppercase = no,
use_spacer = no,
show_graph_scale = no,
show_graph_range = no,
maximum_width = 200,
--lua_load ~/.lua/basic/basic.lua,
--lua_draw_hook_pre main,
}
conky.text = [[
]]

The errors I get are:

dean@linux:~$ '/home/dean/.conky/conky-startup.sh'
conky: no process found
conky: desktop window (a00033) is subwindow of root window (293)
conky: drawing to desktop window
conky: can't load font 'DejaVu Sans Mono:size=12'
conky: can't load font 'DejaVu Sans Mono:size=12'
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 196
Current serial number in output stream: 198
- Nov 01 2015
Conky Basic

Conky by Moob 61 comments

I just turned this up from a Arch forum: https://bbs.archlinux.org/viewtopic.php?id=199217

Looks promising. - Nov 01 2015
Conky Basic

Conky by Moob 61 comments

Looking forward to checking it out.... - Nov 01 2015
Conky Basic

Conky by Moob 61 comments

Ah Well--it's what I pay for doing testing work...I have to admit that Sid has been very stable of late. I had to rebuild my install about a month ago & nothing has gone "wrong" lately (crossing my fingers as I say this). I keep a second install updated every week as a backup. It is "fun" to get software that needs to be debugged--I do enjoy the challenge. - Nov 01 2015
Conky Basic

Conky by Moob 61 comments

I just remembered from my programming in python---

conky: llua_do_call: function conky_main execution failed: /home/dean/.conky/basic.lua:670: 'for' limit must be a number

Is referring to for i=1,tonumber(hardware.cpucores) do
cpucores[i]=i

is not converting to a number-staying as text? - Oct 31 2015
Conky Basic

Conky by Moob 61 comments

Forgot to edit the conky file for my location(s).

REAL problem is now:

$ '/home/dean/.conky/conky-startup.sh'
conky: Syntax error (/home/dean/.conky/conkyrc_basic:1: '=' expected near 'top_right') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (a00037) is subwindow of root window (293)
conky: window type - desktop
conky: drawing to created window (0xe00001)
conky: drawing to double buffer
conky: unknown variable '$pre_exec'
conky: unknown variable '$pre_exec'
conky: llua_do_call: function conky_main execution failed: /home/dean/.conky/basic.lua:670: 'for' limit must be a number
conky: unknown variable '$pre_exec'
conky: unknown variable '$pre_exec'
conky: llua_do_call: function conky_main execution failed: /home/dean/.conky/basic.lua:670: 'for' limit must be a number

This repeats until conky is killed. - Oct 31 2015
Conky Basic

Conky by Moob 61 comments

Could you include a print flag in each section to see what one is throwing the nil value? - Oct 31 2015
Conky Basic

Conky by Moob 61 comments

I changed all the user variables one at a time from yes to no...same output. - Oct 31 2015
Conky Basic

Conky by Moob 61 comments

Running better, but This is what I get:

The window starts & prints garbage...terminal output looks like:

dean@linux:~$ '/home/dean/.conky/conky-startup.sh'
conky: Syntax error (/home/dean/.conky/conkyrc_basic:1: '=' expected near 'top_right') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: llua_load: cannot open /home/dean/.lua/basic/basic.lua: No such file or directory
conky: desktop window (a00037) is subwindow of root window (293)
conky: window type - desktop
conky: drawing to created window (0xe00001)
conky: drawing to double buffer
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main execution failed: attempt to call a nil value

This repeats until I kill conky. - Oct 31 2015