You are not logged in.

#476 2017-04-12 00:07:23

j3rzu
Member
From: Slough, UK
Registered: 2017-04-10
Posts: 23

Re: Show us your conky

That's all what I need smile

bn_j3rzu.th.png


UNIT: HP PAVILION 15 (2014)
SPEC: INTEL CORE i5-4288U CPU @ 2.60GHz // 8 GB RAM // INTEL HD4400 // HDD 1,5TB
SYSTEM: BunsenLabs 8.7 (Hydrogen)
..:: THERE ARE NO IMPOSSIBLE THINGS - THERE ARE ONLY PEOPLE WHO CAN'T DO SOMETHING ::..

Offline

#477 2017-04-15 02:23:38

Sun For Miles
Member
Registered: 2017-04-12
Posts: 150

Re: Show us your conky

forum.th.png

One of the first things I do with fresh installations is setting up Conky. smile I edited Seamod v0.1 to fit my preferences. It will probably get edited couple more times, but I am pleased enough to share this with community.

1) copy files to respective folders: .conkyrc to ~/.config/conky/ and .lua to ~/.config/conky/LUA/
2) if your wireless adapter name is different than "wlan0" then edit .conkyrc; if your CPU has more than 2 cores, edit .lua and uncomment core #3 and #4 and add more if you want

.conkyrc source:

#==============================================================================
#                               conkyrc_seamod
# Date    : 05/02/2012
# Author  : SeaJey
# Version : v0.1
# License : Distributed under the terms of GNU GPL version 2 or later
# 
# This version is a modification of conkyrc_lunatico wich is modification of conkyrc_orange
# 
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 30
gap_y 70
minimum_size 150 600
maximum_width 300
own_window yes
#own_window_type override
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
#own_window_class conky-semi
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 C9621D
# Green
color5 77B753

# Loading lua script for drawning rings
lua_load ~/.config/conky/LUA/seamod_rings.lua
lua_draw_hook_post main


# Header
TEXT
${font Ubuntu:size=10,weight:bold}${color3}${hr 2}
${offset 15}${font Ubuntu:size=10,weight:normal}${color2}${alignr}uptime: $uptime


${voffset 20}
${offset 15}${font Ubuntu:size=10,weight:bold}${color2}${alignr}${voffset 20}CPU
# Showing TOP 5 CPU-consumers
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%
# Showing CPU Graph
${voffset 5}${offset 110}${cpugraph 40,183 666666 666666}

#Showing memory part with TOP 5
${voffset 20}
${offset 90}${font Ubuntu:size=10,weight:bold}${color2}${alignr}MEM
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%

# Network data 
${voffset 20}
${offset 90}${font Ubuntu:size=10,weight:bold}${color2}${alignr}WIFI
${voffset 10}             
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Up: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${upspeed wlan0} / ${totalup wlan0}
${offset 15}${upspeedgraph wlan0 40,285 666666 666666 -l}
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Down: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${downspeed wlan0} / ${totaldown wlan0}
${offset 15}${downspeedgraph wlan0 40,285 666666 666666 -l}

# Footer
${color3}${hr 2}

.lua source:

--==============================================================================
--                            seamod_rings.lua
--
--  Date    : 05/02/2012
--  Author  : SeaJey
--  Version : v0.1
--  License : Distributed under the terms of GNU GPL version 2 or later
--
--  This version is a modification of lunatico_rings.lua wich is modification of conky_orange.lua 
--
--  conky_orange.lua:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
--  lunatico_rings.lua:  http://gnome-look.org/content/show.php?content=142884
--==============================================================================

require 'cairo'


