Page 1974 of 2348 FirstFirst ... 974147418741924196419721973197419751976198420242074 ... LastLast
Results 19,731 to 19,740 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #19731
    Join Date
    Mar 2009
    Location
    Singapore
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Actually I've found that just using this command is the easiest way to reboot Conky:

    Code:
    sudo killall -SIGUSR1 conky
    And if need be, you can just bind that to a key somewhere. Then it's one button and it reboots Conky, no matter how many you have.
    Nice! Live and learn, eh? There's no mention of that in the man killall pages.

    It works for me without the sudo also.

  2. #19732
    Join Date
    Nov 2008
    Location
    #!
    Beans
    1,749

    Re: Post your .conkyrc files w/ screenshots

    Kaivalagi Script Love...

    In the Conky, Music & Cover Art - 2 Methods for 18 Music Apps from my sig line, kaivalagi's scripts power all of them on one side of the setups. His work and dedication to them have been incredible and at any time if anyone has a question, he is there to help..

    Thank you kaivalagi for your scripts, help and support.. I for one intend to keep them relevant for a long time

    CrunchBang Sid
    Xfce 4.8
    Conky x2
    Tint2 x3
    GMusicBrowser - Pink Floyd - High Hopes
    St Andrews GC hole # 18


  3. #19733
    Join Date
    Jun 2005
    Location
    Buenavista, ADN, Phils
    Beans
    285

    Re: Post your .conkyrc files w/ screenshots

    Conky forcast quit working for me. Sadly someone must have ticked off TeoBG as he went off to the Arch forums. I am using his scripts to pull data from Accuweathers' webpages. Which works well enough and surely can be changed or re written to be used with other websites to gather data and redisplay it.

    @ Mr. Peachy,
    I want to spice up my Conky some more and get into LUA + Cairo. Thought I would start with my CPU uage display. Do you got any suggestions. I visit your blog page often but didnt notice anything that seemed like it would fit. Guess I should figure out what I want before trying to design it.. hehe

    Here is my current desktop using Conky if you have any suggestions. I was thinking of something blended between a sports car and startrekish.
    Attached Images Attached Images
    Mac Mini: OSX 10.9 Mavericks, i7-3720QM 2.6Ghz, 16GB RAM, 1.25TB Fusion Array, Intel HD4000 iGPU
    Photo Blog on Youtube: www.youtube.com/user/ExodistPhotoBlog
    Linux User: 380654

  4. #19734
    Join Date
    Apr 2012
    Beans
    17

    Re: Post your .conkyrc files w/ screenshots

    My first attempt at conky.
    Attached Images Attached Images

  5. #19735
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by tgwaste View Post
    My first attempt at conky.
    You're kidding right? This is really your 10th or 15th conky right.
    Very nicely done.

    If I may make one suggestion ... to line up your "top" PID CPU & MEM outputs. Take a look here, as I said, just a suggestion. Also this post by RichardCain

    For a first or 31st conky for that matter that is excellent work.
    Last edited by Sector11; May 11th, 2012 at 01:47 AM.

  6. #19736
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    @ Mr. Peachy,
    I want to spice up my Conky some more and get into LUA + Cairo. Thought I would start with my CPU uage display. Do you got any suggestions. I visit your blog page often but didnt notice anything that seemed like it would fit. Guess I should figure out what I want before trying to design it.. hehe
    QUOTE]
    hmm... well there are:

    vertical bars
    horizontal bars
    isometric bars
    circles
    curves
    pies
    bar graphs
    line graphs
    gages
    dials
    blobs

    with shading or without, with color change or without

    and ive probably fogotten a dozen other ways i have used lua/cairo to represent cpu readings

    if you have an idea let me know!

  7. #19737
    Join Date
    Jun 2005
    Location
    Buenavista, ADN, Phils
    Beans
    285

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    ................

    vertical bars
    horizontal bars
    isometric bars
    circles
    curves
    pies
    bar graphs
    line graphs
    gages
    dials
    blobs

    with shading or without, with color change or without

    and ive probably fogotten a dozen other ways i have used lua/cairo to represent cpu readings

    if you have an idea let me know!
    I feel like a kid in a candy store..
    Let me draw something up and get back to you in a few hours or so if your still around.


    EDIT:

    Something more like this, with a darker color under showing the path, brighter cooler fading in for 100%.
    Attached Images Attached Images
    Last edited by Bandit; May 11th, 2012 at 02:30 AM.
    Mac Mini: OSX 10.9 Mavericks, i7-3720QM 2.6Ghz, 16GB RAM, 1.25TB Fusion Array, Intel HD4000 iGPU
    Photo Blog on Youtube: www.youtube.com/user/ExodistPhotoBlog
    Linux User: 380654

  8. #19738
    Join Date
    Sep 2007
    Location
    house
    Beans
    79
    Distro
    Lubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Fooling around with lua bars




    .concyrc
    Code:
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0 or 1.8.1
    #  conkyForecast 2.16 or newer
    #  Weather.com XML Data Feed (XOAP)
    #  UTF-8 Compatible Text Editor
    #  gcal (available from repositories)
    
    ####
    ## Installed fonts (required)
    #  (list has been modified)
    #  Sans (almost certainly installed)
    #  OpenLogos
    #  ConkyWeather (Stanko Metodiev)
    #  ConkyWindNESW (Stanko Metodiev)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma) not required in this version
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Weather (Jonathan Macagba)
    #  formintElegance
    #  http://www.box.net/shared/a2tz2o9444 this one for mint heading
    #
    ## Tips n' Tricks from Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## All necessary fonts can be found here: http://ompldr.org/vODYxOQ
    ##  NOTE this archive contains additional fonts for the original version
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont Sans:size=10
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for text, single lines, output from $exec, and other variables.
    ## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
    ## Decreasing the size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    #
    text_buffer_size 384
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2
    
    ####
    ## 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_type override
    own_window_transparent no
    own_window_colour 003366
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 0
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades no
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders yes
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of text area.
    #
    minimum_size 1050 100
    maximum_width 260
    ####
    ## Gap between text and screen borders.
    #
    gap_x 1400
    gap_y 40
    
    ####
    ## 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 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 6
    
    ####
    ## 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
    
    ####
    ## Colors
    #
    color1 Grey        ##icons
    color2 Ivory       ##text
    color3 DarkGrey    ##divider lines
    color4 Orange        ##headings
    color5 bfff80
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load /home/bill/.lua/test.lua
    lua_draw_hook_pre draw_lua
    
    
    TEXT
    ${voffset 3}${font OpenLogos:size=42}${color2}J${font}${voffset -3}${font Sans:size=18}${color4}Crunchbang Statler${font}
    
    ${font Sans:bold:size=8.25}${color4}SYSTEM  ${color3}${hr 2}
    ${voffset 4}${font Stylebats:size=10}${color1}j${voffset -1}${font}${color2} ${sysname} ${kernel}${alignr}${machine}
    ${font StyleBats:size=10}${color1}q${voffset -1}${font}${color2} System Uptime${alignr}${uptime_short}
    ${font StyleBats:size=10}${color1}o${voffset -1}${font}${color2} File System${alignr}${fs_type}
    ${voffset 4}${font Sans:bold:size=8}${color4}PROCESSORS  ${color3}${hr 2}
    
    ${goto 22}CPU 1${goto 80}CPU 2${goto 150}CPU 3${goto 220}CPU 4
    ${voffset 145}${font StyleBats:size=10}${color1}k${voffset -1}${font}${color2}${goto 20}${cpu cpu1}% ${font}${color2}${goto 85}${cpu cpu2}% ${font}${color2}${goto 156}${cpu cpu3}% ${font}${color2}${goto 230}${cpu cpu4}%
    ${font StyleBats:size=10}${color1}k${voffset -1}${font}${color2} ${freq_g 1} GHz  ${freq_g 2} GHz  ${freq_g 3} GHz  ${freq_g 4} GHz
    ${voffset 8}${font Sans:bold:size=8.25}${color4}MEMORY  ${color3}${hr 2}
    ${voffset 4}${font StyleBats:size=10}${color1}l${voffset -2}${font}${color2} RAM${goto 97}${mem}${goto 133}/ ${memmax}${alignr}${memperc}% Used
    
    ${font Sans:bold:size=8.25}${color4}HDD  ${color3}${hr 2}${font}
    ${voffset 4}${font StyleBats:size=10}${color1}x${font}${color2} ROOT${goto 95}${fs_used /}${goto 133}/ ${fs_size /}${alignr}${fs_free_perc /}% Free
    
    ${font StyleBats:size=10}${color1}x${font}${color2} HOME${goto 95}${fs_used /home}${goto 133}/ ${fs_size /home}${alignr}${fs_free_perc /home}% Free
    
    ${font Sans:bold:size=8.25}${color4}TOP PROCESSES  ${color3}${hr 2}${font}
    ${voffset 4}${font StyleBats:size=10}${color1}l${voffset -1}${font}${color4} RAM${goto 155}${font StyleBats:size=10}${color1}k${voffset -1}${font}${color4} CPU
    ${voffset 4}${color2}${top_mem name 1}${goto 60}${top_mem mem_res 1}${goto 100}${top_mem mem 1}%${goto 155}${top name 1}${goto 210}${top cpu 1}%
    ${top_mem name 2}${goto 60}${top_mem mem_res 2}${goto 100}${top_mem mem 2}%${goto 155}${top name 2}${goto 210}${top cpu 2}%
    ${top_mem name 3}${goto 60}${top_mem mem_res 3}${goto 100}${top_mem mem 3}%${goto 155}${top name 3}${goto 210}${top cpu 3}%
    ${voffset 4}${font Sans:bold:size=8.25}${color4}NETWORK  ${color3}${hr 2}${font}
    ${voffset 4}${color2}Public IP${alignr}${execi 1800 curl ifconfig.me}
    Private IP${alignr}${addr eth0}${goto 150}
    ${font PizzaDude Bullets:size=9.5}${color1}U${font}${color2} Download${goto 103}${totaldown eth0}${goto 150}${font PizzaDudeBullets:size=9.5}${color1}T${font}${color2} Down${alignr}${downspeed eth0}
    ${font PizzaDudeBullets:size=9.5}${color1}O${font}${color2} Upload${goto 100}${totalup eth0}${goto 150}${font PizzaDudeBullets:size=9.5}${color1}N${font}${color2} Up${alignr}${upspeed eth0}
    ${font Sans:bold:size=8.25}${color4}UPDATES  ${color3}${hr 2}${font}
    ${color6}Security updates: ${goto 170}${execi 600 /usr/lib/update-notifier/apt-check 2>&1 |cut -d ';' -f 1}
    Normal updates: ${goto 170}${execi 600 /usr/lib/update-notifier/apt-check 2>&1 |cut -d ';' -f 2}${color}
    test.lua
    Code:
    --[[ this script combines the background drawing lua (originally by londonali1010, modified by VinDSL)
    with a script that emulates only the gradient bars portion of the script by wlourf
    call in conkyrc above TEXT like so
    lua_load /path to file/filename.lua
    lua_draw_hook_pre draw_lua
    ]]
    require 'cairo'
    function conky_draw_lua()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>5 then
    --#########################################################################################################
    --#########################################################################################################
    --background setup -- make sure this comes first-----------
    settings={--CONKY BACKGROUND
    corner_r=50,--corner radius
    bg_color={0x222222,0.9},--color and alpha inside {}
    bg_height=-42,--negative number reduces height of bg
    w=conky_window.width,
    h=conky_window.height,
    };background(settings)
    --end background setup-------------------------------------
    --Line 1 settings
    local a_arg=conky_parse('${cpu}')
    local a_thick=10
    local a_red=0
    local a_green=0
    local a_blue=0
    local a_alpha=1
    local a_start=10
    --line 1 settings end  
    local a_num=tonumber(a_arg)
    --line 1 background
    
    --line 1 title
    cairo_rotate (cr,0*math.pi/180)
    cairo_show_text (cr, "CPU");
    cairo_rotate (cr, -90*math.pi/180)
    
    bar_adjust=-2
    
    --bar setup------------------------------------------------
    settings={--CPU GRAPH CPU1
    number=tonumber(conky_parse("${cpu cpu1}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=-300,--x coordinate
    bar_starty=25+bar_adjust,--y coordinate
    divisions=38,--number of blocks
    div_width=2,--horizontal size
    div_height=25,--vertical size
    div_gap=1,--space between bits
    bg_color={0xFFFFFF,0.25},--background color, color and alpha inside {}
    st_color={0x00FF00,1},--start color for gradient, green
    mid_color={0xFFFF00,1},--middle color for gradient, yellow
    end_color={0xFF0000,1},--end color for gradient
    };bars(settings)
    settings={--CPU GRAPH CPU1
    number=tonumber(conky_parse("${cpu cpu2}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=-300,--x coordinate
    bar_starty=90+bar_adjust,--y coordinate
    divisions=38,--number of blocks
    div_width=2,--horizontal size
    div_height=25,--vertical size
    div_gap=1,--space between bits
    bg_color={0xFFFFFF,0.25},--background color, color and alpha inside {}
    st_color={0x00FF00,1},--start color for gradient, green
    mid_color={0xFFFF00,1},--middle color for gradient, yellow
    end_color={0xFF0000,1},--end color for gradient
    };bars(settings)
    settings={--CPU GRAPH CPU1
    number=tonumber(conky_parse("${cpu cpu3}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=-300,--x coordinate
    bar_starty=160+bar_adjust,--y coordinate
    divisions=38,--number of blocks
    div_width=2,--horizontal size
    div_height=25,--vertical size
    div_gap=1,--space between bits
    bg_color={0xFFFFFF,0.25},--background color, color and alpha inside {}
    st_color={0x00FF00,1},--start color for gradient, green
    mid_color={0xFFFF00,1},--middle color for gradient, yellow
    end_color={0xFF0000,1},--end color for gradient
    };bars(settings)
    settings={--CPU GRAPH CPU1
    number=tonumber(conky_parse("${cpu cpu4}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=-300,--x coordinate
    bar_starty=225+bar_adjust,--y coordinate
    divisions=38,--number of blocks
    div_width=2,--horizontal size
    div_height=25,--vertical size
    div_gap=1,--space between bits
    bg_color={0xFFFFFF,0.25},--background color, color and alpha inside {}
    st_color={0x00FF00,1},--start color for gradient, green
    mid_color={0xFFFF00,1},--middle color for gradient, yellow
    end_color={0xFF0000,1},--end color for gradient
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --#########################################################################################################
    --#########################################################################################################
    end-- if updates>5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    function rgb_to_r_g_b(col_a)
    return ((col_a[1] / 0x10000) % 0x100) / 255., ((col_a[1] / 0x100) % 0x100) / 255., (col_a[1] % 0x100) / 255., col_a[2]
    end
    function bars(t)
    local bar_startx=t.bar_startx
    local bar_starty=t.bar_starty
    local divisions=t.divisions
    local div_width=t.div_width
    local div_height=t.div_height
    local div_gap=t.div_gap
    local br,bg,bb,ba=rgb_to_r_g_b(t.bg_color)
    local sr,sg,sb,sa=rgb_to_r_g_b(t.st_color)
    local mr,mg,mb,ma=rgb_to_r_g_b(t.mid_color)
    local er,eg,eb,ea=rgb_to_r_g_b(t.end_color)
    if t.number==nil then number=0 else number=t.number end
    local number_max=t.number_max
    local number_divs=(number/number_max)*divisions
    cairo_set_line_width (cr,div_width)
    for i=1,divisions do
    if i<(divisions/2) and i<=number_divs then
    colr=((mr-sr)*(i/(divisions/2)))+sr
    colg=((mg-sg)*(i/(divisions/2)))+sg
    colb=((mb-sb)*(i/(divisions/2)))+sb
    cola=((ma-sa)*(i/(divisions/2)))+sa
    elseif i>=(divisions/2) and i<=number_divs then
    colr=((er-mr)*((i-(divisions/2))/(divisions/2)))+mr
    colg=((eg-mg)*((i-(divisions/2))/(divisions/2)))+mg
    colb=((eb-mb)*((i-(divisions/2))/(divisions/2)))+mb
    cola=((ea-ma)*((i-(divisions/2))/(divisions/2)))+ma
    else
    colr=br
    colg=bg
    colb=bb
    cola=ba
    end
    cairo_set_source_rgba (cr,colr,colg,colb,cola)
    cairo_move_to (cr,bar_startx+((div_width+div_gap)*i-1),bar_starty)
    cairo_rel_line_to (cr,0,div_height)
    cairo_stroke (cr)
    end
    end--function bars
    function background(t)
    local corner_r=t.corner_r
    local br,bg,bb,ba=rgb_to_r_g_b(t.bg_color)
    local v=t.bg_height
    local h=t.h
    local w=t.w
    cairo_move_to(cr,corner_r,0)
    cairo_line_to(cr,w-corner_r,0)
    cairo_curve_to(cr,w,0,w,0,w,corner_r)
    cairo_line_to(cr,w,h+v-corner_r)
    cairo_curve_to(cr,w,h+v,w,h+v,w-corner_r,h+v)
    cairo_line_to(cr,corner_r,h+v)
    cairo_curve_to(cr,0,h+v,0,h+v,0,h+v-corner_r)
    cairo_line_to(cr,0,corner_r)
    cairo_curve_to(cr,0,0,0,0,corner_r,0)
    cairo_close_path(cr)
    cairo_set_source_rgba(cr,br,bg,bb,ba)
    cairo_fill(cr)
    end--function background
    Last edited by bartos; May 17th, 2012 at 01:39 PM.
    Geek by nature, Linux by choice

  9. #19739
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bartos View Post
    Fooling around with lua bars


    I need to mess with lua some more. All I got with it lately was a simple calendar.
    Those bars look good!
    Last edited by mobilediesel; May 11th, 2012 at 03:20 AM. Reason: helping the thread back on track.

  10. #19740
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bartos View Post
    Fooling around with lua bars
    I like it - can I keep it?


    Please!!!!

Page 1974 of 2348 FirstFirst ... 974147418741924196419721973197419751976198420242074 ... 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
  •