Page 1229 of 2328 FirstFirst ... 2297291129117912191227122812291230123112391279132917292229 ... LastLast
Results 12,281 to 12,290 of 23272

Thread: Post your .conkyrc files w/ screenshots

  1. #12281
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Dawei87 View Post
    so im having a problem with sen7's new conky setup NightDrive, and i was hoping someone could help. everything is lined up correctly after i adjusted all the voffsets for my resolution, but for some reason the conky will relocate itself based on whether or not mpd is has a playlist. it doesnt move much, but it flashes and moves and its annoying. i included a screenshot of both states of conky (i included the moon on my background as a reference point for how little it is moving) and also the conkyrc. any help would be much appreciated!
    I suspect conky flashes because the window resizes. Maybe the empty playlist isn't the same size as a filled playlist and makes the whole conky window resize. Tweaking the values for minimum_size x y and maximum_width x (above the TEXT line) might help.

  2. #12282
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dmillerct View Post
    Sounds nice man. I wish I could work from home.
    Pros and cons mate, pros are that I can get up later and can have a little bit more flexible hours, although I do need to be available in "core" hours. The negative is I don't feel like I've left work

    I bet after a few weeks of this I'll wish I was working away from the house so there is a clear distinction between work and play...

  3. #12283
    Join Date
    Jul 2008
    Location
    Connecticut, U.S.
    Beans
    106
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by kaivalagi View Post
    Pros and cons mate, pros are that I can get up later and can have a little bit more flexible hours, although I do need to be available in "core" hours. The negative is I don't feel like I've left work

    I bet after a few weeks of this I'll wish I was working away from the house so there is a clear distinction between work and play...
    I can understand that. Hey, at least your working.
    Registered Ubuntu User #29430

  4. #12284
    Join Date
    Mar 2008
    Location
    Normal, IL
    Beans
    505
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    I found this awesom conky and im trying to make it work.
    however everytime i click on my desktop. the conky disappears.
    also i would like to get rid of the border

    my conkyrc...
    Code:
    # — Conky settings — #
    background yes
    update_interval 1
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    override_utf8_locale yes
    
    double_buffer yes
    no_buffers yes
    
    text_buffer_size 800
    imlib_cache_size 0
    
    # — Window specifications — #
    
    own_window yes
    own_window_type desktop
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
    border_inner_margin 0
    border_outer_margin 0
    
    minimum_size 200 700
    maximum_width 200
    
    alignment tl
    gap_x 2
    gap_y 30
    
    # — Graphics settings — #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    # — Text settings — #
    use_xft yes
    xftfont DIST Inking:size=26
    xftalpha 0.2
    
    uppercase no
    
    default_color 3E3E3E
    color1 D23000
    
    # — Lua Load — #
    lua_load ~/Scripts/brush_rings.lua
    lua_draw_hook_pre clock_rings
    
    TEXT
    ${voffset}${goto 25}${font DIST Inking:size=56}${time %I}${font}
    ${voffset -35}${goto 65}${time %M}
    ${voffset 200}${goto 25}${font DIST Inking:size=36}${if_match ${battery_percent} <= 15}${color1}Bat${color}${else}Bat${endif}${font}
    ${voffset -15}${goto 65}${battery_percent}%
    ${voffset 20}${goto 25}${font DIST Inking:size=36}${if_match ${cpu} >= 90}${color1}Cpu${color}${else}Cpu${endif}${font}
    ${voffset -15}${goto 65}${cpu}%
    ${voffset 20}${goto 25}${font DIST Inking:size=36}${if_match ${memperc} >= 85}${color1}Ram${color}${else}Ram${endif}${font}
    ${voffset -15}${goto 65}${memperc}%
    ${voffset 50}${goto 29}${color AFAEA6}${diskiograph 20,70}${color}
    ${voffset -40}${goto 25}${font DIST Inking:size=36}I/O${font}
    ${voffset -15}${goto 65}${diskio}
    ${voffset 100}${goto 25}${font DIST Inking:size=36}Mail${font}
    ${voffset -15}${goto 65}${if_existing /proc/net/route eth0}${texeci 120 python ~/scripts/gmail.py}${else}X${endif}
    my lua
    Code:
    --[[
    Clock Rings by londonali1010 (2009) , mod by arpinux
    
    This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
    
    IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
    
    To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
    	lua_load ~/scripts/clock_rings.lua
    	lua_draw_hook_pre clock_rings
    	
    Changelog:
    + v1.0 -- Original release (30.09.2009)
    ]]
    
    settings_table = {
    	{
    		name='time',
    		arg='%S',
    		max=60,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=50, y=-40,
    		radius=120,
    		thickness=4,
    		start_angle=130,
    		end_angle=200
    	},
    	{
    		name='battery_percent',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=290,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    	{
    		name='cpu',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=370,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    	{
    		name='memperc',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=450,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    }
    
    
    require 'cairo'
    
    function rgb_to_r_g_b(colour,alpha)
        return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    
    function draw_ring(cr,t,pt)
        local w,h=conky_window.width,conky_window.height
        
        local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
        local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
    
        local angle_0=sa*(2*math.pi/360)-math.pi/2
        local angle_f=ea*(2*math.pi/360)-math.pi/2
        local t_arc=t*(angle_f-angle_0)
    
        -- Draw background ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
        cairo_set_line_width(cr,ring_w)
        cairo_stroke(cr)
        
        -- Draw indicator ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
        cairo_stroke(cr)        
    end
    
    function conky_clock_rings()
        local function setup_rings(cr,pt)
            local str=''
            local value=0
            
            str=string.format('${%s %s}',pt['name'],pt['arg'])
            str=conky_parse(str)
            
            value=tonumber(str)
            pct=value/pt['max']
            
            draw_ring(cr,pct,pt)
        end
        
        -- Check that Conky has been running for at least 5s
    
        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 cr=cairo_create(cs)    
        
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
        
        if update_num>5 then
            for i in pairs(settings_table) do
                setup_rings(cr,settings_table[i])
            end
        end
    end
    thanks you guys and gals you rock
    -ASUS U46: Intel Core I5(Sandy Bridge) 8 gb Ram, Integrated Graphics card. Currently running Ubuntu 13.04(64bit)

  5. #12285
    Join Date
    Mar 2008
    Location
    Normal, IL
    Beans
    505
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    I found this awesom conky and im trying to make it work.
    however everytime i click on my desktop. the conky disappears.
    also i would like to get rid of the border

    im getting the following error in my term
    Code:
    Conky: X Error: type 0 Display 7da360 XID 69206017 serial 1322 error_code 9 request_code 62 minor_code 0 other Display: 7da360
    my conkyrc...
    Code:
    # — Conky settings — #
    background yes
    update_interval 1
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    override_utf8_locale yes
    
    double_buffer yes
    no_buffers yes
    
    text_buffer_size 800
    imlib_cache_size 0
    
    # — Window specifications — #
    
    own_window yes
    own_window_type desktop
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
    border_inner_margin 0
    border_outer_margin 0
    
    minimum_size 200 700
    maximum_width 200
    
    alignment tl
    gap_x 2
    gap_y 30
    
    # — Graphics settings — #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    # — Text settings — #
    use_xft yes
    xftfont DIST Inking:size=26
    xftalpha 0.2
    
    uppercase no
    
    default_color 3E3E3E
    color1 D23000
    
    # — Lua Load — #
    lua_load ~/Scripts/brush_rings.lua
    lua_draw_hook_pre clock_rings
    
    TEXT
    ${voffset}${goto 25}${font DIST Inking:size=56}${time %I}${font}
    ${voffset -35}${goto 65}${time %M}
    ${voffset 200}${goto 25}${font DIST Inking:size=36}${if_match ${battery_percent} <= 15}${color1}Bat${color}${else}Bat${endif}${font}
    ${voffset -15}${goto 65}${battery_percent}%
    ${voffset 20}${goto 25}${font DIST Inking:size=36}${if_match ${cpu} >= 90}${color1}Cpu${color}${else}Cpu${endif}${font}
    ${voffset -15}${goto 65}${cpu}%
    ${voffset 20}${goto 25}${font DIST Inking:size=36}${if_match ${memperc} >= 85}${color1}Ram${color}${else}Ram${endif}${font}
    ${voffset -15}${goto 65}${memperc}%
    ${voffset 50}${goto 29}${color AFAEA6}${diskiograph 20,70}${color}
    ${voffset -40}${goto 25}${font DIST Inking:size=36}I/O${font}
    ${voffset -15}${goto 65}${diskio}
    ${voffset 100}${goto 25}${font DIST Inking:size=36}Mail${font}
    ${voffset -15}${goto 65}${if_existing /proc/net/route eth0}${texeci 120 python ~/scripts/gmail.py}${else}X${endif}
    my lua
    Code:
    --[[
    Clock Rings by londonali1010 (2009) , mod by arpinux
    
    This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
    
    IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
    
    To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
    	lua_load ~/scripts/clock_rings.lua
    	lua_draw_hook_pre clock_rings
    	
    Changelog:
    + v1.0 -- Original release (30.09.2009)
    ]]
    
    settings_table = {
    	{
    		name='time',
    		arg='%S',
    		max=60,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=50, y=-40,
    		radius=120,
    		thickness=4,
    		start_angle=130,
    		end_angle=200
    	},
    	{
    		name='battery_percent',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=290,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    	{
    		name='cpu',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=370,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    	{
    		name='memperc',
    		arg='',
    		max=100,
    		bg_colour=0x000000,
    		bg_alpha=0.4,
    		fg_colour=0xffffff,
    		fg_alpha=0.5,
    		x=40, y=450,
    		radius=30,
    		thickness=4,
    		start_angle=130,
    		end_angle=350
    	},
    }
    
    
    require 'cairo'
    
    function rgb_to_r_g_b(colour,alpha)
        return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    
    function draw_ring(cr,t,pt)
        local w,h=conky_window.width,conky_window.height
        
        local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
        local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
    
        local angle_0=sa*(2*math.pi/360)-math.pi/2
        local angle_f=ea*(2*math.pi/360)-math.pi/2
        local t_arc=t*(angle_f-angle_0)
    
        -- Draw background ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
        cairo_set_line_width(cr,ring_w)
        cairo_stroke(cr)
        
        -- Draw indicator ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
        cairo_stroke(cr)        
    end
    
    function conky_clock_rings()
        local function setup_rings(cr,pt)
            local str=''
            local value=0
            
            str=string.format('${%s %s}',pt['name'],pt['arg'])
            str=conky_parse(str)
            
            value=tonumber(str)
            pct=value/pt['max']
            
            draw_ring(cr,pct,pt)
        end
        
        -- Check that Conky has been running for at least 5s
    
        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 cr=cairo_create(cs)    
        
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
        
        if update_num>5 then
            for i in pairs(settings_table) do
                setup_rings(cr,settings_table[i])
            end
        end
    end
    thanks you guys and gals you rock
    Attached Images Attached Images
    -ASUS U46: Intel Core I5(Sandy Bridge) 8 gb Ram, Integrated Graphics card. Currently running Ubuntu 13.04(64bit)

  6. #12286
    Join Date
    Oct 2009
    Location
    Kitimat B.C. Canada
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Thank you, everyone in the linux world... You guys are awesome!!!

    I've been at this linux (Ubuntu) thing for about 6 months and without all of you, my desktop wouldn't look or function this good!!!

    I'm posting my conky file, which is fairly simple, but is a great starting point for anyone.

    I'm also posting a pic of my conky itself along with a pic of my desktop, which contains a wallpaper I've been working on for a little while. I hope you all like it.

    Thanks a tonne everyone. Kirby
    Attached Images Attached Images
    Attached Files Attached Files
    We need to identify the sociopaths and psychotics in our society & remove them from their positions of power & influence over Humanity's evolution! Then we need to prevent these sick people from ever again having such lopsided powers over us. Me

  7. #12287
    Join Date
    Dec 2009
    Location
    San Diego
    Beans
    26
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    After a bit of work using code posted in this forum I have conky working to my satisfaction. My system is a Dell Latitude D820 laptop running Ubuntu server 9.10 with Ubuntu desktop and Compiz-Fusion installed.

    Here is how to make it work:
    1. To make Compiz-Fusion happy create a script to load conky on a delay.

    1A. Go to your /home/username and create .conky_start.sh with vi as such:
    Code:
    #! /bin/bash
    sleep 10 && conky;
    1B. Make it executable as such:
    Code:
    chmod 777 .conky_start.sh
    2. Make .conky_start.sh run at start up with:
    System->Preferences->Startup Applications

    3. Make a .conkyrc file in /home/username with vi with the following code:
    [see attached]
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by focaccio; March 25th, 2010 at 06:21 AM. Reason: add attachments

  8. #12288
    Join Date
    Nov 2008
    Location
    Nashville, Tn
    Beans
    137
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by miegiel View Post
    I suspect conky flashes because the window resizes. Maybe the empty playlist isn't the same size as a filled playlist and makes the whole conky window resize. Tweaking the values for minimum_size x y and maximum_width x (above the TEXT line) might help.
    ok, so i resized and fixed the window size, and the problem persist. but, after playing with the voffsets some more, i have narrowed down the culprit. i suspect that the voffsets in the text section that fall under &{if for 'play' and 'pause' draw the info different from what is displayed in either/or the ${if section for 'stopped' and the ${else section at the end. but i have no clue how i can fix it. ive been playing with the numbers for awhile now with no luck, any ideas?

  9. #12289
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Dawei87 View Post
    ok, so i resized and fixed the window size, and the problem persist. but, after playing with the voffsets some more, i have narrowed down the culprit. i suspect that the voffsets in the text section that fall under &{if for 'play' and 'pause' draw the info different from what is displayed in either/or the ${if section for 'stopped' and the ${else section at the end. but i have no clue how i can fix it. ive been playing with the numbers for awhile now with no luck, any ideas?
    No, but if you post your scripts someone might.

  10. #12290
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dmillerct View Post
    I can understand that. Hey, at least your working.
    Too true, had to wait 2 months for 6 weeks work though. I am hoping with the new financial year there will be more work when I start looking again...

Page 1229 of 2328 FirstFirst ... 2297291129117912191227122812291230123112391279132917292229 ... 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
  •