--------------------------------------------------------------------------------
--                                                                    gauge DATA
gauge = {
{
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=100,                          y=130,
    graph_radius=54,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=64,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=100,                          y=130,
    graph_radius=48,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=40,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
--{
--    name='cpu',                    arg='cpu2',                  max_value=100,
--    x=100,                          y=130,
--    graph_radius=20,
--    graph_thickness=5,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=30,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='',
--    caption_weight=1,              caption_size=9.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
--},
--{
--    name='cpu',                    arg='cpu3',                  max_value=100,
--    x=100,                          y=130,
--    graph_radius=14,
--    graph_thickness=5,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=4,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='',
--    caption_weight=1,              caption_size=9.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
--},
{
    name='memperc',                arg='',                      max_value=100,
    x=100,                          y=330,
    graph_radius=54,
    graph_thickness=10,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=42,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
--{
--    name='fs_used_perc',           arg='/media/Data',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=54,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=64,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Data',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='fs_used_perc',           arg='/home/',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=42,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=32,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Home',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='fs_used_perc',           arg='/',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=30,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=22,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Root',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='downspeedf',           arg='wlan0',                     max_value=100,
--    x=70,                          y=660,
--    graph_radius=54,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
--    txt_radius=64,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Down',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='upspeedf',           arg='wlan0',                     max_value=100,
--    x=70,                          y=660,
--    graph_radius=42,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
--    txt_radius=30,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Up',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
}

-------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end


-------------------------------------------------------------------------------
--                                                              draw_gauge_ring
-- displays gauges
--
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end


-------------------------------------------------------------------------------
--                                                               go_gauge_rings
-- loads data and displays gauges
--
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end
    
    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    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)
    local display = cairo_create(cs)
    
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
    
    if update_num > 5 then
        go_gauge_rings(display)
    end

    cairo_surface_destroy(cs)
    cairo_destroy(display)

end

Mod Note: oversized image replaced with thumbnail link, please limit images to ~250x250px
-HoaS

Last edited by Head_on_a_Stick (2017-04-16 10:18:48)


Señor Chang, why do you teach Spanish?

Offline

#478 2017-04-15 19:04:14

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

A few days ago someone posted a "text" conky with lines and text.  Today being a slow day in the homestead I was looking through some conkys and came across an old one from my AMD single core CPU and a 17" screen ... so here I am tweaking it.
Sneak peek ... code when done:
2017-04-15_151436_Scrot11.th.png
Still in the TWEAKING stage so ... and the CPU usage :  This is conky #18 that is running here, when, if, you try it; your mileage WILL vary.

Like this, closed them all down, have FF open at this post, 2 instances of medit and this one conky:
2017-04-15_160043_Scrot11.png
Later folks...


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#479 2017-04-15 21:04:27

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

Sector11 wrote:

A few days ago someone posted a "text" conky with lines and text.  Today being a slow day in the homestead I was looking through some conkys and came across an old one from my AMD single core CPU and a 17" screen ... so here I am tweaking it.
Sneak peek ... code when done:
https://cdn.scrot.moe/images/2017/04/15/2017-04-15_151436_Scrot11.th.png
Still in the TWEAKING stage so ... and the CPU usage :  This is conky #18 that is running here, when, if, you try it; your mileage WILL vary.

Like this, closed them all down, have FF open at this post, 2 instances of medit and this one conky:
https://cdn.scrot.moe/images/2017/04/15 … crot11.png
Later folks...

Nice! When you are done, would you mind sharing please MR S11?


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#480 2017-04-15 21:48:03

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Dobbie03 wrote:
Sector11 wrote:

Sneak peek ... code when done:

Nice! When you are done, would you mind sharing please MR S11?

roll  MR! roll Noooo please not that!

Of course, just like I said above.  I developed it with "xftfont monofur:bold:10" because I like the curved affect the ASCII graphics have. Plus I really like that font.  This is a composite with five other fonts (names at the bottom of each)  Fira Mono is there twice, one at size=8 and one at 8.5 --> nice as well.

The done deal.  There's a few weird things in there that will need adjusting.
2017-04-15_182537_Scrot11.th.png
Like sensors and the inxi call for HDD info.  Need help, just ask.

S11_All-Txt.conky

# pkill -xf "conky -q -c /media/5/Conky/S11_All-Txt.conky" &

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 150

minimum_size 260 900	## w|h
maximum_width 260	## w

gap_x 10	### l|r
gap_y 10	### u|d

alignment tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont monofur:bold:size=10
#xftfont Sans Mono:size=9
#xftfont Liberation Mono:bold:size=9
#xftfont Fantasque Sans Mono:bold:size=10
#xftfont Fira Mono:bold:size=8.5

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed  #FF0000 #255   0   0	Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 512

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
#short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
#pad_percents 2

# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
#max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if
# you use $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

top_name_width 6

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or it blinks.
##
# lua_load ~/wea_conky/draw_bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
##
## OR Both above TEXT (No composite manager required - no blinking!)
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg 10 0 0 0 0 0xffffff 0.1
#
# TEXT
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1



## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©

TEXT
┌─ Time
│${goto 26}├─ Local${goto 110}${time %T}
│${goto 26}├─ UTC ${goto 110}${utime %H:%M}
│${goto 26}├─ Boot${goto 110}${exec who -b | cut -c23-}
│${goto 26}└─ Uptime${goto 110}${uptime}
│
├─ System
│${goto 26}├─ OS${goto 110}${pre_exec lsb_release -is} ${pre_exec lsb_release -rs}
│${goto 26}├─ Kernel ${goto 110}${kernel}
│${goto 26}└─ Machine${goto 110}${machine}
│
├─ Memory
│${goto 26}├─ Total${goto 110}${memmax}
│${goto 26}├─ In Use${goto 110}${mem} (${memperc}%)
│${goto 26}├─ Free${goto 110}${memfree}
│${goto 26}├─ Up to${goto 110}${memeasyfree} easy free
│${goto 26}├─ Swap
│${goto 26}│${goto 45}├─ Total${goto 110}${swapmax}
│${goto 26}│${goto 45}├─ Used${goto 110}${swap} ${swapperc}%
│${goto 26}│${goto 45}└─ Free${goto 110}${swapfree}
│${goto 26}├─ Ram${goto 110}${memperc}%
│${goto 26}└─ LoadAvg${goto 110}${loadavg}
│
├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 0${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}└─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│
├─ Sensors
│${goto 26}├─ CPU${goto 110}${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU Fan${goto 110}${platform f71882fg.2560 fan 1} RPM
│${goto 26}├─ M|B${goto 110}${execi 15 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│${goto 26}├─ SDA${goto 110}${hddtemp /dev/sda}°
│${goto 26}└─ GPU${goto 110}${nvidia temp}°
│
├─ HDD Status
│${goto 26}├─ Disk${goto 110}${execi 30 inxi -D |grep 'Size'| cut -c28-47}
│${goto 26}├─ Diskio ${goto 110}${diskio}
│${goto 26}│${goto 45}├─ Read${goto 110}${diskio_read}
│${goto 26}│${goto 45}└─ Write${goto 110}${diskio_write}
│${goto 26}├─ /ROOT${goto 110}${fs_free /}${goto 170}/ ${fs_size /}
│${goto 26}├─ /HOME${goto 110}${fs_free /home}${goto 170}/ ${fs_size /home}
│${goto 26}├─ /M/5${goto 110}${fs_free /media/5}${goto 170}/ ${fs_size /media/5}
│${goto 26}└─ /M/10${goto 110}${fs_free /media/10}${goto 170}/ ${fs_size /media/10}
│
├─ Processes
│${goto 26}├─ Total${goto 110}${processes}
│${goto 26}├─ Running${goto 110}${running_processes}
│${goto 26}│
│${goto 26}├─ CPU
│${goto 26}│${goto 45}├─ ${top name 1}${goto 110}${top cpu 1}${top mem 1}
│${goto 26}│${goto 45}├─ ${top name 2}${goto 110}${top cpu 2}${top mem 2}
│${goto 26}│${goto 45}└─ ${top name 3}${goto 110}${top cpu 3}${top mem 3}
│${goto 26}│
│${goto 26}└─ MEM
│${goto 45}├─ ${top_mem name 1}${goto 110}${top_mem cpu 1}${top_mem mem 1}
│${goto 45}├─ ${top_mem name 2}${goto 110}${top_mem cpu 2}${top_mem mem 2}
│${goto 45}└─ ${top_mem name 3}${goto 110}${top_mem cpu 3}${top_mem mem 3}
│
└─ Net
${goto 26}├─ eth0${goto 110}${addr}
${goto 26}├─ Up
${goto 26}│${goto 45}├─ Speed${goto 110}${upspeed eth0}
${goto 26}│${goto 45}└─ Total${goto 110}${totalup eth0}
${goto 26}│
${goto 26}└─ Down
${goto 45}├─ Speed${goto 110}${downspeed eth0}
${goto 45}└─ Total${goto 110}${totaldown eth0}

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#481 2017-04-15 22:21:06

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

How do you get those special characters (like │ and ├─) to display? They show up as squares for me.

Offline

#482 2017-04-15 22:54:49

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

Sector11 wrote:
Dobbie03 wrote:
Sector11 wrote:

Sneak peek ... code when done:

Nice! When you are done, would you mind sharing please MR S11?

roll  MR! roll Noooo please not that!

Of course, just like I said above.  I developed it with "xftfont monofur:bold:10" because I like the curved affect the ASCII graphics have. Plus I really like that font.  This is a composite with five other fonts (names at the bottom of each)  Fira Mono is there twice, one at size=8 and one at 8.5 --> nice as well.

The done deal.  There's a few weird things in there that will need adjusting.
https://cdn.scrot.moe/images/2017/04/15/2017-04-15_182537_Scrot11.th.png
Like sensors and the inxi call for HDD info.  Need help, just ask.

S11_All-Txt.conky

# pkill -xf "conky -q -c /media/5/Conky/S11_All-Txt.conky" &

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 150

minimum_size 260 900	## w|h
maximum_width 260	## w

gap_x 10	### l|r
gap_y 10	### u|d

alignment tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont monofur:bold:size=10
#xftfont Sans Mono:size=9
#xftfont Liberation Mono:bold:size=9
#xftfont Fantasque Sans Mono:bold:size=10
#xftfont Fira Mono:bold:size=8.5

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed  #FF0000 #255   0   0	Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 512

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
#short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
#pad_percents 2

# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
#max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if
# you use $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

top_name_width 6

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or it blinks.
##
# lua_load ~/wea_conky/draw_bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
##
## OR Both above TEXT (No composite manager required - no blinking!)
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg 10 0 0 0 0 0xffffff 0.1
#
# TEXT
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1



## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©

TEXT
┌─ Time
│${goto 26}├─ Local${goto 110}${time %T}
│${goto 26}├─ UTC ${goto 110}${utime %H:%M}
│${goto 26}├─ Boot${goto 110}${exec who -b | cut -c23-}
│${goto 26}└─ Uptime${goto 110}${uptime}
│
├─ System
│${goto 26}├─ OS${goto 110}${pre_exec lsb_release -is} ${pre_exec lsb_release -rs}
│${goto 26}├─ Kernel ${goto 110}${kernel}
│${goto 26}└─ Machine${goto 110}${machine}
│
├─ Memory
│${goto 26}├─ Total${goto 110}${memmax}
│${goto 26}├─ In Use${goto 110}${mem} (${memperc}%)
│${goto 26}├─ Free${goto 110}${memfree}
│${goto 26}├─ Up to${goto 110}${memeasyfree} easy free
│${goto 26}├─ Swap
│${goto 26}│${goto 45}├─ Total${goto 110}${swapmax}
│${goto 26}│${goto 45}├─ Used${goto 110}${swap} ${swapperc}%
│${goto 26}│${goto 45}└─ Free${goto 110}${swapfree}
│${goto 26}├─ Ram${goto 110}${memperc}%
│${goto 26}└─ LoadAvg${goto 110}${loadavg}
│
├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 0${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}└─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│
├─ Sensors
│${goto 26}├─ CPU${goto 110}${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU Fan${goto 110}${platform f71882fg.2560 fan 1} RPM
│${goto 26}├─ M|B${goto 110}${execi 15 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│${goto 26}├─ SDA${goto 110}${hddtemp /dev/sda}°
│${goto 26}└─ GPU${goto 110}${nvidia temp}°
│
├─ HDD Status
│${goto 26}├─ Disk${goto 110}${execi 30 inxi -D |grep 'Size'| cut -c28-47}
│${goto 26}├─ Diskio ${goto 110}${diskio}
│${goto 26}│${goto 45}├─ Read${goto 110}${diskio_read}
│${goto 26}│${goto 45}└─ Write${goto 110}${diskio_write}
│${goto 26}├─ /ROOT${goto 110}${fs_free /}${goto 170}/ ${fs_size /}
│${goto 26}├─ /HOME${goto 110}${fs_free /home}${goto 170}/ ${fs_size /home}
│${goto 26}├─ /M/5${goto 110}${fs_free /media/5}${goto 170}/ ${fs_size /media/5}
│${goto 26}└─ /M/10${goto 110}${fs_free /media/10}${goto 170}/ ${fs_size /media/10}
│
├─ Processes
│${goto 26}├─ Total${goto 110}${processes}
│${goto 26}├─ Running${goto 110}${running_processes}
│${goto 26}│
│${goto 26}├─ CPU
│${goto 26}│${goto 45}├─ ${top name 1}${goto 110}${top cpu 1}${top mem 1}
│${goto 26}│${goto 45}├─ ${top name 2}${goto 110}${top cpu 2}${top mem 2}
│${goto 26}│${goto 45}└─ ${top name 3}${goto 110}${top cpu 3}${top mem 3}
│${goto 26}│
│${goto 26}└─ MEM
│${goto 45}├─ ${top_mem name 1}${goto 110}${top_mem cpu 1}${top_mem mem 1}
│${goto 45}├─ ${top_mem name 2}${goto 110}${top_mem cpu 2}${top_mem mem 2}
│${goto 45}└─ ${top_mem name 3}${goto 110}${top_mem cpu 3}${top_mem mem 3}
│
└─ Net
${goto 26}├─ eth0${goto 110}${addr}
${goto 26}├─ Up
${goto 26}│${goto 45}├─ Speed${goto 110}${upspeed eth0}
${goto 26}│${goto 45}└─ Total${goto 110}${totalup eth0}
${goto 26}│
${goto 26}└─ Down
${goto 45}├─ Speed${goto 110}${downspeed eth0}
${goto 45}└─ Total${goto 110}${totaldown eth0}

Thanks for the share.  For some reason I can't even get it to show.


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#483 2017-04-15 22:57:07

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

miharkula wrote:

How do you get those special characters (like │ and ├─) to display? They show up as squares for me.

You need to use a font that will display the ASCII characters.

Let's start here:
Are you using Bunsen?

Do you have the fonts installed that the conky call?
Try using a mono font you have.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#484 2017-04-15 23:00:07

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

Sector11 wrote:
miharkula wrote:

How do you get those special characters (like │ and ├─) to display? They show up as squares for me.

You need to use a font that will display the ASCII characters.

Let's start here:
Are you using Bunsen?


No S11.  ArchLabs all the way my friend.  I am just messing about with the config to see if I can figure out the issue.

Sorry Ignore me, I thought for some reason that questions was directed at me.

Last edited by Dobbie03 (2017-04-15 23:08:26)


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#485 2017-04-15 23:07:45

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

Sector11 wrote:
miharkula wrote:

How do you get those special characters (like │ and ├─) to display? They show up as squares for me.

You need to use a font that will display the ASCII characters.

Let's start here:
Are you using Bunsen?

Yes. Using Deuterium RC from https://forums.bunsenlabs.org/viewtopic … 058#p49058

Update: I tried one of the other fonts. I had left it at monofur which I do not seem to have.

Last edited by miharkula (2017-04-15 23:13:29)

Offline

#486 2017-04-15 23:11:45

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Dobbie03 wrote:

Thanks for the share.  For some reason I can't even get it to show.

sad  Start the conky in a terminal

conky -c /path/to/what_ever_you_called_it_conkyrc

And show the terminal output please.

@ miharkula - you too please.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#487 2017-04-15 23:17:04

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

@ miharkula and Dobbie03

My friends, I'll bet you are using conky v10  This conky was written in V1.9

Convert the conky to v10 code.  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#488 2017-04-15 23:24:40

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

I was able to see the special characters with Liberation Mono. Rest of the fonts are not installed it seems. I am using conky 1.9. Looking into what I need to update for the sensors but did notice my system does not seem to be able to detect the fan speed (sensors does not show it).

Offline

#489 2017-04-15 23:47:20

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

Sector11 wrote:

@ miharkula and Dobbie03

My friends, I'll bet you are using conky v10  This conky was written in V1.9

Convert the conky to v10 code.  big_smile


You're right.  I'm doing that now.


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#490 2017-04-16 00:07:06

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

miharkula wrote:

I was able to see the special characters with Liberation Mono. Rest of the fonts are not installed it seems. I am using conky 1.9. Looking into what I need to update for the sensors but did notice my system does not seem to be able to detect the fan speed (sensors does not show it).

Yea, you need the fonts my friend.  Check out http://www.dafont.com/monofur.font

You need to get lm-sensors and hddtemp as well (sudo apt-get lm-sensors hddtemp) then look at this little guide: Using Sensors

@ Dobbie03 - Not sure how ARCH does things but those programs should be available to you as well.


Also get "inxi" that way "sensors" tells you what and inxi tells you where my alias come in handy:

alias sensen='echo "sensors && echo =-=-=-=-=-=-= && inxi -s" && sensors && echo =-=-=-=-=-=-= && inxi -s'
 15 Apr 17 @ 21:03:17 ~
  $ sensen
sensen=sensors && echo =-=-=-=-=-=-= && inxi -s
acpitz-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  (crit = +110.0°C)

f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V:        +3.50 V  
in1:          +1.35 V  
in2:          +1.51 V  
in3:          +0.86 V  
in4:          +0.00 V  
in5:          +0.00 V  
in6:          +0.00 V  
3VSB:         +3.39 V  
Vbat:         +2.99 V  
fan1:        2127 RPM
fan2:           0 RPM  ALARM
fan3:           0 RPM  ALARM
temp1:        +39.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +38.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
temp3:       +127.0°C  (high = +70.0°C, hyst = +68.0°C)  ALARM (CRIT)
                       (crit = +85.0°C, hyst = +83.0°C)  sensor = transistor

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +28.9°C  (high = +70.0°C)

=-=-=-=-=-=-=
Sensors:   System Temperatures: cpu: 38.0C mobo: 28.6C gpu: 40C
           Fan Speeds (in rpm): cpu: 2127 fan-2: 0 fan-3: 0
 
 15 Apr 17 @ 21:03:21 ~
  $ 

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#491 2017-04-16 00:10:03

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Dobbie03 wrote:
Sector11 wrote:

@ miharkula and Dobbie03

My friends, I'll bet you are using conky v10  This conky was written in V1.9

Convert the conky to v10 code.  big_smile


You're right.  I'm doing that now.

Everything under my TEXT can be copied verbatim to the v10 conky:

conky.text = [[

in here

]];

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#492 2017-04-16 00:21:25

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

@ Dobbie03 and other conky v10 users:

Please test this and let me know if it works:

S11_All-Txt.v10.conky - untested I run conky v1.9

YES!  Tested by Dobbie03 - runs perfect in ARCHLabs!  See following post!

conky.config = {
-- pkill -xf "conky -c /media/5/Conky/S11_All-Txt.v10.conky" &


--  Begin Window Settings
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	own_window_title = 'Text Conky',

	minimum_width = 260, minimum_height = 900,
	maximum_width = 260,

	gap_x = 10,
	gap_y = 10,

	alignment = 'top_left',

-- End Window Settings
-- Font Settings

	use_xft = true,
	font = 'Monofur:bold:size=10',
	xftalpha = 1.0,
	override_utf8_locale = true,

-- End Font Settings
-- Color Settings

	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#000000',

--default_color DCDCDC #Gainsboro
	default_color = '#B0E0E6',--PowderBlue
	color0 = '#98FB98',--PaleGreen
	color1 = '#778899',--LightSlateGray
	color2 = '#FFD700',--Gold
	color3 = '#B0E0E6',--PowderBlue
	color4 = '#F4A460',--SandyBrown
	color5 = '#DEB887',--BurlyWood
	color6 = '#00BFFF',--DeepSkyBlue
	color7 = '#5F9EA0',--CadetBlue
	color8 = '#FFA500',--Orange
	color9 = '#FF4500',--OrangeRed

-- End Color Settings
-- Borders Section

	draw_borders = false,
	stippled_borders = 5,
	border_inner_margin = 0,
	border_outer_margin = 0,

-- End Borders Secton
-- Miscellaneous Section

	background = true,
	use_spacer = 'none',
	no_buffers = true,
	double_buffer = true,

-- End Miscellaneous Section

	update_interval = 1.0,

-- ASCII Characters
-- │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
-- ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

-- ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
-- ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
-- • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
-- ¼ ½ ¾ ® ©

};

conky.text = [[
┌─ Time
│${goto 26}├─ Local${goto 110}${time %T}
│${goto 26}├─ UTC ${goto 110}${utime %H:%M}
│${goto 26}├─ Boot${goto 110}${exec who -b | cut -c23-}
│${goto 26}└─ Uptime${goto 110}${uptime}
│
├─ System
│${goto 26}├─ OS${goto 110}${execi 86400 lsb_release -is} ${execi 86400 lsb_release -rs}
│${goto 26}├─ Kernel ${goto 110}${kernel}
│${goto 26}└─ Machine${goto 110}${machine}
│
├─ Memory
│${goto 26}├─ Total${goto 110}${memmax}
│${goto 26}├─ In Use${goto 110}${mem} (${memperc}%)
│${goto 26}├─ Free${goto 110}${memfree}
│${goto 26}├─ Up to${goto 110}${memeasyfree} easy free
│${goto 26}├─ Swap
│${goto 26}│${goto 45}├─ Total${goto 110}${swapmax}
│${goto 26}│${goto 45}├─ Used${goto 110}${swap} ${swapperc}%
│${goto 26}│${goto 45}└─ Free${goto 110}${swapfree}
│${goto 26}├─ Ram${goto 110}${memperc}%
│${goto 26}└─ LoadAvg${goto 110}${loadavg}
│
├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 0${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}└─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│
├─ Sensors
│${goto 26}├─ CPU${goto 110}${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU Fan${goto 110}${platform f71882fg.2560 fan 1} RPM
│${goto 26}├─ M|B${goto 110}${execi 15 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│${goto 26}├─ SDA${goto 110}${hddtemp /dev/sda}°
│${goto 26}└─ GPU${goto 110}${nvidia temp}°
│
├─ HDD Status
│${goto 26}├─ Disk${goto 110}${execi 30 inxi -D |grep 'Size'| cut -c28-47}
│${goto 26}├─ Diskio ${goto 110}${diskio}
│${goto 26}│${goto 45}├─ Read${goto 110}${diskio_read}
│${goto 26}│${goto 45}└─ Write${goto 110}${diskio_write}
│${goto 26}├─ /ROOT${goto 110}${fs_free /}${goto 170}/ ${fs_size /}
│${goto 26}├─ /HOME${goto 110}${fs_free /home}${goto 170}/ ${fs_size /home}
│${goto 26}├─ /M/5${goto 110}${fs_free /media/5}${goto 170}/ ${fs_size /media/5}
│${goto 26}└─ /M/10${goto 110}${fs_free /media/10}${goto 170}/ ${fs_size /media/10}
│
├─ Processes
│${goto 26}├─ Total${goto 110}${processes}
│${goto 26}├─ Running${goto 110}${running_processes}
│${goto 26}│
│${goto 26}├─ CPU
│${goto 26}│${goto 45}├─ ${top name 1}${goto 110}${top cpu 1}${top mem 1}
│${goto 26}│${goto 45}├─ ${top name 2}${goto 110}${top cpu 2}${top mem 2}
│${goto 26}│${goto 45}└─ ${top name 3}${goto 110}${top cpu 3}${top mem 3}
│${goto 26}│
│${goto 26}└─ MEM
│${goto 45}├─ ${top_mem name 1}${goto 110}${top_mem cpu 1}${top_mem mem 1}
│${goto 45}├─ ${top_mem name 2}${goto 110}${top_mem cpu 2}${top_mem mem 2}
│${goto 45}└─ ${top_mem name 3}${goto 110}${top_mem cpu 3}${top_mem mem 3}
│
└─ Net
${goto 26}├─ eth0${goto 110}${addr}
${goto 26}├─ Up
${goto 26}│${goto 45}├─ Speed${goto 110}${upspeed eth0}
${goto 26}│${goto 45}└─ Total${goto 110}${totalup eth0}
${goto 26}│
${goto 26}└─ Down
${goto 45}├─ Speed${goto 110}${downspeed eth0}
${goto 45}└─ Total${goto 110}${totaldown eth0} ]];

Last edited by Sector11 (2017-04-16 01:36:19)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#493 2017-04-16 01:26:31

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

Sector11 wrote:

@ Dobbie03 and other conky v10 users:

Please test this and let me know if it works:

S11_All-Txt.v10.conky - untested I run conky v1.9

conky.config = {
-- pkill -xf "conky -c /media/5/Conky/S11_All-Txt.v10.conky" &


--  Begin Window Settings
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	own_window_title = 'Text Conky',

	minimum_width = 260, minimum_height = 900,
	maximum_width = 260,

	gap_x = 10,
	gap_y = 10,

	alignment = 'top_left',

-- End Window Settings
-- Font Settings

	use_xft = true,
	font = 'Monofur:bold:size=10',
	xftalpha = 1.0,
	override_utf8_locale = true,

-- End Font Settings
-- Color Settings

	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#000000',

--default_color DCDCDC #Gainsboro
	default_color = '#B0E0E6',--PowderBlue
	color0 = '#98FB98',--PaleGreen
	color1 = '#778899',--LightSlateGray
	color2 = '#FFD700',--Gold
	color3 = '#B0E0E6',--PowderBlue
	color4 = '#F4A460',--SandyBrown
	color5 = '#DEB887',--BurlyWood
	color6 = '#00BFFF',--DeepSkyBlue
	color7 = '#5F9EA0',--CadetBlue
	color8 = '#FFA500',--Orange
	color9 = '#FF4500',--OrangeRed

-- End Color Settings
-- Borders Section

	draw_borders = false,
	stippled_borders = 5,
	border_inner_margin = 0,
	border_outer_margin = 0,

-- End Borders Secton
-- Miscellaneous Section

	background = true,
	use_spacer = 'none',
	no_buffers = true,
	double_buffer = true,

-- End Miscellaneous Section

	update_interval = 1.0,

-- ASCII Characters
-- │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
-- ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

-- ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
-- ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
-- • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
-- ¼ ½ ¾ ® ©

};

conky.text = [[
┌─ Time
│${goto 26}├─ Local${goto 110}${time %T}
│${goto 26}├─ UTC ${goto 110}${utime %H:%M}
│${goto 26}├─ Boot${goto 110}${exec who -b | cut -c23-}
│${goto 26}└─ Uptime${goto 110}${uptime}
│
├─ System
│${goto 26}├─ OS${goto 110}${execi 86400 lsb_release -is} ${execi 86400 lsb_release -rs}
│${goto 26}├─ Kernel ${goto 110}${kernel}
│${goto 26}└─ Machine${goto 110}${machine}
│
├─ Memory
│${goto 26}├─ Total${goto 110}${memmax}
│${goto 26}├─ In Use${goto 110}${mem} (${memperc}%)
│${goto 26}├─ Free${goto 110}${memfree}
│${goto 26}├─ Up to${goto 110}${memeasyfree} easy free
│${goto 26}├─ Swap
│${goto 26}│${goto 45}├─ Total${goto 110}${swapmax}
│${goto 26}│${goto 45}├─ Used${goto 110}${swap} ${swapperc}%
│${goto 26}│${goto 45}└─ Free${goto 110}${swapfree}
│${goto 26}├─ Ram${goto 110}${memperc}%
│${goto 26}└─ LoadAvg${goto 110}${loadavg}
│
├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 0${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}└─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│
├─ Sensors
│${goto 26}├─ CPU${goto 110}${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU Fan${goto 110}${platform f71882fg.2560 fan 1} RPM
│${goto 26}├─ M|B${goto 110}${execi 15 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│${goto 26}├─ SDA${goto 110}${hddtemp /dev/sda}°
│${goto 26}└─ GPU${goto 110}${nvidia temp}°
│
├─ HDD Status
│${goto 26}├─ Disk${goto 110}${execi 30 inxi -D |grep 'Size'| cut -c28-47}
│${goto 26}├─ Diskio ${goto 110}${diskio}
│${goto 26}│${goto 45}├─ Read${goto 110}${diskio_read}
│${goto 26}│${goto 45}└─ Write${goto 110}${diskio_write}
│${goto 26}├─ /ROOT${goto 110}${fs_free /}${goto 170}/ ${fs_size /}
│${goto 26}├─ /HOME${goto 110}${fs_free /home}${goto 170}/ ${fs_size /home}
│${goto 26}├─ /M/5${goto 110}${fs_free /media/5}${goto 170}/ ${fs_size /media/5}
│${goto 26}└─ /M/10${goto 110}${fs_free /media/10}${goto 170}/ ${fs_size /media/10}
│
├─ Processes
│${goto 26}├─ Total${goto 110}${processes}
│${goto 26}├─ Running${goto 110}${running_processes}
│${goto 26}│
│${goto 26}├─ CPU
│${goto 26}│${goto 45}├─ ${top name 1}${goto 110}${top cpu 1}${top mem 1}
│${goto 26}│${goto 45}├─ ${top name 2}${goto 110}${top cpu 2}${top mem 2}
│${goto 26}│${goto 45}└─ ${top name 3}${goto 110}${top cpu 3}${top mem 3}
│${goto 26}│
│${goto 26}└─ MEM
│${goto 45}├─ ${top_mem name 1}${goto 110}${top_mem cpu 1}${top_mem mem 1}
│${goto 45}├─ ${top_mem name 2}${goto 110}${top_mem cpu 2}${top_mem mem 2}
│${goto 45}└─ ${top_mem name 3}${goto 110}${top_mem cpu 3}${top_mem mem 3}
│
└─ Net
${goto 26}├─ eth0${goto 110}${addr}
${goto 26}├─ Up
${goto 26}│${goto 45}├─ Speed${goto 110}${upspeed eth0}
${goto 26}│${goto 45}└─ Total${goto 110}${totalup eth0}
${goto 26}│
${goto 26}└─ Down
${goto 45}├─ Speed${goto 110}${downspeed eth0}
${goto 45}└─ Total${goto 110}${totaldown eth0} ]];

Works perfectly


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#494 2017-04-16 01:28:04

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

All I need now is to sort the temperature stuff so it matches my system


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#495 2017-04-16 01:42:54

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Great stuff Dobbie03 ... post a scrot when done please.  I'll just leave this here: lm_sensors - ArchWiki  devil


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#496 2017-04-16 02:23:15

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,388
Website

Re: Show us your conky

I haven't fixed the sensors yet:

S11.th.png


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#497 2017-04-16 05:59:16

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

Not quite there yet. Have a few sensors to figure out and find out why one hard drive will not display correctly.

2017-04-16-01-45-11_scrot.th.png

Last edited by miharkula (2017-04-16 06:03:31)

Offline

#498 2017-04-16 12:28:45

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

miharkula wrote:

Not quite there yet. Have a few sensors to figure out and find out why one hard drive will not display correctly.

https://cdn.scrot.moe/images/2017/04/16/2017-04-16-01-45-11_scrot.th.png

Grrrrrrrrrrrrrrrrrrrrrr!!!!  Intel Quad core tweaked to 8

Are you using the CPU 0 to CPU 7 correctly?

Reason I ask:

Intel reports CPU's as "Cores" ie: Core 0, Core 2 ... Core 6, Core 7

Conky use CPU exclusively: where ${cpu cpu1} equals Intel's Core0
Conky uses ${cpu cpu0} as an "average" or "total usage"

cpu     (cpuN)     CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.

I have:

 16 Apr 17 @ 09:20:24 ~
  $ cpu
CPU:       Triple core AMD Athlon II X3 450 (-MCP-) cache: 1536 KB
           flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 19287
           Clock Speeds: 1: 2500 MHz 2: 2000 MHz 3: 2000 MHz
 
 16 Apr 17 @ 09:20:26 ~
  $ 

and I use ${cpu cpu0} and ${freq_g 0} in my conkys to show those Averages or 'total usage'
I should change that section to:

├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}├─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│${goto 26}└─ CPU A${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz

In fact I just did that

Yours should look like this:

├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}├─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
etc
etc
│${goto 26}├─ CPU 7${goto 110}${cpu cpu7}%${goto 155}@ ${freq_g 7}GHz
│${goto 26}├─ CPU 8${goto 110}${cpu cpu8}%${goto 155}@ ${freq_g 8}GHz
│${goto 26}└─ CPU A${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz

Or even better:

├─ CPU Status${goto 110}Temp: ${platform f71882fg.2560 temp 2}°
│${goto 26}├─ Core1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ Core2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}├─ Core3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
etc
etc
│${goto 26}├─ Core7${goto 110}${cpu cpu7}%${goto 155}@ ${freq_g 7}GHz
│${goto 26}├─ Core8${goto 110}${cpu cpu8}%${goto 155}@ ${freq_g 8}GHz
│${goto 26}└─ CPU A${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz

Sorry about that....

Ahhhhhhhhhh monofur - NICE!  big_smile

I'm sure you'll get the sensors and HDD going right.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#499 2017-04-16 14:10:26

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

I know its technically not 8 cores and I am not entirely sure why the CPU0-7 works. The sensors output includes just the 4 and an extra one which I could not seem to reference in conky:

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +34.0°C  (high = +85.0°C, crit = +105.0°C)
Core 0:         +29.0°C  (high = +85.0°C, crit = +105.0°C)
Core 1:         +28.0°C  (high = +85.0°C, crit = +105.0°C)
Core 2:         +30.0°C  (high = +85.0°C, crit = +105.0°C)
Core 3:         +29.0°C  (high = +85.0°C, crit = +105.0°C)

Last edited by miharkula (2017-04-16 14:10:59)

Offline

#500 2017-04-16 15:46:54

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Hyper-threading - conky's ${cpu cpuX} is picking up on the threads

Does ${freq_g 0} ${freq_g 1} ${freq_g 2} ... to ... ${freq_g 7} ${freq_g 8} work as well?

Yup, sensors will pick up the actual "Intel Cores" (ie: 4 Cores) not the threads.
With AMD multi core CPU's lm_sensors only picks up the main CPU - probably equal to what you have as:

Physical id 0:  +34.0°C

unless that is your motherboard.

In a terminal what does:  inxi -s  - tell you?

Try this:

 16 Apr 17 @ 12:17:52 ~
  $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  (crit = +110.0°C)

f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V:        +3.50 V  
in1:          +1.18 V  
in2:          +1.51 V  
in3:          +0.86 V  
in4:          +0.00 V  
in5:          +0.00 V  
in6:          +0.00 V  
3VSB:         +3.39 V  
Vbat:         +2.99 V  
fan1:        2040 RPM
fan2:           0 RPM  ALARM
fan3:           0 RPM  ALARM
temp1:        +38.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:        +37.0°C  (high = +85.0°C, hyst = +81.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
temp3:       +127.0°C  (high = +70.0°C, hyst = +68.0°C)  ALARM (CRIT)
                       (crit = +85.0°C, hyst = +83.0°C)  sensor = transistor

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +28.0°C  (high = +70.0°C)

 
 16 Apr 17 @ 12:17:57 ~
  $ inxi -s
Sensors:   System Temperatures: cpu: 37.0C mobo: 28.4C gpu: 38C
           Fan Speeds (in rpm): cpu: 1960 fan-2: 0 fan-3: 0
 
 16 Apr 17 @ 12:18:03 ~
  $ 

Notice I do not have temps for each of my three cores.

cpu: 37.0C = temp2:        +37.0°C
mobo: 28.4C = temp1:        +28.0°C (k10temp-pci-00c3)

Not a clue what: temp1: +38.0°C is - that temp like the 127° never changes.


Sensors tells you the results ... inxi tells you what goes where.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

Board footer

Powered by FluxBB