Page 2278 of 2348 FirstFirst ... 127817782178222822682276227722782279228022882328 ... LastLast
Results 22,771 to 22,780 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #22771
    Join Date
    Mar 2014
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Thank you ...

    However ... they want $14.99 for my resolution. I'll pass.
    Why do you need an exact size?
    The free sizes look ok to me for a wallpaper.

  2. #22772
    Join Date
    Nov 2011
    Location
    Pietermaritzburg, ZA
    Beans
    143
    Distro
    Ubuntu 14.04 Trusty Tahr

    Angry Re: Post your .conkyrc files w/ screenshots

    Hello, here is my setup

    .conkyrc:
    Code:
    #==============================================================================
    #                                 conkyrc_grey
    #
    #  author  : SLK
    #  version : v2011011601
    #  license : Distributed under the terms of GNU GPL version 2 or later
    #
    #==============================================================================
    
    background yes
    update_interval 1
    
    cpu_avg_samples 2
    net_avg_samples 2
    temperature_unit celsius
    
    double_buffer yes
    no_buffers yes
    text_buffer_size 2048
    
    gap_x 10
    gap_y 30
    minimum_size 190 450
    maximum_width 190
    own_window yes
    own_window_type override
    own_window_transparent yes
    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=8
    xftalpha 0.5
    uppercase no
    
    default_color 222222
    color1 333333
    color2 444444
    color3 555555
    color4 666666
    
    lua_load ~/.conky/conky_grey.lua
    lua_draw_hook_post main
    
    TEXT
    ${voffset 35}
    ${goto 95}${color4}${font ubuntu:size=22}${time %e}${color1}${offset -50}${font ubuntu:size=10}${time %A}
    ${goto 85}${color2}${voffset -2}${font ubuntu:size=9}${time %b}${voffset -2} ${color3}${font ubuntu:size=12}${time %Y}${font}
    
    ${voffset 80}
    ${goto 90}${font Ubuntu:size=7,weight:bold}${color}CPU
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}%
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}%
    ${goto 90}${cpugraph 10,100 666666 666666}
    ${goto 90}${voffset -10}${font Ubuntu:size=7,weight:normal}${color}${threads} process 
    
    ${voffset 20}
    ${goto 90}${font Ubuntu:size=7,weight:bold}${color}MEM
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}%
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}%
    
    ${voffset 15}
    ${goto 90}${font Ubuntu:size=7,weight:bold}${color}DISKS
    
    ${goto 90}${diskiograph 30,100 666666 666666}${voffset -30}
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_used /home} /home
    ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_used /} /
    conky_grey lua file:
    Code:
    --==============================================================================
    --                                 conky_grey.lua
    --
    --  author  : SLK
    --  version : v2011062101
    --  license : Distributed under the terms of GNU GPL version 2 or later
    --
    --==============================================================================
    
    require 'cairo'
    
    --------------------------------------------------------------------------------
    --                                                                    clock DATA
    -- HOURS
    clock_h = {
        {
        name='time',                   arg='%H',                    max_value=12,
        x=110,                         y=80,
        graph_radius=53,
        graph_thickness=3,
        graph_unit_angle=30,           graph_unit_thickness=30,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.0,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.3,
        txt_radius=34,
        txt_weight=1,                  txt_size=10.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.6,
        graduation_radius=53,
        graduation_thickness=6,        graduation_mark_thickness=2,
        graduation_unit_angle=30,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        },
    }
    -- MINUTES
    clock_m = {
        {
        name='time',                   arg='%M',                    max_value=60,
        x=110,                         y=80,
        graph_radius=57,
        graph_thickness=2,
        graph_unit_angle=6,            graph_unit_thickness=6,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.3,
        txt_radius=70,
        txt_weight=0,                  txt_size=9.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.6,
        graduation_radius=57,
        graduation_thickness=0,        graduation_mark_thickness=2,
        graduation_unit_angle=30,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        },
    }
    -- SECONDS
    clock_s = {
        {
        name='time',                   arg='%S',                    max_value=60,
        x=110,                         y=80,
        graph_radius=50,
        graph_thickness=2,
        graph_unit_angle=6,            graph_unit_thickness=2,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.0,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.2,
        txt_radius=40,
        txt_weight=0,                  txt_size=12.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.3,
        graduation_radius=0,
        graduation_thickness=0,        graduation_mark_thickness=0,
        graduation_unit_angle=0,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.0,
        },
    }
    
    --------------------------------------------------------------------------------
    --                                                                    gauge DATA
    gauge = {
    {
        name='cpu',                    arg='cpu0',                  max_value=100,
        x=85,                          y=200,
        graph_radius=24,
        graph_thickness=5,
        graph_start_angle=180,
        graph_unit_angle=2.7,          graph_unit_thickness=2.7,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.5,
        hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
        txt_radius=34,
        txt_weight=0,                  txt_size=8.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.3,
        graduation_radius=28,
        graduation_thickness=0,        graduation_mark_thickness=1,
        graduation_unit_angle=27,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        caption='',
        caption_weight=1,              caption_size=8.0,
        caption_fg_colour=0x111111,    caption_fg_alpha=0.3,
    },
    {
        name='cpu',                    arg='cpu1',                  max_value=100,
        x=85,                          y=200,
        graph_radius=18,
        graph_thickness=5,
        graph_start_angle=180,
        graph_unit_angle=2.7,          graph_unit_thickness=2.7,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.5,
        hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
        txt_radius=10,
        txt_weight=0,                  txt_size=8.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.3,
        graduation_radius=28,
        graduation_thickness=0,        graduation_mark_thickness=1,
        graduation_unit_angle=27,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        caption='',
        caption_weight=1,              caption_size=8.0,
        caption_fg_colour=0x111111,    caption_fg_alpha=0.3,
    },
    {
        name='memperc',                arg='',                      max_value=100,
        x=85,                          y=300,
        graph_radius=24,
        graph_thickness=5,
        graph_start_angle=180,
        graph_unit_angle=2.7,          graph_unit_thickness=2.7,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.5,
        hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
        txt_radius=10,
        txt_weight=0,                  txt_size=8.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.3,
        graduation_radius=23,
        graduation_thickness=8,        graduation_mark_thickness=2,
        graduation_unit_angle=27,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.5,
        caption='',
        caption_weight=1,              caption_size=8.0,
        caption_fg_colour=0x111111,    caption_fg_alpha=0.3,
    },
    {
        name='fs_used_perc',           arg='/',                     max_value=100,
        x=85,                          y=380,
        graph_radius=24,
        graph_thickness=5,
        graph_start_angle=180,
        graph_unit_angle=2.7,          graph_unit_thickness=2.7,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.5,
        hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
        txt_radius=34,
        txt_weight=0,                  txt_size=8.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.5,
        graduation_radius=28,
        graduation_thickness=0,        graduation_mark_thickness=1,
        graduation_unit_angle=27,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        caption='/',
        caption_weight=1,              caption_size=8.0,
        caption_fg_colour=0x111111,    caption_fg_alpha=0.5,
    },
    {
        name='fs_used_perc',           arg='/home/',                max_value=100,
        x=85,                          y=380,
        graph_radius=18,
        graph_thickness=5,
        graph_start_angle=180,
        graph_unit_angle=2.7,          graph_unit_thickness=2.7,
        graph_bg_colour=0x111111,      graph_bg_alpha=0.1,
        graph_fg_colour=0x111111,      graph_fg_alpha=0.5,
        hand_fg_colour=0xEF5A29,       hand_fg_alpha=0.0,
        txt_radius=10,
        txt_weight=0,                  txt_size=8.0,
        txt_fg_colour=0x111111,        txt_fg_alpha=0.5,
        graduation_radius=28,
        graduation_thickness=0,        graduation_mark_thickness=1,
        graduation_unit_angle=27,
        graduation_fg_colour=0x111111, graduation_fg_alpha=0.3,
        caption='/home',
        caption_weight=1,              caption_size=8.0,
        caption_fg_colour=0x111111,    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_clock_ring
    -- displays clock
    --
    function draw_clock_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_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']
    
        -- background ring
        cairo_arc(display, x, y, graph_radius, 0, 2 * math.pi)
        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)
        local i = 1
        while i <= val do
            cairo_arc(display, x, y, graph_radius,(  ((graph_unit_angle * i) - graph_unit_thickness)*(2*math.pi/360)  )-(math.pi/2),((graph_unit_angle * i) * (2*math.pi/360))-(math.pi/2))
            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 = (graph_unit_angle * i) - graph_unit_thickness
    
        -- 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 = 360 / graduation_unit_angle
            local i = 1
            while i <= nb_graduation do
                cairo_set_line_width(display, graduation_thickness)
                cairo_arc(display, x, y, graduation_radius, (((graduation_unit_angle * i)-(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2),(((graduation_unit_angle * i)+(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2))
                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 * 2 * math.pi / 360)-(math.pi/2)))
        local movey = txt_radius * (math.sin((angle * 2 * math.pi / 360)-(math.pi/2)))
        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);
    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_clock_rings
    -- loads data and displays clock
    --
    function go_clock_rings(display)
        local function load_clock_rings(display, data)
            local str, value = '', 0
            str = string.format('${%s %s}',data['name'], data['arg'])
            str = conky_parse(str)
            value = tonumber(str)
            draw_clock_ring(display, data, value)
        end
        
        for i in pairs(clock_h) do
            load_clock_rings(display, clock_h[i])
        end
        for i in pairs(clock_m) do
            load_clock_rings(display, clock_m[i])
        end
        for i in pairs(clock_s) do
            load_clock_rings(display, clock_s[i])
        end
    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_clock_rings(display)
            go_gauge_rings(display)
        end
        
        cairo_surface_destroy(cs)
        cairo_destroy(display)
    end
    This is an adaption of this: http://gnome-look.org/content/show.p...content=137272

    NB: When i run this, it starts duplicating over time it seems everytime it refreshes, it does not delete the old data.
    Also, i want to add my network speed, with rings, to the bottom of this. I have tried and failed can someone help?

    Thanks

    Screenshot shows all
    Attached Images Attached Images
    "I'm fat, but at least i'm not a windows" ~Tux

    Hardy Heron was my birthplace.

  3. #22773
    Join Date
    Apr 2014
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Neat little conky.
    How's ubuntu-studio in 14.04?
    What do you use it for?
    Still have ubuntu-studio 10.04 installed here.
    Had it all set up for recording with an edirol usb sound card and rakarrack guitar effects but
    haven't used it for a while.
    Hey, thanks
    I'm sorry it took me so long to reply.

    About Ubuntu Studio, I'm quite convinced that Trusty is indeed much better than Saucy (of course we expected that from a LTS version), but I started using Ubuntu about six months ago, so I really don't know how it was back in 10.04, got it running on 13.10.
    I planned to use it for recording with my USB card too, but it didn't work as I expected (sound card is worse than I thought)

  4. #22774
    Join Date
    Mar 2014
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ricardo15 View Post
    Hey, thanks
    I'm sorry it took me so long to reply.

    About Ubuntu Studio, I'm quite convinced that Trusty is indeed much better than Saucy (of course we expected that from a LTS version), but I started using Ubuntu about six months ago, so I really don't know how it was back in 10.04, got it running on 13.10.
    I planned to use it for recording with my USB card too, but it didn't work as I expected (sound card is worse than I thought)
    No expert but my edirol ua25 worked out of the box. I think the key factor is it's a USB 1.1 interface.
    http://alsa.opensrc.org/Edirol_UA-25EX

  5. #22775
    Join Date
    May 2014
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    hi
    Code:
    # conky configuration
    background yes
    
    use_xft yes
    
    xftfont Bitstream Vera Sans Mono:size=7
    
    xftalpha 0.8
    
    out_to_console no
    
    update_interval 2.0
    
    total_run_times 0
    
    own_window yes
    own_window_type override
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_transparent yes
    
    double_buffer yes
    
    draw_shades no
    
    draw_outline no
    
    draw_borders no
    
    draw_graph_borders no
    
    stippled_borders 0
    
    border_margin 10
    
    border_width 2
    
    default_color white
    default_shade_color white
    default_outline_color white
    
    minimum_size 5 5
    maximum_width 256
    
    alignment top_right
    
    gap_x 5
    gap_y 5
    
    no_buffers yes
    
    uppercase no
    
    cpu_avg_samples 1
    
    net_avg_samples 1
    
    override_utf8_locale yes
    
    use_spacer right
    
    
    TEXT
           ${color #888888}$sysname $kernel on Intel P4
           Uptime: $uptime$color
    
                    ${font :size=10}${time %a. %b. %d, %G}$font
                   ${font :size=20:bold}${time %I:%M:%S}$font
    
           ${voffset -5}${color #888888}${hr 1}$color$voffset
            ${freq cpu0} MHz${alignr}$loadavg
    ${voffset -8}${alignr}${cpugraph 25,200 000000 ff0000}$voffset
    ${color red}${font :size=13}${alignr}${cpu cpu0}%$font$color
           ${voffset -10}${color green}GPU Temp: ${color purple}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C$voffset
          ${color #888888}${hr 1}$color
    ${color green}${alignr}${membar 11,120}$color
           ${voffset -11}$memperc%  RAM used: $mem${alignr}${offset 10}${color #888888}/$color$memmax$offset$voffset
    ${color green}${alignr}${swapbar 11,120}$color
           ${voffset -11}$swapperc% Swap used: $swap${alignr}${offset 10}${color #888888}/$color$swapmax$offset$voffset
               Cache used: $cached
          ${color #888888}${hr 1}$color
    ${offset 65}${color #888888}Processes: $color$processes     ${color #888888}Running: $color$running_processes$offset
    ${voffset -8}$voffset
    
           ${color green}NAME              PID#  CPU%   MEM% $color
           ${top name 1}  ${top pid 1}${top cpu 1} ${top mem 1}
           ${top name 2}  ${top pid 2}${top cpu 2} ${top mem 2}
           ${top name 3}  ${top pid 3}${top cpu 3} ${top mem 3}
           ${top name 4}  ${top pid 4}${top cpu 4} ${top mem 4}
           ${top name 5}  ${top pid 5}${top cpu 5} ${top mem 5}
           ${top name 6}  ${top pid 6}${top cpu 6} ${top mem 6}
           ${top name 7}  ${top pid 7}${top cpu 7} ${top mem 7}
           ${top name 8}  ${top pid 8}${top cpu 8} ${top mem 8}
           ${top name 9}  ${top pid 9}${top cpu 9} ${top mem 9}
          ${color #888888}${hr 1}
    
          ${voffset -5}${color green}Root: $color${fs_free /}${color #888888}${font :size=7}free$font${alignr}${color red}${diskio /dev/sda5}$color$voffset
            ${color #333333}${fs_bar 11,208 /}$color${offset -205}${font :size=7}${fs_used /}$font$offset
    ${alignr}${voffset -12}${diskiograph /dev/sda5 11,155 333333 ff0000}$voffset
    ${alignc}${color purple}${offset 20}${execi 60 hddtemp /dev/sda | cut -c32-36;}$offset$color
          ${color green}Home: $color${fs_free /home}${color #888888}${font :size=7}free$font${alignr}${color red}${diskio /dev/sda7}$color
            ${color #333333}${fs_bar 11,208 /home}$color${offset -205}${font :size=7}${fs_used /home}$font$offset
    ${alignr}${voffset -12}${diskiograph /dev/sda7 11,155 333333 ff0000}$voffset
    
          ${color green}500:  $color${fs_free /media/500_GB}${color #888888}${font :size=7}free$font${alignr}${color red}${diskio /dev/sdb}$color
            ${color #333333}${fs_bar 11,208 /media/500_GB}$color${offset -205}${font :size=7}${fs_used /media/500_GB}$font$offset
    ${alignr}${voffset -12}${diskiograph /dev/sdb 11,155 333333 ff0000}$voffset
    ${alignc}${color purple}${offset 20}${execi 60 hddtemp /dev/sdb | cut -c24-28;}$offset$color
          ${color #888888}${hr 1}$color
    ${alignr}(${addr eth0})
    ${voffset -8}$voffset
               ${font :size=8}${color red}Uploading: ${alignr}${color green}Downloading:$color$font
              ${font :size=12}${upspeedf eth0}KB/s ${alignr}${downspeedf eth0}KB/s$font
           ${color #888888}${upspeedgraph eth0 25,104 000000 ff0000} ${alignr}${downspeedgraph eth0 25,104 000000 00ff00}$color
            ${color #888888}Total: $color${totalup eth0} ${color #888888}${alignr}Total: $color${totaldown eth0}
    
                    ${color #888888}torrent:$color ${tcp_portmon 60000 60000 count}$color ${alignr}60000
           ${color #888888}Inbound Connections ${alignr}Service/Port$color
        ${tcp_portmon 1 32767 rip 0} ${alignr}${tcp_portmon 1 32767 lservice 0}
        ${tcp_portmon 1 32767 rip 1} ${alignr}${tcp_portmon 1 32767 lservice 1}
           ${color #888888}Outbound Connections ${alignr}Service/Port$color
           ${tcp_portmon 32768 61000 rip 0} ${alignr}${tcp_portmon 32768 61000 rservice 0}
           ${tcp_portmon 32768 61000 rip 1} ${alignr}${tcp_portmon 32768 61000 rservice 1}
           ${tcp_portmon 32768 61000 rip 2} ${alignr}${tcp_portmon 32768 61000 rservice 2}
           ${tcp_portmon 32768 61000 rip 3} ${alignr}${tcp_portmon 32768 61000 rservice 3}
           ${tcp_portmon 32768 61000 rip 4} ${alignr}${tcp_portmon 32768 61000 rservice 4}
    
            ${color #888888}Inbound:$color${tcp_portmon 1 32768 count}  ${color #888888}Outbound:$color${tcp_portmon 32768 61000 count} ${color #888888}${alignr}Total:$color${tcp_portmon 1 65535 count}
    ${font :size=8}${color yellow}syslog   ${hr 1}$color
    ${font :size=7}${execi 2 tail -n2 /var/log/syslog | fold -w50}
    ${font :size=8}${color yellow}kern.log  ${hr 1}$color
    ${font :size=7}${execi 2 tail -n2 /var/log/kern.log | fold -w50}$font
    ${font :size=8}${color yellow}messages ${hr 1}$color
    ${font :size=7}${execi 2 tail -n2 /var/log/messages | fold -w50}

  6. #22776
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Right of the bat, "override" is not working with compositors anymore. Only "normal" and "panel" works along with argb overlays.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  7. #22777
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,204
    Distro
    Ubuntu Budgie Development Release

    Re: Post your .conkyrc files w/ screenshots

    Simple

    Code:
    [# Conky settings #
    background no
    update_interval 1
    double_buffer yes
    no_buffers yes
    imlib_cache_size 10
    
    # Window specifications #
    gap_x 1040
    gap_y 70
    minimum_size 268 153
    maximum_width 268
    own_window yes
    own_window_type panel  # other options are: override/dock/desktop/panel
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    border_inner_margin 0
    border_outer_margin 0
    #alignment top_right
    #own_window_argb_visual yes
    #own_window_argb_value 0
    
    # Graphics settings #
    draw_shades no
    default_shade_color AAAAAA
    draw_outline no
    default_outline_color AAAAAA
    draw_borders no
    draw_graph_borders no
    
    # Text settings #
    use_xft yes
    xftalpha 0
    xftfont telemarines:size=10
    text_buffer_size 256
    override_utf8_locale yes
    override_utf8_locale yes
    imlib_cache_size 0
    
    # Color scheme #
    default_color FFFFFF
    color1 FFFFFF
    color2 FFFFFF
    color3 D64937
    
    TEXT
    # Various images #
    ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=12781634&u=f" -o ~/.cache/weather.xml}
    \
    # The name of the days #
    \
    ${color1}${voffset 20}${alignc 90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}${color}
    ${color1}${voffset -17}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${color}
    ${color1}${voffset -17}${alignc -90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}${color}
    \
    # The temperatures #
    \
    ${color2}${voffset 51}${font Droid Sans :size=12}${alignc 90}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${color}
    ${voffset -17}${color2}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${color}
    ${voffset -17}${color2}${alignc -90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color}
    \
    # The icons of the forecast and condition #
    \
    ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 27,65 -s 32x32}\
    ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 118,65 -s 32x32}\
    ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 209,65 -s 32x32}${font}\
    ${hr}
    Uptime $alignr $uptime
    Load $alignr $loadavg
    Hostname $alignr $nodename
    
    NETWORK & SYSTEM
    ${hr}
    ESSID: $alignr ${wireless_essid wlan0}
    Signal:$alignr ${wireless_link_qual wlan0}%
    Download: $alignr ${downspeed wlan0}/s
    Total: $alignr ${totaldown wlan0}
    Upload: $alignr ${upspeed wlan0}/s
    Total: $alignr ${totalup wlan0}
    ${hr}
    CPU1: ${cpu cpu1}% $alignr  ${cpubar cpu1 8,60}
    CPU2: ${cpu cpu2}% $alignr  ${cpubar cpu2 8,60}
    CPU3: ${cpu cpu3}% $alignr  ${cpubar cpu3 8,60}
    CPU4: ${cpu cpu4}% $alignr  ${cpubar cpu4 8,60}
    ${hr}
    MEM $alignc $mem / $memmax $alignr $memperc%
    ${membar}
    HOME $alignc ${fs_used /home} / ${fs_size /home}$alignr ${fs_free_perc /home}%
    ${fs_bar /home}
    BATTERY
    ${battery_bar}${battery_percent BAT0}
    ACPI $alignr ${acpiacadapter}
    
    TOP
    ${hr}
    ${top_mem name 1} $alignr ${top_mem pid 1}$alignr    ${top_mem mem 1}
    ${top_mem name 2} $alignr ${top_mem pid 2}$alignr    ${top_mem mem 2}
    ${top_mem name 3}$alignr  ${top_mem pid 3} $alignr   ${top_mem mem 3}
    ${top_mem name 4} $alignr ${top_mem pid 4} $alignr   ${top_mem mem 4}
    ${top_mem name 5} $alignr ${top_mem pid 5}$alignr    ${top_mem mem 5}
    Attached Images Attached Images
    Last edited by Frogs Hair; May 15th, 2014 at 09:02 PM. Reason: Add Batery / ACPI
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  8. #22778
    Join Date
    Aug 2013
    Beans
    5

    Re: Post your .conkyrc files w/ screenshots

    Need a little help to finish off my Conky.
    Would like to get a battery bar/graph centered on top of clock line, with the text "Battery" centered on top of that.
    I think that should give it the form/shape I'm looking for.

    shot-2014-05-15_07-47-43.jpg

    Code:
    #made by Bodhi user Vaidoas/modified by AndyOpie150
    double_buffer yes
    own_window yes
    own_window_argb_visual true
    own_window_argb_value 
    own_window_transparent yes
    own_window_class Conky
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    total_run_times 0
    alignment tr
    border_width 1
    cpu_avg_samples 2
    use_xft yes
    xftfont Arial:bold:size=10
    gap_x 200
    gap_y 50
    minimum_size 295 5
    maximum_width 295
    net_avg_samples 2
    no_buffers yes
    stippled_borders 0
    update_interval 1.0
    
    
    
    
    TEXT
    ${alignc} ${color #CCCCCC} Clock: ${color #990000} ${time %H:%M} ${color #990000}${time %d}${color #990000}/${color #990000}${time  %B}${color #990000}/${color #990000}${time %Y} ${color #CCCCCC} ___
    ${alignc} ${color #CCCCCC} Uptime: ${color #990000} $uptime ${color #CCCCCC} ______________
    ${alignc} ${color #CCCCCC} CPU: ${color #990000} ${cpu cpu1}% ${alignc} ${color #990000} $freq_g GHz ${color #990000} ${hwmon temp 1} °C ${color #CCCCCC} _____________
    ${alignc} ${color #CCCCCC} RAM: ${color #990000} ${memperc}% ${color #999999} -> ${color #990000} ${mem} ${color #999999} of ${color #990000} $memmax ${color #CCCCCC} ______
    ${alignc} ${color #CCCCCC} Wireless: ${color #990000} ${wireless_essid wlan0} ${color #990000} ${wireless_link_qual_perc wlan0} % ${color #CCCCCC} ___________
    ${alignc} ${color #CCCCCC} Dw: ${color #990000} ${downspeedf wlan0} ${color #999999} k/s  ${color #CCCCCC} Up: ${color #990000} ${upspeedf wlan0} ${color #999999} k/s ${color #CCCCCC} __
    Last edited by Andy_Browning; May 15th, 2014 at 01:12 PM.

  9. #22779
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: Post your .conkyrc files w/ screenshots



    .tconk-config-i3: http://pastebin.com/vrnwQKYs
    .tconk-scripts-timeCheckGmail.sh: http://pastebin.com/gH7EK6N7
    .tconk-scripts-timeCheckFB.sh: http://pastebin.com/YYau4kMn
    .tconk-scripts-timeCheckUpdates.sh: http://pastebin.com/4vmnyaW4
    updateCount: http://pastebin.com/XAFiTP6g required for .tconk-scripts-timeCheckUpdates.sh - set to run in root's crontab, with permissions 755
    .tconk-scripts-time.sh-i3: http://pastebin.com/3LDnz8cR
    .tconk-scripts-mpd.sh: http://pastebin.com/FqDhTesj
    .tconk-scripts-cpuGPU.sh: http://pastebin.com/pjzLK1Ke
    .tconk-scripts-conkyDeluge: http://pastebin.com/UFBL8atv
    .tconk-scripts-conkyDeluge.py: http://pastebin.com/3ZpXgXt5 (from the conkyDeluge thread http://ubuntuforums.org/showthread.php?t=946664)
    .tconk-settings-deluge.summarytemplate-i3: http://pastebin.com/7Rge1HaA
    .tconk-settings-deluge.template-i3: http://pastebin.com/SgnVs8a9
    .tconk-settings-general: http://pastebin.com/fTYiH41e (used by most of my scripts)
    .tconk-settings-accountInfo: http://pastebin.com/cFTwpv0d (used by my GMail script)

  10. #22780
    Join Date
    Dec 2013
    Beans
    14

    Re: Post your .conkyrc files w/ screenshots

    This just adds a Unix Time clock to the menu bar

    In startup Applications I have it sleep for 30 seconds before starting conky but I was told there are options to do this within conky as well

    Code:
    sh -c “sleep 30s; conky -c ~/.conkyrc”
    Code:
    ###### Use XFT? Required to Force UTF8 (see below).
    #
    use_xft yes
    xftfont Sans:size=10
    xftalpha 0.8
    text_buffer_size 1024
    
    
    ####
    ## Force UTF8? Requires XFT (see above).
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    
    ####
    ## Update interval in seconds.
    #
    update_interval 1.0
    
    
    ####
    ## This is the number of times Conky will update before quitting.
    ## Set to zero to run forever.
    #
    total_run_times 0
    
    
    ####
    ## Create own window instead of using desktop (required in nautilus)?
    #
    own_window yes
    own_window_colour 535149
    own_window_title panelconky
    own_window_type panel
    own_window_transparent no
    own_window_hints undecorated,sticky,skip_taskbar,skip_pager,above
    default_color dfdbd2
    own_window_argb_visual yes
    own_window_argb_value 0
    
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    
    ####
    ## Draw shades?
    #
    draw_shades no
    default_shade_color 000000
    
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    #default_outline_color 000000
    
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    
    ####
    ## Text alignment.
    #
    alignment tm
    
    
    ####
    ## Minimum size of text area.
    #
    minimum_size 120 21
    maximum_width 120
    
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 400
    gap_y 0
    
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 1
    border_outer_margin 1
    border_width 1
    
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    
    ####
    ## My colors (suit yourself).
    #
    color0 White
    color1 Ivory
    color2 Ivory2
    color3 Ivory3
    color4 FF4040
    color5 FBE6B7 #text colour
    color6 Gray
    color7 AntiqueWhite4
    color8 F9A41E
    #color9 red
    color9 6A90EF #icon
    
    
    TEXT
    ${voffset 4}${time %s}

Page 2278 of 2348 FirstFirst ... 127817782178222822682276227722782279228022882328 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •