Page 2182 of 2284 FirstFirst ... 1182168220822132217221802181218221832184219222322282 ... LastLast
Results 21,811 to 21,820 of 22835

Thread: Post your .conkyrc files w/ screenshots

  1. #21811
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots



    I just updated to Ubuntu 13.04, conky 1.9.0. What happened to the lower boundary of the upspeed/downspeed graph box? It used to be like this:



    I haven't changed any config settings.

  2. #21812
    Join Date
    Apr 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    I have found and programmed 2 different conky config files and not one of them I am able to get the transparency to the background to work correctly. I have found
    Code:
    own_window_argb_visual yes
    forces into transparency mode but this cause a problem with weather icons I use.

    My Main conkyrc file I will like to use:
    Code:
    # Conky Google Now style #
    
    # Conky settings #
    background no
    update_interval 1
    double_buffer yes
    no_buffers yes
    
    # Window specifications #
    own_window yes
    own_window_class Conky
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_title conly
    own_window_colour FFFFFF
    own_window_argb_visual yes
    own_window_argb_value 255
    
    minimum_size 250
    
    # Alignment #
    alignment tr
    gap_x 300
    gap_y 100
    
    border_inner_margin 15
    border_outer_margin 0
    
    # Graphics settings #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    # Text settings #
    use_xft yes
    xftalpha 0
    xftfont Open Sans Light:size=10
    
    override_utf8_locale yes
    
    imlib_cache_size 0
    
    # Color scheme #
    default_color white
    
    color1 0099CC
    color2 9933CC
    color3 669900
    color4 FF8800
    color5 CC0000
    color6 AAAAAA
    color7 DDDDDD
    
    TEXT
    ${color}${font Open Sans Light:size=21}${time %A,}${color1}${color}${time %T}
    ${font size=15}${color}${time %B %e, %G}
    ${color7}${hr}${color}
    ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=12753245&u=c" -o ~/.cache/weather2.xml}#${font Open Sans Light:size=9}${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "city=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}, ${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "country=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}
    ${execi 300 curl -s "http://www.accuweather.com/en/za/johannesburg/305448/current-weather/305448" -o ~/.cache/weather.xml}${font Open Sans Light:size=9}${execi 300 grep "acm_RecentLocationsCarousel.push" ~/.cache/weather.xml | grep 305448 | grep -o "name:'[^\']*'" |grep -o "'[^\']*'" | grep -o "[^\']*"}
    #${font Open Sans Light:size=45}${alignr}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}
    ${font Open Sans Light:size=45}${alignr}${execi 300 grep "acm_RecentLocationsCarousel.push" ~/.cache/weather.xml | grep 305448 | grep -o "temp:'[^\']*'" | grep -o "'[^\']*'" | grep -o "[^\']*"}°${font}
    ${execi 300 wget -c -P web/ http://vortex.accuweather.com/adc2010/images/icons-numbered/$(grep "acm_RecentLocationsCarousel.push" ~/.cache/weather.xml | grep 305448 |grep -o "icon:'[^\']*'" | grep "'[^\']*'" | grep -o "[0-9][0-9]\-m.png")}
    ${execi 300 cp -f ~/web/$(grep "acm_RecentLocationsCarousel.push" ~/.cache/weather.xml | grep 305448 |grep -o "icon:'[^\']*'" | grep "'[^\']*'" | grep -o "[0-9][0-9]\-m.png") ~/.cache/weather.png}${image ~/.cache/weather.png -p 0,115 -s 90x60}
         ${execi 300 grep "acm_RecentLocationsCarousel.push" ~/.cache/weather.xml | grep 305448 | grep -o "text:'[^\']*'" | grep -o "'[^\']*'" | grep -o "[^\']*"}
         ${color6}${execi 300 grep -o "s = '[^\']*'" ~/.cache/weather.xml | grep -o "'[^\']*'" | grep -o "[^\']*"}
    ${color6}${execi 300}
    ${color}${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | head -n1}  ${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | head -n1}° ${color6}${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | head -n1}°${color}${alignr}${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tail -n1}  ${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tail -n1}° ${color6}${execi 300 grep "yweather:forecast" ~/.cache/weather2.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tail -n1}°${color}${voffset 1}
    #CPU: ${cpu cpu 1}% ${alignr}${cpubar 8,60 cpu 1}
    #CPU: ${cpu cpu 2}% ${alignr}${cpubar 8,60 cpu 2}
    #CPU: ${cpu cpu 3}% ${alignr}${cpubar 8,60 cpu 3}
    #CPU: ${cpu cpu 4}% ${alignr}${cpubar 8,60 cpu 4}
    #CPU: ${cpu cpu 5}% ${alignr}${cpubar 8,60 cpu 5}
    #CPU: ${cpu cpu 6}% ${alignr}${cpubar 8,60 cpu 6}
    Uptime: ${alignr}${uptime_short}
    Kernel: ${alignr}${kernel}
    Disk Used: ${alignr}${fs_used} of ${fs_size}
    ${color7}${hr}${color}
    
    ${color5}$memperc%${color} of RAM is currently in use
    ${color2}${cpu cpu}%${color} of CPU is currently in use
    ${if_existing /proc/net/route wlan1}
    ${color1}Up:${color} ${color3}${upspeed wlan1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed wlan1}${color}
    ${upspeedgraph wlan1 50,120 FF8800 FF8800}${alignr}${downspeedgraph wlan1 50,120 FF8800 FF8800}
    ${color1}Sent:${color} ${color2}${totalup wlan1}${color}${alignr}${color1}Received:${color} ${color2}${totaldown wlan1}${color}
    ${else}${if_existing /proc/net/route eth0}
    ${color1}Down:${color} ${color3}${downspeed eth0}${color}${alignr}${color1}Up:${color} ${color3}${upspeed eth0}${color}
    ${upspeedgraph eth0 50,120 FF8800 FF8800}${alignr}${downspeedgraph eth0 50,120 FF8800 FF8800}
    ${color1}Received:${color} ${color2}${totaldown eth0}${color}${alignr}${color1}Sent:${color} ${color2}${totalup eth0}${color}
    ${else}${if_existing /proc/net/route eth1}
    ${color1}Up:${color} ${color3}${upspeed eth1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed eth1}${color}
    ${upspeedgraph eth1 50,120 FF8800 FF8800}${alignr}${downspeedgraph eth1 50,120 FF8800 FF8800}
    ${color1}Sent:${color} ${color2}${totalup eth1}${color}
    ${alignr}${color1}Received:${color} 
    ${color2}${totaldown eth1}${color}
    ${else}${if_existing /proc/net/route ppp0}
    ${color1}Up:${color} ${color3}${upspeed ppp0}${color}${alignr}${color1}Down:${color} ${color3}${downspeed ppp0}${color}
    ${upspeedgraph ppp0 50,120 FF8800 FF8800}${alignr}${downspeedgraph ppp0 50,120 FF8800 FF8800}
    ${color1}Sent:${color} ${color2}${totalup ppp0}${color}${alignr}${color1}Received:${color} ${color2}${totaldown ppp0}${color}
    ${else}
    Network disconnected
    ${color6}Connect to a network to see statistics${color}
    ${voffset 50}
    ${endif}${endif}${endif}${endif}${voffset -15}
    Another one I am having the same problem with:
    Code:
    # Conky settings #
    background no
    update_interval 1
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    override_utf8_locale yes
    
    double_buffer yes
    no_buffers yes
    
    text_buffer_size 2048
    #imlib_cache_size 0
    
    temperature_unit fahrenheit
    
    # Window specifications #
    
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    own_window_argb_visual yes
    own_window_argb_value 0
    
    border_inner_margin 0
    border_outer_margin 0
    
    minimum_size 200 250
    maximum_width 200
    
    alignment tr
    gap_x 35
    gap_y 55
    
    # Graphics settings #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    # Text settings #
    use_xft yes
    xftfont caviar dreams:size=8
    xftalpha 0.5
    
    uppercase no
    
    temperature_unit celsius
    
    
    default_color FFFFFF
    
    # Lua Load  #
    lua_load ~/.conky/clock_rings.lua
    lua_draw_hook_pre clock_rings
    
    TEXT
    ${voffset 8}${color FF6600}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
    ${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color FF6600}${hr}
    ${voffset 140}${font caviar dreams:size=10}${alignr}HOME${font}
    ${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ FAJS temperature temperature 30} °C${font}
    ${image ~/.conky/new-ubuntu-logo.png -p 64,125 -s 70x20}
    
    ${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%
    ${color FF6600}${goto 25}CPU
    ${color FFFFFF}${goto 50}${voffset 23}${memperc}%
    ${color FF6600}${goto 50}RAM
    ${color FFFFFF}${goto 75}${voffset 23}${swapperc}%
    ${color FF6600}${goto 75}Swap
    ${color FFFFFF}${goto 100}${voffset 23}${fs_used_perc /}%
    ${color FF6600}${goto 100}Disk
    ${color FFFFFF}${goto 125}${voffset 25}${downspeed wlan1}
    ${color FFFFFF}${goto 125}${upspeed wlan1}
    ${color FF6600}${goto 125}Net
    
    
    
    ${color FFFFFF}${font caviar dreams:size=8}Uptime: ${uptime_short}
    ${color FFFFFF}${font caviar dreams:size=8}Processes: ${processes}
    ${color FFFFFF}${font caviar dreams:size=8}Running: ${running_processes}
    
    
    ${color FF6600}${font caviar dreams:size=8}${alignr}${nodename}
    ${color FF6600}${font caviar dreams:size=8}${alignr}${pre_exec cat /etc/issue.net}  $machine
    ${color FF6600}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}
    Its very helpfull

  3. #21813
    Join Date
    Apr 2013
    Beans
    1

    Re: Post your .conkyrc files w/ screenshots

    Relatively new to Linux. My first try at Conky. Nothing fancy, no personal elements nor non-system related things (e.g. calendar).

    I used to have Psensor and Ksysguard open in separate workspaces, but having both of them open at all times usually put about 2-3% load on my CPU. I've configured my Conky to display all of the information Psensor and Ksysguard displays and then some, save for the history graphs. Conky never reaches higher than 0.50% CPU usage.

    Any ideas as to what other pretentious computer stats I'm missing are welcome! Maybe I can add Desktop Environment and Window Manager? I dunno.

    conky.conf: http://pastebin.com/ei0aq6V7
    Attached Images Attached Images

  4. #21814
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    49
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    It's me again,
    This is on a different computer that a friend gave me. I was going for something a little more simple, and I succeeded (somewhat).
    I gave it more of a monochrome (crunchbangish) look using Elegant-AwOken Icons. I kind of like it.
    It's the same conky that's on the other computer, only modified, and the lua script still needs a lot of work, but here it is.

    my_info_lua_rc:
    Code:
    #Mostly copied and pasted by stylintile
    ##############################################
    #  Settings
    ##############################################
    max_specials 10000
    max_user_text 1500000
    background no
    use_xft yes
    #xftfont Sans:size=12
    #xftalpha 1
    font Ubuntu Mono:size=10
    total_run_times 0
    own_window yes
    own_window_argb_visual yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 1920 1080
    maximum_width 1920
    draw_shades no
    draw_outline no
    draw_borders no
    default_bar_size 185 9
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color white
    alignment top_left
    gap_x 0
    gap_y 30
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale yes
    text_buffer_size 512
    top_name_width 10
    if_up_strictness address
    update_interval 5
    
    
    lua_load /home/dale/scripts/my_info.lua
    lua_draw_hook_pre main
    #lua_draw_hook_post clock_rings
    #lua_load ~/scripts/bargraph.lua
    #lua_draw_hook_pre main_bars
    
    TEXT
    my_info.lua:
    Code:
    --[[ This script was written by stylintile with a lot of help from mrpeachy on
    http://crunchbang.org/forums/viewtopic.php?id=17246 ]]
    
    require 'cairo'
    require 'imlib2'
    
    -----------------------------------------------------------------
    --             Terminal Command
    -----------------------------------------------------------------
    
    function os.capture(cmd, raw)
         local f = assert(io.popen(cmd, 'r'))
         local s = assert(f:read('*a'))
        f:close()
         if raw then return s end
        s = string.gsub(s, '^%s+', '')
        s = string.gsub(s, '%s+$', '')
        s = string.gsub(s, '[\n\r]+', ' ')
         return s
    end
    
    -----------------------------------------------------------------
    --             Color conversion
    -----------------------------------------------------------------
    
    local function col(c,a)
         return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    
    function image(im)--#################################################################
    x=nil
    x=(im.x or 0)
    y=nil
    y=(im.y or 0)
    w=nil
    w=(im.w or 0)
    h=nil
    h=(im.h or 0)
    file=nil
    file=tostring(im.file)
    if file==nil then print("set image file") end
    ---------------------------------------------
    local show = imlib_load_image(file)
    if show == nil then return end
    imlib_context_set_image(show)
    if tonumber(w)==0 then 
    width=imlib_image_get_width() 
    else
    width=tonumber(w)
    end
    if tonumber(h)==0 then 
    height=imlib_image_get_height() 
    else
    height=tonumber(h)
    end
    imlib_context_set_image(show)
    local scaled=imlib_create_cropped_scaled_image(0, 0, imlib_image_get_width(), imlib_image_get_height(), width, height)
    imlib_free_image()
    imlib_context_set_image(scaled)
    imlib_render_image_on_drawable(x, y)
    imlib_free_image()
    show=nil
    end--function image ##################################################################
    
    -----------------------------------------------------------------
    --             Rectangles
    -----------------------------------------------------------------
    
    function rectout(rct)
        c=nil
        c=(rct.c or 0xffffff)
        a=nil
        a=(rct.a or 1)
        lw=nil
        lw=(rct.lw or 3)
        tlx=nil
        tlx=(rct.tlx or 100)
        tly=nil
        tly=(rct.tly or 100)
        rec_width=nil
        rec_width=(rct.rec_width or 50)
        rec_height=nil
        rec_height=(rct.rec_height or 50)
    ---------------------------------------
        cairo_set_line_width (cr,lw)
        cairo_rectangle (cr,tlx,tly,rec_width,rec_height)
        cairo_set_source_rgba (cr,col(c,a))
        cairo_stroke (cr)
    end--function rectout ###
    
    -----------------------------------------------------------------
    --             Lines (Borders) Display
    -----------------------------------------------------------------
    
    function lineout(ln)--Lines--###
        c=nil
        c=(ln.c or 0xffffff)
        a=nil
        a=(ln.a or 1)
        lw=nil
        lw=(ln.lw or 3)
        lc=nil
        lc=(ln.lc or CAIRO_LINE_CAP_BUTT)
        strtx=nil
        strtx=(ln.strtx or 0)
        strty=nil
        strty=(ln.strty or 0)
        enx=nil
        enx=(ln.enx or 50)
        eny=nil
        eny=(ln.eny or 50)
    ---------------------------------------
        cairo_set_line_width (cr,lw)
        cairo_set_line_cap  (cr, lc)
        cairo_set_source_rgba (cr,col(c,a))
        cairo_move_to (cr,strtx,strty)
        cairo_line_to (cr,enx,eny)
        cairo_stroke (cr)
    end--function lineout ###
    
    
    function out(tx)--Text--####################################################################
    c=nil
    c=(tx.c or 0xffffff)
    a=nil
    a=(tx.a or 1)
    f=nil
    f=(tx.f or "mono")
    fs=nil
    fs=(tx.fs or 12)
    x=nil
    x=(tx.x or 0)
    y=nil
    y=(tx.y or 0)
    txt=nil
    txt=(tx.txt or "set txt")
    fw=nil
    fw=(tx.fw or CAIRO_FONT_WEIGHT_NORMAL)
    local function col(c,a)
    return ( (c/0x10000) % 0x100)/255,( (c/0x100) % 0x100)/255,(c % 0x100)/255,a
    end--local function
    cairo_select_font_face (cr, f, CAIRO_FONT_SLANT_NORMAL, fw);
    cairo_set_font_size (cr, fs)
    cairo_set_source_rgba (cr,col(c,a))
    cairo_move_to (cr,x,y)
    cairo_show_text (cr,txt)
    cairo_stroke (cr)
    end--function out--Text-- ###################################################################
    
    
    -----------------------------------------------------------------
    --             Rings
    -----------------------------------------------------------------
    
    function ringout2(rn2)--Meter Rings--###
        c=nil
        c=(rn2.c or 0xffffff)
        a=nil
        a=(rn2.a or 1)
        lc=nil
        lc=(rn2.lc or CAIRO_LINE_CAP_BUTT)
        wid=nil
        wid=(rn2.wid or 3)
        cx=nil
        cx=(rn2.cx or 100)
        cy=nil
        cy=(rn2.cy or 100)
        rad=nil
        rad=(rn2.rad or 10)
        start=nil
        start=(rn2.start or 0)
        endang=nil
        endang=(rn2.endang or 360)
    ---------------------------------------
        cairo_set_line_width (cr,wid)
        cairo_set_line_cap  (cr, lc)
        cairo_set_source_rgba (cr,col(c,a))
        cairo_arc (cr,cx,cy,rad,(start-90)*(math.pi/180),(endang-90)*(math.pi/180))
        cairo_stroke (cr)
    end--function ringout2 ###
    
    
    -----------------------------------------------------------------
    --             Split String
    -----------------------------------------------------------------
    
    function string:split(delimiter)
    local result = { }
    local from = 1
    local delim_from, delim_to = string.find( self, delimiter, from )
    while delim_from do
    table.insert( result, string.sub( self, from , delim_from-1 ) )
    from = delim_to + 1
    delim_from, delim_to = string.find( self, delimiter, from )
    end
    table.insert( result, string.sub( self, from ) )
    return result
    end--of function
    
    
    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)
        cr = cairo_create(cs)
       local updates=tonumber(conky_parse('${updates}'))
    if updates>5 then
    
    --======================================================================================================================================================
    --                                             ---DISPLAY AREA---
    --======================================================================================================================================================
    --==============================================================================================================================
    --                                                  Meters
    --==============================================================================================================================
    xpos=80
    ypos=80
    cpu0=tonumber(conky_parse("${cpu cpu0}"))
    if cpu0==nil then cpu0=0 end
    cpu0max=100
    cpu0start=130
    meterlen=280
    
    cpu0meter=cpu0start+(meterlen/cpu0max*cpu0)
        ringout2({cx=xpos,cy=ypos,wid=10,rad=50,c=0xffffff,a=0.3,start=cpu0start,endang=cpu0start+meterlen})
        ringout2({cx=xpos,cy=ypos,wid=10,rad=50,c=0xffffff,a=1,start=cpu0start,endang=cpu0meter})
    
    cpu1=tonumber(conky_parse("${cpu cpu1}"))
    if cpu1==nil then cpu1=0 end
    cpu1max=100
    cpu1start=130
    meterlen=280
    
    cpu1meter=cpu1start+(meterlen/cpu1max*cpu1)
        ringout2({cx=xpos+150,cy=ypos,wid=10,rad=50,c=0xffffff,a=0.3,start=cpu1start,endang=cpu1start+meterlen})
        ringout2({cx=xpos+150,cy=ypos,wid=10,rad=50,c=0xffffff,a=1,start=cpu1start,endang=cpu1meter})
    
    cpu2=tonumber(conky_parse("${cpu cpu2}"))
    if cpu2==nil then cpu2=0 end
    cpu2max=100
    cpu2start=130
    meterlen=280
    
    cpu2meter=cpu2start+(meterlen/cpu2max*cpu2)
        ringout2({cx=xpos+50,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=0.3,start=cpu2start,endang=cpu2start+meterlen})
        ringout2({cx=xpos+50,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=1,start=cpu2start,endang=cpu2meter})
    
    cpu3=tonumber(conky_parse("${cpu cpu3}"))
    if cpu3==nil then cpu3=0 end
    cpu3max=100
    cpu3start=130
    meterlen=280
    
    cpu3meter=cpu3start+(meterlen/cpu3max*cpu3)
        ringout2({cx=xpos+200,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=0.3,start=cpu3start,endang=cpu3start+meterlen})
        ringout2({cx=xpos+200,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=1,start=cpu3start,endang=cpu3meter})
    
        out({x=xpos-40,y=ypos+6,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="CPU 0: "..cpu0.."%"})
        out({x=xpos+110,y=ypos+6,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="CPU 1: "..cpu1.."%"})
        out({x=xpos+10,y=ypos+156,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="CPU 2: "..cpu2.."%"})
        out({x=xpos+160,y=ypos+156,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="CPU 3: "..cpu3.."%"})
    
    hdsize1=tonumber(os.capture("sed -n '173p' /home/dale/myconfig.txt | cut -c31-33"))----df -h | awk '/sda1/{print $4}' | cut -c 1-3
    fsfree=tonumber(os.capture("df -h | awk '/sda1/{print $4}' | cut -c 1-3"))
    fsfreeperc=fsfree/hdsize1*100
    fsusedperc=100-fsfreeperc
    
    sizestart=130
    meterlen=280
    fsend=sizestart+((meterlen/100)*fsusedperc)
       out({x=xpos-40+1300,y=ypos+6,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="Used Disk: "..fsusedperc.."% "})
    
    fssizemax=100
    fssizestart=130
    meterlen=280
    fsmeterend=fssizestart+(meterlen/fssizemax*fsusedperc)
        ringout2({cx=xpos+1300,cy=ypos,wid=10,rad=50,c=0xffffff,a=0.3,start=fssizestart,endang=fssizestart+meterlen})
        ringout2({cx=xpos+1300,cy=ypos,wid=10,rad=50,c=0xffffff,a=1,start=fssizestart,endang=fsmeterend})
    
    memperc=tonumber(conky_parse("${memperc}"))
    if memperc==nil then memperc=0 end
    memmax=100
    memstart=130
    memend=memstart+(meterlen/memmax*memperc)
        ringout2({cx=xpos+1300+150,cy=ypos,wid=10,rad=50,c=0xffffff,a=0.3,start=memstart,endang=memstart+meterlen})
        ringout2({cx=xpos+1300+150,cy=ypos,wid=10,rad=50,c=0xffffff,a=1,start=memstart,endang=memend})
       out({x=xpos-40+1300+150,y=ypos+6,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="Used RAM: "..memperc.."%"})
    
    load=tonumber(conky_parse("${loadavg 1}"))
    loadmax=4
    loadstart=130
    loadend=loadstart+(meterlen/loadmax*load)
        ringout2({cx=xpos+1400,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=0.3,start=loadstart,endang=loadstart+meterlen})
        ringout2({cx=xpos+1400,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=1,start=loadstart,endang=loadend})
       out({x=xpos-40+1400,y=ypos+156,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="Load Avg: "..load})
    
    cpu=tonumber(conky_parse("${cpu}"))
    if cpu==nil then cpu=0 end
    cpumax=100
    cpustart=130
    meterlen=280
    
    cpumeter=cpustart+(meterlen/cpumax*cpu)
        ringout2({cx=xpos+1250,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=0.3,start=cpustart,endang=cpustart+meterlen})
        ringout2({cx=xpos+1250,cy=ypos+150,wid=10,rad=50,c=0xffffff,a=1,start=cpustart,endang=cpumeter})
    
        out({x=xpos+1250,y=ypos+156,c=0xf0f0f0,a=1,f="Ubuntu",fs=12,txt="CPU Avg: "..cpu.."%"})
    --image({x=0,y=1027,w=1920,h=30,file="/home/dale/Pictures/blue_panel.png"})
    --==============================================================================================================================
    --                                                  System Information
    --==============================================================================================================================
    
        datayadd=12   -- y=datay+(dataadd*1) use 1 or more
        datax=468
        dataxadd1=228
        dataxadd2=497
        dataxadd3=191
        datay=80   -- y=datay or
        datayadd2=148
        dataxadd4=395
        dataxadd5=535
    
    -----------------------------------------------------------------
    --             Borders
    -----------------------------------------------------------------
    
    
        rectout({tlx=datax-10,tly=datay-39,rec_width=684,rec_height=132,c=0x848484,a=1,lw=3})
        rectout({tlx=datax-10,tly=datay+120,rec_width=684,rec_height=85,c=0x848484,a=1,lw=3})
    
        lineout({strtx=datax+220,enx=datax+220,strty=datay-39,eny=datay+94,c=0x848484,a=1,lw=3})
        lineout({strtx=datax+487,enx=datax+487,strty=datay-39,eny=datay+94,c=0x848484,a=1,lw=3})
        lineout({strtx=datax+182,enx=datax+182,strty=datay+120,eny=datay+206,c=0x848484,a=1,lw=3})
        lineout({strtx=datax+385,enx=datax+385,strty=datay+120,eny=datay+206,c=0x848484,a=1,lw=3})
        lineout({strtx=datax+525,enx=datax+525,strty=datay+120,eny=datay+206,c=0x848484,a=1,lw=3})
    
    -----------------------------------------------------------------
    --             Variables
    -----------------------------------------------------------------
    
        freq=conky_parse("${freq_g}")
        volume="Unk"--conky_parse("${mixer}")
        OpSys1=os.capture("cat /etc/issue.net")
        OpSys2=os.capture("cat /boot/config-2.6.32-46-generic | grep CONFIG_VERSION_SIGNATURE | cut -c 46-52")
    if OpSys2=="precise" then OpSys2="Precise Pangolin" end
    
        kernel_name=os.capture("cat /usr/src/linux-headers-2.6.32-46-generic/Makefile | grep NAME | cut -c 8-")
        kernel=conky_parse("${kernel}")
        conkyversion=conky_parse("${conky_version}")
        denv1=os.capture("env | grep 'GDMSESSION' | cut -c12-")
        denv2=os.capture("gnome-session --version | cut -c14-")
        wmgr1=os.capture("wmctrl -m | grep 'Name' | cut -c7-")
        wmgr2=os.capture("compiz --version | cut -c7-")
        GWIP=conky_parse("${gw_ip}")--os.capture("curl -s ifconfig.me")
        net_type=conky_parse("${wireless_mode wlan0}")
        net_name=conky_parse("${wireless_essid wlan0}")
        gateway=conky_parse("${gw_iface}")
        sigqual=conky_parse("${wireless_link_qual wlan0}")
        sigmax=conky_parse("${wireless_link_qual_max wlan0}")
        sigperc=tonumber(conky_parse("${wireless_link_qual_perc wlan0}"))
    
    if sigperc==nil then sigperc=0 end
    
    --    cputemp1=os.capture("sensors | awk '/Core 0/{print $3}' | cut -c2-8")
    --    cputemp2=os.capture("sensors | awk '/Core 1/{print $3}' | cut -c2-8")
    --    cputemp3=os.capture("sensors | awk '/Core 2/{print $3}' | cut -c2-8")
    --    cputemp4=os.capture("sensors | awk '/Core 3/{print $3}' | cut -c2-8")
    cputempall=os.capture("sensors k10temp-pci-00c3 | awk '/temp1/{print $2}' | cut -c2-7").."C"--it8718-isa-0228
    sockettemp=os.capture("sensors it8718-isa-0228 | awk '/temp2/{print $2}' | cut -c2-7").."C"--it8718-isa-0228
    ambienttemp=os.capture("sensors it8718-isa-0228 | awk '/temp1/{print $2}' | cut -c2-7").."C"--it8718-isa-0228
    fanspeed=os.capture("sensors | awk '/fan1/{print $2}'").." "..os.capture("sensors | awk '/fan1/{print $3}'")
    arch=conky_parse("${machine}")
        uptime=conky_parse("${uptime_short}")
        gpumax=conky_parse("${nvidia threshold}").."°C"--hwmon 0 temp 1("sensors | grep 'temp1' | cut -c 15-21")
        gputemp=conky_parse("${nvidia temp}").."°C"--conky_parse("${hwmon 0 temp 2}").."°C"--os.capture("sensors | grep 'temp2' | cut -c 15-21")--${hwmon 0 temp 2}°F
        gpufreq=conky_parse("${nvidia gpufreq}").." MHz"--conky_parse("${hwmon 0 temp 3}").."°C"--os.capture("sensors | grep 'temp3' | cut -c 15-21")
    hdd1=os.capture("sudo hddtemp /dev/sda | cut -c 34-38")
    --hdd2=os.capture("sudo hddtemp /dev/sdb | cut -c 34-38")
    --Physical id 0 is CPU overall temp
    --temp1 is GPU
    --temp2 is MoBo
    --temp3 is system temp
        totproc=conky_parse("${processes}")
        runproc=conky_parse("${running_processes}")
        topname1=conky_parse("${top name 1}")
        topname2=conky_parse("${top name 2}")
        topname3=conky_parse("${top name 3}")
        topname4=conky_parse("${top name 4}")
        topname5=conky_parse("${top name 5}")
        topcpu1=conky_parse("${top cpu 1}")
        topcpu2=conky_parse("${top cpu 2}")
        topcpu3=conky_parse("${top cpu 3}")
        topcpu4=conky_parse("${top cpu 4}")
        topcpu5=conky_parse("${top cpu 5}")
        topmemname1=conky_parse("${top_mem name 1}")
        topmemname2=conky_parse("${top_mem name 2}")
        topmemname3=conky_parse("${top_mem name 3}")
        topmemname4=conky_parse("${top_mem name 4}")
        topmemname5=conky_parse("${top_mem name 5}")
        topmem1=conky_parse("${top_mem mem 1}")
        topmem2=conky_parse("${top_mem mem 2}")
        topmem3=conky_parse("${top_mem mem 3}")
        topmem4=conky_parse("${top_mem mem 4}")
        topmem5=conky_parse("${top_mem mem 5}")
    
    
    -----------------------------------------------------------------
    --             Title, Headers and Labels
    -----------------------------------------------------------------
    
        out({x=datax,y=datay-43,c=0xf0f0f0,a=1,f="Augustus Beveled",fs=26,txt="System Information"})
          out({x=datax+232,y=datay-43,c=0xb7b7b8,a=1,f="Illustrate IT",fs=30,fw=CAIRO_FONT_WEIGHT_NORMAL,txt="q"})
          out({x=datax+268,y=datay-45,c=0xb7b7b8,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Home build with AMD Phenom 9850 Quad-Core CPU running @"})
            out({x=datax+615,y=datay-45,c=0xb7b7b8,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt=freq.." GHz"})
        out({x=datax,y=datay+116,c=0xf0f0f0,a=1,f="Augustus Beveled",fs=24,txt="Temps and Performance"})
        out({x=datax+53,y=datay-10,c=0xffd700,a=1,f="Sans",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Hardware"})
        out({x=datax+316,y=datay-10,c=0xffd700,a=1,f="Sans",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="System"})
        out({x=datax+536,y=datay-10,c=0xffd700,a=1,f="Sans",fs=20,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Network"})
        out({x=datax+76,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="CPU"})
        out({x=datax+271,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="MoBo"})
        out({x=datax+430,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Top CPU"})
        out({x=datax+574,y=datay+(datayadd2)-12,c=0xffd700,a=1,f="Sans",fs=10,fw=CAIRO_FONT_WEIGHT_BOLD,txt="Top RAM"})
    
    
    -----------------------------------------------------------------
    --             Text Display
    -----------------------------------------------------------------
    
    info_label={"MoBo:","Installed Memory:","HDD Size:","Architecture:","GPU:","Audio Controller:","Uptime:",
         "OS:","Kernel Name:","Kernel Version:","Conky Version:","Desktop Environment:","Window Manager:","Processes Running/Total:",
         "Gateway IP:","Network Type:","Network Name:","Gateway Interface:","Wireless Quality:","Wireless Max:","Signal Strength:",
         "GPU Max Temp:","GPU Temp:","GPU Frequency:","CPU Temperature:","Spare:",
         "Socket Temp:","Ambient Temp:","Hard Disk 1 Temp:","Fan speed:","Spare:",
         topname1,topname2,topname3,topname4,topname5,
         topmemname1,topmemname2,topmemname3,topmemname4,topmemname5}
    
    
    infox={datax,datax,datax,datax,datax,datax,datax,
         datax+(dataxadd1),datax+(dataxadd1),datax+(dataxadd1),datax+(dataxadd1),datax+(dataxadd1),datax+(dataxadd1),datax+(dataxadd1),
         datax+(dataxadd2),datax+(dataxadd2),datax+(dataxadd2),datax+(dataxadd2),datax+(dataxadd2),datax+(dataxadd2),datax+(dataxadd2),
         datax,datax,datax,datax,datax,
         datax+(dataxadd3),datax+(dataxadd3),datax+(dataxadd3),datax+(dataxadd3),datax+(dataxadd3),
         datax+(dataxadd4),datax+(dataxadd4),datax+(dataxadd4),datax+(dataxadd4),datax+(dataxadd4),
         datax+(dataxadd5),datax+(dataxadd5),datax+(dataxadd5),datax+(dataxadd5),datax+(dataxadd5)}
    
    infoy={datay+datayadd,datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),
         datay+datayadd,datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),
         datay+datayadd,datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),
         datay+(datayadd2),datay+datayadd2+datayadd,datay+datayadd2+(datayadd*2),datay+datayadd2+(datayadd*3),datay+datayadd2+(datayadd*4),
         datay+(datayadd2),datay+datayadd2+datayadd,datay+datayadd2+(datayadd*2),datay+datayadd2+(datayadd*3),datay+datayadd2+(datayadd*4),
         datay+(datayadd2),datay+datayadd2+datayadd,datay+datayadd2+(datayadd*2),datay+datayadd2+(datayadd*3),datay+datayadd2+(datayadd*4),
         datay+(datayadd2),datay+datayadd2+datayadd,datay+datayadd2+(datayadd*2),datay+datayadd2+(datayadd*3),datay+datayadd2+(datayadd*4)}
    
    infoentries=#info_label
    
    f="Sans"
    fs=CAIRO_FONT_SLANT_NORMAL
    fw=CAIRO_FONT_WEIGHT_BOLD
    fs=10
    c=0xb8b8b9
    a=1
    
        cairo_select_font_face (cr, f, CAIRO_FONT_SLANT_NORMAL, fw);
        cairo_set_font_size (cr, fs)
        cairo_set_source_rgba (cr,col(c,a))
    for i=1,tonumber(infoentries) do
        y=(datay+12)+((i-1)*12)
        cairo_move_to (cr,infox[i],infoy[i])
        cairo_show_text (cr,info_label[i])
        cairo_stroke (cr)
    end--for
    
    ramtotal1=os.capture("sed -n '59p' /home/dale/myconfig.txt | cut -c17")
    ramtotal2=os.capture("sed -n '59p' /home/dale/myconfig.txt | cut -c18-20")
    mobo1=os.capture("sed -n '11p' /home/dale/myconfig.txt | cut -c16-23")
    mobo2=os.capture("sed -n '3p' /home/dale/myconfig.txt | cut -c14-26")
    hdsize1=os.capture("sed -n '173p' /home/dale/myconfig.txt | cut -c31-33")
    hdsize2=os.capture("sed -n '173p' /home/dale/myconfig.txt | cut -c34-35")
    graphics=os.capture("sed -n '113p' /home/dale/myconfig.txt | cut -c26-47")
    --arch=os.capture("sed -n '5p' /home/dale/myconfig.txt | cut -c12-18")
    
    info_table={mobo1.." "..mobo2,ramtotal1.." "..ramtotal2,hdsize1.." "..hdsize2,arch,graphics,"Cougar Point",uptime,--1st column top
         OpSys1,kernel_name,kernel,conkyversion,denv1.." "..denv2,wmgr1.." "..wmgr2,runproc.." / "..totproc,--2nd column top
         GWIP,net_type,net_name,"eth0",sigqual,sigmax,sigperc.."%",--3rd column top
         gpumax,gputemp,gpufreq,cputempall,"Spare",--1st column bottom
         sockettemp,ambienttemp,hdd1,fanspeed,"Spare",--2nd column bottom
         topcpu1,topcpu2,topcpu3,topcpu4,topcpu5,--3rd column bottom
         topmem1,topmem2,topmem3,topmem4,topmem5}--4th column bottom
    
    if sigperc==100 then sig_x=140 else sig_x=145 end
    
    info_tablex={datax+80,datax+185,datax+176,datax+175,datax+96,datax+145,datax+155,--1st column top
         datax+(dataxadd1)+154,datax+(dataxadd1)+103,datax+(dataxadd1)+162,datax+(dataxadd1)+224,datax+(dataxadd1)+182,datax+(dataxadd1)+187,datax+(dataxadd1)+215,--2nd column top
         datax+(dataxadd2)+99,datax+(dataxadd2)+121,datax+(dataxadd2)+117,datax+(dataxadd2)+144,datax+(dataxadd2)+154,datax+(dataxadd2)+154,datax+(dataxadd2)+sig_x,--3rd column top
         datax+143,datax+149,datax+128,datax+139,datax+144,--1st column bottom
         datax+(dataxadd3)+150,datax+(dataxadd3)+150,datax+(dataxadd3)+158,datax+(dataxadd3)+132,datax+(dataxadd3)+154,--2nd column bottom
         datax+(dataxadd4)+90,datax+(dataxadd4)+90,datax+(dataxadd4)+90,datax+(dataxadd4)+90,datax+(dataxadd4)+90,--3rd column bottom
         datax+(dataxadd5)+100,datax+(dataxadd5)+100,datax+(dataxadd5)+100,datax+(dataxadd5)+100,datax+(dataxadd5)+100}--4th column bottom
    
    info_tabley={datay+(datayadd*1),datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),--1st column top
         datay+(datayadd*1),datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),--2nd column top
         datay+(datayadd),datay+(datayadd*2),datay+(datayadd*3),datay+(datayadd*4),datay+(datayadd*5),datay+(datayadd*6),datay+(datayadd*7),--3rd column top
         datay+(datayadd2),datay+(datayadd2)+(datayadd),datay+(datayadd2)+(datayadd*2),datay+(datayadd2)+(datayadd*3),datay+(datayadd2)+(datayadd*4),--1st column bottom
         datay+(datayadd2),datay+(datayadd)+(datayadd2),datay+(datayadd*2)+(datayadd2),datay+(datayadd*3)+(datayadd2),datay+(datayadd*4)+(datayadd2),--2nd column bottom
         datay+(datayadd2),datay+(datayadd)+(datayadd2),datay+(datayadd*2)+(datayadd2),datay+(datayadd*3)+(datayadd2),datay+(datayadd*4)+(datayadd2),--3rd column bottom
         datay+(datayadd2),datay+(datayadd)+(datayadd2),datay+(datayadd*2)+(datayadd2),datay+(datayadd*3)+(datayadd2),datay+(datayadd*4)+(datayadd2)}--4th column bottom
    
    infoentriesb=#info_table
    
    
    f="Sans"
    fs=CAIRO_FONT_SLANT_NORMAL
    fw=CAIRO_FONT_WEIGHT_BOLD
    fs=9
    c=0xb7b7b8
    a=1
    
        cairo_select_font_face (cr, f, CAIRO_FONT_SLANT_NORMAL, fw);
        cairo_set_font_size (cr, fs)
        cairo_set_source_rgba (cr,col(c,a))
    for i=1,tonumber(infoentriesb) do
        cairo_move_to (cr,info_tablex[i],info_tabley[i])
        cairo_show_text (cr,info_table[i])
        cairo_stroke (cr)
    end--for
    
    --==============================================================================================================================
    --                                                  Ubuntu Plaque
    --==============================================================================================================================
    
    xpos=667
    ypos=500
    
    -----------------------------------------------------------------
    --             Background
    -----------------------------------------------------------------
    
        lineout({strtx=xpos-41,enx=xpos+310,strty=ypos+59,eny=ypos+59,c=0x000000,a=1,lw=295})
    
    -----------------------------------------------------------------
    --             Frame
    -----------------------------------------------------------------
    
        rectout({tlx=xpos-44,tly=ypos-93,rec_width=554-200,rec_height=152+150,c=0xffffff,a=1,lw=2})
        rectout({tlx=xpos-43,tly=ypos-92,rec_width=552-200,rec_height=150+150,c=0xf0f0f0,a=1,lw=2})
        rectout({tlx=xpos-42,tly=ypos-91,rec_width=550-200,rec_height=148+150,c=0xdbdbdb,a=1,lw=2})
        rectout({tlx=xpos-55,tly=ypos-104,rec_width=575-200,rec_height=173+150,c=0x848484,a=1,lw=5})
        rectout({tlx=xpos-49,tly=ypos-98,rec_width=564-200,rec_height=161+150,c=0xb8b8b8,a=1,lw=5})
        rectout({tlx=xpos-41,tly=ypos-90,rec_width=548-200,rec_height=146+150,c=0xb8b8b8,a=1,lw=2})
    
    -----------------------------------------------------------------
    --             Text and Accent Lines
    -----------------------------------------------------------------
    
    
        out({x=xpos+25,y=ypos-33,c=0xb8b8b8,a=1,f="Crystal",fs=48,txt="Ubuntu"})
        out({x=xpos-20,y=ypos+27,c=0xb8b8b8,a=1,f="Crystal",fs=48,txt="10.04.1 LTS"})
        out({x=xpos+55,y=ypos+107,c=0xb8b8b8,a=1,f="Crystal",fs=48,txt="Lucid"})
        out({x=xpos+60,y=ypos+167,c=0xb8b8b8,a=1,f="Crystal",fs=48,txt="Lynx"})
    
    --==============================================================================================================================
    --                                                  Date & Time
    --==============================================================================================================================
    
    
    xpos=335
    ypos=199
    
    -----------------------------------------------------------------fsl=CAIRO_FONT_SLANT_OBLIQUE,
    --             Current Month Name
    -----------------------------------------------------------------
    
         month=conky_parse("${time %B}")
         c=0xb7b7b8
         a=1
    -------------------------------
        font="Augustus Beveled";font_size=44;text=month;x=xpos+910;y=ypos+260;red,green,blue,alpha=184/255,184/255,185/255,1
        font_slant=CAIRO_FONT_SLANT_NORMAL
        font_face=CAIRO_FONT_WEIGHT_NORMAL
    ----------------------------------
        cairo_select_font_face (cr, font, font_slant, font_face);
        cairo_set_font_size (cr, font_size)
        cairo_set_source_rgba (cr,col(c,a))
        cairo_move_to (cr,x,y)
        cairo_show_text (cr,text)
        cairo_stroke (cr)
    
    -----------------------------------------------------------------
    --             Current Month Calendar
    -----------------------------------------------------------------
    
         --title text color
        tred,tgreen,tblue,talpha=184/255,184/255,185/255,1
         --title text font
        tfont="LCDMono"
         --title text size
        tfontsize=24
    --###################################################
         --main body text color
        bred,bgreen,bblue,balpha=184/255,184/255,185/255,1
         --main body text font
        mfont="LCDMono"
         --main body text size
        mfontsize=24
    --###################################################
         --highlight text color
        hred,hgreen,hblue,halpha=255/255,215/255,0/255,1
         --highlight font
        hfont="LCDMono"
         --highlight size
        hfontsize=24
    --###################################################
         --surrounding numbers 1=om, 0=off
        surround=0
         --surrounding dates text color
        sred,sgreen,sblue,salpha=0.3,0.5,0.3,1
         --surrounding font
        sfont="LCDMono"
         --surounding size
        sfontsize=24
    --###################################################
         --indicator box enter 1 for box or 0 for no box
        box=0
         --use the following 2 numbers to adjust box position
        xadjust=2.5
        yadjust=4
         --set the box dimensions
        width=35
        height=21
         --box color
        xred,xgreen,xblue,xalpha=1,0.2,0.8,1
    --###################################################
    --calendar this month ###############################
    --###################################################
         --position
        across=xpos+823
        down=ypos+300
         --rotate - this will require repositioning above
        rotate=0
    --###################################################
         --horizontal gap between dates
        gaph=40
    --###################################################
         --gap between day titles and first line
        gapt=35
    --###################################################
         --gap between calendar line
        gapl=35
    --###################################################
         --spacer -- this can help with alignment enter 0, 1 space or 2 spaces between the ""
        spacer=" "
    --###################################################
         --calendar calcs
        year=os.date("%G")
        today=tonumber(os.date("%d"))
        t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
        t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
        feb=(os.difftime(t1,t2))/(24*60*60)
         local monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
         local day=tonumber(os.date("%w"))+1
         local day_num = today
         local remainder=day_num % 7
        start_day=day-(day_num % 7)
    if start_day<0 then start_day=7+start_day end     
        month=os.date("%m")
        mdays=monthdays[tonumber(month)]
        mdaystm=mdays
        x=mdays+start_day
        dnum={}
        dnumh={}
    if mdays+start_day<36 then 
        dlen=35
        plen=29 
         else 
        dlen=42 
        plen=36
    end--if
       for i=1,dlen do
         if i<=start_day then dnum[i]="  " 
           else dn=i-start_day
         if dn=="nil" then dn=0 end
         if dn<=9 then dn=(spacer .. dn) end
         if i>x then dn="" end
        dnum[i]=dn
        dnumh[i]=dn
    if dn==(spacer .. today) or dn==today then
        dnum[i]=""
    end--if 
         if dn==(spacer .. today) or dn==today then
        dnumh[i]=dn
        place=i 
         else dnumh[i]="  " 
    end--if
    end--if
    end--for
    --###################################################
        cairo_rotate (cr,(math.pi/180)*(rotate))
         --print calendar titles
    --###################################################
        cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, tfontsize);
        cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
         dys={"SU","MO","TU","WE","TH","FR","SA"}
    --------------------------------
         --use these settings to mess around with positioning
        turn=-2
        ta=0
        move=0
        rot=0
    --------------------------------
    for i=1,7 do
        cairo_move_to (cr, across+8+(gaph*(i-1)), down+(i*move))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dys[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
        cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, mfontsize);
        cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dnum[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
        cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, hfontsize);
        cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dnumh[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
    --###################################################
    if surround==1 then
        thisstart=tonumber(start_day)+1
        thisend=tonumber(start_day)+mdays
        previous=tonumber(start_day)
        nextmon=dlen-thisend
        pmon=tonumber(month)-1
    if pmon==0 then pmon=12 end
        pmon=monthdays[pmon]
        snum={}
    for i=1,dlen do
        snum[i]=""
    end
    for i=tonumber(thisend)+1,tonumber(thisend)+nextmon do
        snum[i]=i-tonumber(thisend)
    end
    for i=1,previous do
        snum[i]=pmon-(previous-(i))
    end
        cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, sfontsize);
        cairo_set_source_rgba (cr,sred,sgreen,sblue,salpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, snum[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
    end--if
    
    --box aound
    if box==1 then
        cairo_set_source_rgba (cr,xred,xgreen,xblue,xalpha)
        cairo_set_line_width (cr,1)
    if place>0 and place<8 then
        cy=down+gapt
    elseif
        place>7 and place<15 then
        cy=down+gapt+gapl
    elseif
        place>13 and place<23 then
        cy=down+gapt+gapl+gapl
    elseif
        place>21 and place<29 then
        cy=down+gapt+gapl+gapl+gapl
    elseif
        place>28 and place<36 then
        cy=down+gapt+gapl+gapl+gapl+gapl
    end--if place
        placey=place %7
    if placey==1 then
        cx=across
    elseif
        placey==2 then
        cx=across+(gaph*1)
    elseif
        placey==3 then
        cx=across+(gaph*2)
    elseif
        placey==4 then
        cx=across+(gaph*3)
    elseif
        placey==5 then
        cx=across+(gaph*4)
    elseif
        placey==6 then
        cx=across+(gaph*5)
    elseif
        placey==0 then
        cx=across+(gaph*6)
    
    end--if placey
        cairo_rectangle (cr,cx-xadjust,cy+yadjust,width,-height)
        cairo_stroke (cr)
    end--if box
        cairo_rotate (cr,(math.pi/180)*(rotate*-1))
    
    --###################################################
    --end of this month calendar
    --###################################################
    
    --[[---------------------------------------------------------------
    --             Next Month Calendar
    -----------------------------------------------------------------
    
         --title text color
        tred,tgreen,tblue,talpha=184/255,184/255,185/255,1
         --title text font
        tfont="LCDMono"
         --title text size
        tfontsize=24
    --###################################################
         --main body text color
        bred,bgreen,bblue,balpha=117/255,179/255,209/255,1
         --main body text font
        mfont="LCDMono"
         --main body text size
        mfontsize=24
    --###################################################
         --highlight text color
        hred,hgreen,hblue,halpha=117/255,179/255,209/255,1
         --highlight font
        hfont="LCDMono"
         --highlight size
        hfontsize=24
    --###################################################
         --surrounding numbers 1=om, 0=off
        surround=0
         --surrounding dates text color
        sred,sgreen,sblue,salpha=0.3,0.5,0.3,1
         --surrounding font
        sfont="LCDMono"
         --surounding size
        sfontsize=24
    --###################################################
         --indicator box enter 1 for box or 0 for no box
        box=0
         --use the following 2 numbers to adjust box position
        xadjust=2.5
        yadjust=4
         --set the box dimensions
        width=35
        height=21
         --box color
        xred,xgreen,xblue,xalpha=1,0.2,0.8,1
    --###################################################
    
    --calendar next month ###############################
    
    --###################################################
         --position
        across=xpos+493
        down=ypos-59.5
         --rotate - this will require repositioning above
        rotate=0
    --###################################################
         --horizontal gap between dates
        gaph=40
    --###################################################
    --gap between day titles and first line
        gapvar=tonumber(os.date("%m"))
    if  gapvar==8 then gapt=0 else gapt=35 end
    --###################################################
         --gap between calendar line
        gapl=35
    --###################################################
         --spacer -- this can help with alignment enter 0, 1 space or 2 spaces between the ""
        spacer=" "
    --###################################################
         --calendar calcs
        year=os.date("%G")
        today=tonumber(os.date("%d"))
        t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
        t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
        feb=(os.difftime(t1,t2))/(24*60*60)
         local monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
         local day=tonumber(os.date("%w"))+1
         local day_num = today
         local remainder=day_num % 7
        month=gapvar
    
    if month==12 then dispmonth=1 else dispmonth=month+1 end
    
    
    --  out({x=336,y=590,c=0xb8b8b9,a=1,f="Ubuntu",fs=32,fw=CAIRO_FONT_WEIGHT_BOLD,txt=month})
    --  out({x=396,y=590,c=0xb8b8b9,a=1,f="Ubuntu",fs=32,fw=CAIRO_FONT_WEIGHT_BOLD,txt=dispmonth})
    
    if
        dispmonth==1                               
         then
        start_day=2
         elseif
        dispmonth==2                               
         then
        start_day=5
         elseif
        dispmonth==3                               
         then
        start_day=5
         elseif
        dispmonth==4                               
         then
        start_day=1
         elseif
        dispmonth==5                               
         then
        start_day=3
         elseif
        dispmonth==6                               
         then
        start_day=6
         elseif
        dispmonth==7                               
         then
        start_day=1
         elseif
        dispmonth==8
         then
        start_day=4
         elseif
        dispmonth==9
         then
        start_day=7
         elseif
        dispmonth==10
         then
        start_day=2
         elseif
        dispmonth==11
         then
        start_day=4
         elseif
        dispmonth==12
         then
        start_day=6
         else
        start_day=7
    end--if
         --start_day=day-(day_num % 7)--Monday=1;Tuesday=2;Wednesday=3;Thursday=4;Friday=5;Saturday=6;Sunday=7
    if start_day<0 then start_day=7+start_day end     
        mdays=monthdays[tonumber(month)]
        mdaystm=mdays
        x=mdays+start_day
        dnum={}
        dnumh={}
    if mdays+start_day<36 then 
        dlen=35
        plen=29 
         else 
        dlen=42 
        plen=36
    end--if
       for i=1,dlen do
         if i<=start_day then dnum[i]="  " 
           else dn=i-start_day
         if dn=="nil" then dn=0 end
         if dn<=9 then dn=(spacer .. dn) end
         if i>x then dn="" end
        dnum[i]=dn
        dnumh[i]=dn
         if dn==(spacer .. today) or dn==today then
        dnum[i]=""
    end--if
    if dn==(spacer .. today) or dn==today then
        dnumh[i]=dn
        place=i 
         else dnumh[i]="  " 
    end--if 
    end--if
    end--for
    --###################################################
        cairo_rotate (cr,(math.pi/180)*(rotate))
         --print calendar titles
    --###################################################
        cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, tfontsize);
        cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
         dys={"SU","MO","TU","WE","TH","FR","SA"}
    --------------------------------
         --use these settings to mess around with positioning
        turn=-2
        ta=0
        move=0
        rot=0
    --------------------------------
    for i=1,7 do
        cairo_move_to (cr, across+8+(gaph*(i-1)), down+(i*move))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dys[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
        cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, mfontsize);
        cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dnum[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
        cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, hfontsize);
        cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, dnumh[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
    --###################################################
    if surround==1 then
        thisstart=tonumber(start_day)+1
        thisend=tonumber(start_day)+mdays
        previous=tonumber(start_day)
        nextmon=dlen-thisend
        pmon=tonumber(month)-1
    if pmon==0 then pmon=12 end
        pmon=monthdays[pmon]
        snum={}
    for i=1,dlen do
        snum[i]=""
    end
    for i=tonumber(thisend)+1,tonumber(thisend)+nextmon do
        snum[i]=i-tonumber(thisend)
    end
    for i=1,previous do
        snum[i]=pmon-(previous-(i))
    end
        cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
        cairo_set_font_size (cr, sfontsize);
        cairo_set_source_rgba (cr,sred,sgreen,sblue,salpha)
    for i=1,plen,7 do
        fn=i
    for i=fn,fn+6 do
        cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
        cairo_rotate (cr,(math.pi/180)*(rot))
        cairo_show_text (cr, snum[i])
        cairo_stroke (cr)
        cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end--for
    end--for
    end--if
    
    --box aound
    if box==1 then
        cairo_set_source_rgba (cr,xred,xgreen,xblue,xalpha)
        cairo_set_line_width (cr,1)
    if place>0 and place<8 then
        cy=down+gapt
    elseif
        place>7 and place<15 then
        cy=down+gapt+gapl
    elseif
        place>13 and place<23 then
        cy=down+gapt+gapl+gapl
    elseif
        place>21 and place<29 then
        cy=down+gapt+gapl+gapl+gapl
    elseif
        place>28 and place<36 then
        cy=down+gapt+gapl+gapl+gapl+gapl
    end--if place
        placey=place %7
    if placey==1 then
        cx=across
    elseif
        placey==2 then
        cx=across+(gaph*1)
    elseif
        placey==3 then
        cx=across+(gaph*2)
    elseif
        placey==4 then
        cx=across+(gaph*3)
    elseif
        placey==5 then
        cx=across+(gaph*4)
    elseif
        placey==6 then
        cx=across+(gaph*5)
    elseif
        placey==0 then
        cx=across+(gaph*6)
    
    end--if placey
        cairo_rectangle (cr,cx-xadjust,cy+yadjust,width,-height)
        cairo_stroke (cr)
    end--if box
        cairo_rotate (cr,(math.pi/180)*(rotate*-1))
    
    --###################################################
    --end of calendar
    --###################################################
    
    -----------------------------------------------------------------
    --             Next Month Name
    -----------------------------------------------------------------
    
    xstart=xpos+491
    ystart=ypos-58.5
    yadd=35
        newmnth=month--tonumber(os.date("%m"))--current month number
    if newmnth==12 then
        out({x=xstart+65,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="January"})
         elseif newmnth==01 then
        out({x=xstart+65,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="February"})
         elseif newmnth==02 then
        out({x=xstart+80,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="March"})
         elseif newmnth==03 then
        out({x=xstart+90,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="April"})
         elseif newmnth==04 then
        out({x=xstart+100,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="May"})
         elseif newmnth==05 then
        out({x=xstart+100,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="June"})
         elseif newmnth==06 then
        out({x=xstart+100,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="July"})
         elseif newmnth==07 then
        out({x=xstart+80,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="August"})
         elseif newmnth==08 then
        out({x=xstart+55,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="September"})
         elseif newmnth==09 then
        out({x=xstart+70,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="October"})
         elseif newmnth==10 then
        out({x=xstart+52,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="November"})
         else
        out({x=xstart+60,y=ystart-61,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=44,txt="December"})
    end--if
    ]]
    --==============================================================================================================================
    --                                                  Ubuntu Logo
    --==============================================================================================================================
    x=302
    ypos=557
        ringout2({cx=x,cy=ypos,wid=2,rad=125,c=0xffffff,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=2,rad=124,c=0xf0f0f0,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=2,rad=123,c=0xdbdbdb,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=5,rad=135,c=0x848484,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=5,rad=129,c=0xb8b8b8,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=2,rad=122,c=0xb8b8b8,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=3,rad=121,c=0x848484,a=1,start=0,endang=360})--frame
        ringout2({cx=x,cy=ypos,wid=92,rad=46,c=0x000000,a=1,start=0,endang=360})--inner circle
        ringout2({cx=x,cy=ypos,wid=28,rad=106,c=0x4a4a4a,a=1,start=0,endang=360})--outer circle
        ringout2({cx=x,cy=ypos,wid=24,rad=44,c=0x5e5e5e,a=1,start=0,endang=360})--black
        ringout2({cx=x,cy=ypos,wid=18,rad=44,c=0xdcdcdc,a=1,start=93,endang=207})--white
        ringout2({cx=x,cy=ypos,wid=18,rad=44,c=0xf6973a,a=1,start=213,endang=327})--orange
        ringout2({cx=x,cy=ypos,wid=18,rad=44,c=0x232323,a=1,start=333,endang=447})--black
        ringout2({cx=x+35,cy=ypos-53,wid=20,rad=10,c=0xf6973a,a=1,start=0,endang=360})--orange
        ringout2({cx=x+35,cy=ypos-53,wid=4,rad=21,c=0x5e5e5e,a=1,start=0,endang=360})--tan field
        ringout2({cx=x+35,cy=ypos+53,wid=20,rad=10,c=0x232323,a=1,start=0,endang=360})--black
        ringout2({cx=x+35,cy=ypos+53,wid=4,rad=21,c=0x5e5e5e,a=1,start=0,endang=360})--tan field
        ringout2({cx=x-63,cy=ypos,wid=20,rad=10,c=0xdcdcdc,a=1,start=0,endang=360})--white
        ringout2({cx=x-63,cy=ypos,wid=4,rad=21,c=0x5e5e5e,a=1,start=0,endang=360})--tan field
        ringout2({cx=x,cy=ypos,wid=1,rad=92,c=0xdcdcdc,a=1,start=0,endang=360})--separator
    
    timezone=os.date("%Z")--Pocket Calculator
        out({x=460,y=973,c=0xb8b8b9,a=1,f="Augustus Beveled",fs=28,txt="Time Zone"})
    --    out({x=xpos+15,y=ypos+170,c=0xf0f0f0,a=1,f="Pocket Calculator",fs=28,txt=":"})
        out({x=590,y=973,c=0xf0f0f0,a=1,f="Pocket Calculator",fs=28,txt=":"})
        out({x=610,y=973,c=0xb8b8b9,a=1,f="Pocket Calculator",fs=28,txt=timezone})
    --==============================================================================================================================
    --                                                  Circlewriting
    --==============================================================================================================================
    xpos=302
    ypos=557
    function addzero100(num)
         if tonumber(num) < 10 then
         return "00" .. num
         elseif tonumber(num) <100 then
         return "0" .. num
         else
         return num
       end--if tonumber
    end--function addzero
    
    function string:split(delimiter)
         local result = { }
         local from  = 1
         local delim_from, delim_to = string.find( self, delimiter, from  )
         while delim_from do
        table.insert( result, string.sub( self, from , delim_from-1 ) )
        from  = delim_to + 1
        delim_from, delim_to = string.find( self, delimiter, from  )
       end--while delim
        table.insert( result, string.sub( self, from  ) )
         return result
    end--function string:split
    
    function circlewriting(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
         local inum=string.len(text)
        range=finish
        deg=(finish-start)/(inum-1)
        degrads=1*(math.pi/180)
         local textcut=string.gsub(text, ".", "%1@@@")
        texttable=string.split(textcut, "@@@")
         for i = 1,inum do
        ival=i
        interval=(degrads*(start+(deg*(i-1))))+var1
        interval2=degrads*(start+(deg*(i-1)))
        txs=0+radi*(math.sin(interval))
        tys=0-radi*(math.cos(interval))
        cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, fsize);
        cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
        cairo_move_to (cr, txs+horiz, tys+verti);
        cairo_rotate (cr, interval2)
        cairo_show_text (cr, (texttable[i]))
        cairo_stroke (cr)
        cairo_rotate (cr, -interval2)
       end--for
    end--function circlewriting
    
    function circlewritingdown(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
         local inum=string.len(text)
        deg=(start-finish)/(inum-1)
        degrads=1*(math.pi/180)
         local textcut=string.gsub(text, ".", "%1@@@")
        texttable=string.split(textcut, "@@@")
         for i = 1,inum do
        ival=i
        interval=(degrads*(start-(deg*(i-1))))+var1
        interval2=degrads*(start-(deg*(i-1)))
        txs=0+radi*(math.sin(interval))
        tys=0-radi*(math.cos(interval))
        cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, fsize);
        cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
        cairo_move_to (cr, txs+horiz, tys+verti);
        cairo_rotate (cr, interval2+(180*math.pi/180))
        cairo_show_text (cr, (texttable[i]))
        cairo_stroke (cr)
        cairo_rotate (cr, -interval2-(180*math.pi/180))
       end--for
    end--function circlewritingdown
    
    --circlewriting variable
    
    hdate=tonumber(os.date("%I"))
    tdate=os.date('%l:%M %p')
    
        cpu=tonumber(conky_parse('${cpu}'))
    --text must be in quotes
        text=os.date('%A')--os.date('%b %e, %Y')
    --font name must be in quotes
        font="Times New Roman"
        fontsize=23
        radius=100
        positionx=xpos
        positiony=ypos
        colorred=220/255
        colorgreen=220/255
        colorblue=220/255
        coloralpha=1
    --to set start and finish values for circlewriting, if the text will cross 0 degrees then you must calculate for 360+finish degrees
    --eg if you want to go from 270 to 90, then you will input 270 to 450.  Finish has to be greater than start.
        start=-60
        finish=50
        letterposition=0
         circlewriting(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewritingdown variables
        mem=tonumber(conky_parse('${memperc}'))
    --text must be in quotes
        text=os.date('%b %e, %Y')--tdate--("MEMORY " .. (addzero100(mem)) .. "%")
    --font name must be in quotes
        font="Times New Roman"
        fontsize=24
        radius=113
        positionx=xpos
        positiony=ypos
        colorred=220/255
        colorgreen=220/255
        colorblue=220/255
        coloralpha=1
    --to set start and finish values for circlewritingdown, if the text will cross 0 degrees then you must calculate for 0-finish degrees
    --eg if you want to go from 90 to 270, then you will input 90 to -90.  Start has to be greater than finish
        start=255
        finish=110
        letterposition=0
         circlewritingdown(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewritingdown variable
        hdd=tonumber(conky_parse('${fs_used_perc /}'))
    --text must be in quotes
        text=(" ")--("FILESYS " .. (addzero100(hdd)) .. "%") 
    --font name must be in quotes
        font="Ubuntu"
        fontsize=18
        radius=80
        positionx=260
        positiony=280
        colorred=1
        colorgreen=1
        colorblue=1
        coloralpha=1
    --to set start and finish values for circlewritingdown, if the text will cross 0 degrees then you must calculate for 0-finish degrees
    --eg if you want to go from 90 to 270, then you will input 90 to -90.  Start has to be greater than finish
        start=180
        finish=0
        letterposition=0.06
         circlewritingdown(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --circlewriting variables
        swap=tonumber(conky_parse('${swapperc}'))
    --text must be in quotes
        text=(" ")--("SWAP " .. (addzero100(swap)) .. "% ") 
    --font name must be in quotes
        font="Ubuntu"
        fontsize=18
        radius=60
        positionx=105
        positiony=130
        colorred=1
        colorgreen=1
        colorblue=1
        coloralpha=1
    --to set start and finish values for circlewriting, if the text will cross 0 degrees then you must calculate for 360+finish degrees
    --eg if you want to go from 270 to 90, then you will input 270 to 450.  Finish has to be greater than start.
        start=200
        finish=340
        letterposition=0
         circlewriting(cr, text, font, fontsize, radius, positionx, positiony, colorred, colorgreen, colorblue, coloralpha, start, finish, letterposition)
    
    --======================================================================================================================================================
    
    end-- if updates>5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    Attached Images Attached Images

  5. #21815
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by sbjaved View Post
    I haven't changed any config settings.
    Then I'm guessing, and it's only a guess, that something in the new Install changed.

    Does it use the same conky version? Do you have "conky-all" installed or just conky?

  6. #21816
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by kobayash1 View Post
    Any ideas as to what other pretentious computer stats I'm missing are welcome! Maybe I can add Desktop Environment and Window Manager? I dunno.
    Hi kobayash1

    Excellent first conky.

    Conky is a highly personalized thing that also depends on your OS and hardware as to what you could/can put in it.

    Maybe you could add vnstats as a starter.

  7. #21817
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    It's me again,
    PERFECT! ... and those Icons fit to a "t". I like it!

  8. #21818
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    49
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Thank You. I doubt it will stay "simple" for very long... too much free space!

  9. #21819
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    Thank You. I doubt it will stay "simple" for very long... too much free space!
    don't talk to me about free space. I had to increase my number of desktops to 4 from 3 to make room for conkys that only show on specific desktops.

    Then it hit me! "WHY?" They were mostly 'test' conkys anyway - and they ran on boot-up. So now I only have conkys on Desktop 1 and 2 - other than my email conky, it's "sticky" just above my tint2 panel but I left my number of desktops at 4 - just in case.

  10. #21820
    Join Date
    Apr 2013
    Beans
    4

    Re: Post your .conkyrc files w/ screenshots

    I have decided to add some screen shots related to this issue.
    Code:
    # Conky settings #
    background yes
    update_interval 1
    double_buffer yes
    no_buffers yes
    
    # Window specifications #
    own_window yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_title conky
    #own_window_colour FFFFFF
    own_window_transparent yes
    Selection_023.png

    Now if I added the following line
    Code:
    own_window_argb_visual yes
    Selection_024.png

    So as you can see the new line added, does make it transparent but the weather Icon also goes transparent which makes it look ugly.

Page 2182 of 2284 FirstFirst ... 1182168220822132217221802181218221832184219222322282 ... 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
  •