Page 2174 of 2298 FirstFirst ... 1174167420742124216421722173217421752176218422242274 ... LastLast
Results 21,731 to 21,740 of 22971

Thread: Post your .conkyrc files w/ screenshots

  1. #21731
    Join Date
    Jul 2009
    Location
    AL, USA
    Beans
    318
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Post your .conkyrc files w/ screenshots

    I'll have to get back to this after I get some sleep and a full day to think about where I want to go with this (at work, hehe). Later
    HP Pavilion dv6, Core i3-3110M, 6GB RAM, nVIDIA Geforce GT 650M, 640GB HDD: Win7 / Xubuntu 13.10 64bit

  2. #21732
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,853
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    External IP (needs curl)...
    Code:
    ${execi 3600 curl ifconfig.me}
    Test in terminal...
    Code:
    curl ifconfig.me
    Nice one, stinkeye! I'm stealing it...

    I love cURL - use it when I'm building web sites.

    Standalone test in CLI looked fine, but...

    Output in CLI, when run from .conkyrc, looked janky. It wiped out output for other scripts, so I couldn't see what they were doing, e.g. flying blind from the command line.

    A slight modification fixed the output in CLI...

    Code:
    ${execi 1800 curl -s ifconfig.me}
    Thanks!
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  3. #21733
    Join Date
    Mar 2012
    Beans
    246

    Re: Post your .conkyrc files w/ screenshots

    I would like to ask for your help.

    I downloaded conky_lua, renamed conkyrc to .conkyrc and placed it in ~. Also i downloaded clock_rings.lua new-ubuntu-logo.png, created .conky/ in ~, placed these files and when i want to run conky, i have this error:

    Code:
    Conky: llua_do_call: function conky_clock_rings execution failed: attempt to call a nil value
    Can you help me? As a matter of fact, conky works, i see temps, activity but there is no clock, no rings.

    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
    
    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_ring.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/ LQBK 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 eth0}
    ${color FFFFFF}${goto 125}${upspeed eth0}
    ${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}

    Edit: i see that it works only if i have created .lua/scritps folder and have own_window_type normal
    Last edited by firekage; April 2nd, 2013 at 08:15 PM.

  4. #21734
    Join Date
    Aug 2012
    Location
    Florida
    Beans
    185
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post

    Anyways, you might need to post your Conky script (I didn't see it posted in my quick glance of the past several thread pages) .
    Okie Dokie:

    conkyrc
    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 override
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
    
    border_inner_margin 0
    border_outer_margin 0
    
    minimum_size 200 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 fahrenheit
    
    
    default_color FFFFFF
    
    # Lua Load  #
    lua_load ~/.conky/clock_rings.lua
    lua_draw_hook_pre clock_rings
    
    TEXT
    ${voffset 8}${color 63B8FF}${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 63B8FF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color 63B8FF}${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/ KBOW temperature temperature 30} °F${font}
    ${image ~/.conky/new-ubuntu-logo.png -p 64,125 -s 70x20}
    
    ${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%
    ${color 63B8FF}${goto 25}CPU
    ${color FFFFFF}${goto 50}${voffset 23}${memperc}%
    ${color 63B8FF}${goto 50}RAM
    ${color FFFFFF}${goto 75}${voffset 23}${swapperc}%
    ${color 63B8FF}${goto 75}Swap
    ${color FFFFFF}${goto 100}${voffset 23}${fs_used_perc /}%
    ${color 63B8FF}${goto 100}Disk
    ${color FFFFFF}${goto 125}${voffset 25}${downspeed wlan0}
    ${color FFFFFF}${goto 125}${upspeed wlan0}
    ${color 63B8FF}${goto 125}Net
    
    
    
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}${nodename}
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}Xubuntu 12.04 LTS
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}${kernel}
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}Uptime: ${uptime_short}
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}Processes ${processes}
    ${color 63B8FF}${font caviar dreams:size=8}${alignr}Running ${running_processes}
    clock_rings.lua
    Code:
     --[[
    Clock Rings by Linux Mint (2011) reEdited by despot77
    
    This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
    
    IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.
    
    To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
        lua_load ~/scripts/clock_rings.lua
        lua_draw_hook_pre clock_rings
        
    Changelog:
    + v1.0 -- Original release (30.09.2009)
       v1.1p -- Jpope edit londonali1010 (05.10.2009)
    *v 2011mint -- reEdit despot77 (18.02.2011)
    ]]
    
    settings_table = {
        {
            -- Edit this table to customise your rings.
            -- You can create more rings simply by adding more elements to settings_table.
            -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
            name='time',
            -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
            arg='%I.%M',
            -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
            max=12,
            -- "bg_colour" is the colour of the base ring.
            bg_colour=0x63B8FF,
            -- "bg_alpha" is the alpha value of the base ring.
            bg_alpha=0.0,
            -- "fg_colour" is the colour of the indicator part of the ring.
            fg_colour=0xFFFFFF,
            -- "fg_alpha" is the alpha value of the indicator part of the ring.
            fg_alpha=0.8,
            -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
            x=100, y=150,
            -- "radius" is the radius of the ring.
            radius=50,
            -- "thickness" is the thickness of the ring, centred around the radius.
            thickness=5,
            -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
            start_angle=0,
            -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
            end_angle=360
        },
        {
            name='time',
            arg='%M.%S',
            max=60,
            bg_colour=0x63B8FFF,
            bg_alpha=0.0,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=100, y=150,
            radius=56,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
        {
            name='time',
            arg='%S',
            max=60,
            bg_colour=0x63B8FF,
            bg_alpha=0.0,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=100, y=150,
            radius=62,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
        {
            name='time',
            arg='%d',
            max=31,
            bg_colour=0x63B8FF,
            bg_alpha=0.0,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=100, y=150,
            radius=70,
            thickness=5,
            start_angle=-90,
            end_angle=90
        },
        {
            name='time',
            arg='%m',
            max=12,
            bg_colour=0x63B8FF,
            bg_alpha=0.0,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=100, y=150,
            radius=76,
            thickness=5,
            start_angle=-90,
            end_angle=90
        },
        {
            name='cpu',
            arg='cpu0',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=50, y=300,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='memperc',
            arg='',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=75, y=350,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='swapperc',
            arg='',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=100, y=400,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
        {
            name='fs_used_perc',
            arg='/',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=125, y=450,
            radius=25,
            thickness=5,
            start_angle=-90,
            end_angle=180
        },
            {
            name='downspeedf',
            arg='wlan0',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=150, y=500,
            radius=25,
            thickness=4,
            start_angle=-90,
            end_angle=180
        },
            {
            name='upspeedf',
            arg='wlan0',
            max=100,
            bg_colour=0xFFFFFF,
            bg_alpha=0.3,
            fg_colour=0xFFFFFF,
            fg_alpha=0.8,
            x=150, y=500,
            radius=20,
            thickness=4,
            start_angle=-90,
            end_angle=180
        },
    }
    
    -- Use these settings to define the origin and extent of your clock.
    
    clock_r=65
    
    -- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
    
    clock_x=100
    clock_y=150
    
    show_seconds=true
    
    require 'cairo'
    
    function rgb_to_r_g_b(colour,alpha)
        return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    
    function draw_ring(cr,t,pt)
        local w,h=conky_window.width,conky_window.height
        
        local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
        local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
    
        local angle_0=sa*(2*math.pi/360)-math.pi/2
        local angle_f=ea*(2*math.pi/360)-math.pi/2
        local t_arc=t*(angle_f-angle_0)
    
        -- Draw background ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
        cairo_set_line_width(cr,ring_w)
        cairo_stroke(cr)
        
        -- Draw indicator ring
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
        cairo_stroke(cr)        
    end
    
    function draw_clock_hands(cr,xc,yc)
        local secs,mins,hours,secs_arc,mins_arc,hours_arc
        local xh,yh,xm,ym,xs,ys
        
        secs=os.date("%S")    
        mins=os.date("%M")
        hours=os.date("%I")
            
        secs_arc=(2*math.pi/60)*secs
        mins_arc=(2*math.pi/60)*mins+secs_arc/60
        hours_arc=(2*math.pi/12)*hours+mins_arc/12
            
        -- Draw hour hand
        
        xh=xc+0.7*clock_r*math.sin(hours_arc)
        yh=yc-0.7*clock_r*math.cos(hours_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xh,yh)
        
        cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
        cairo_set_line_width(cr,5)
        cairo_set_source_rgba(cr,99/255,184/255,255/255,1.0)
        cairo_stroke(cr)
        
        -- Draw minute hand
        
        xm=xc+clock_r*math.sin(mins_arc)
        ym=yc-clock_r*math.cos(mins_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xm,ym)
        
        cairo_set_line_width(cr,3)
        cairo_stroke(cr)
        
        -- Draw seconds hand
        
        if show_seconds then
            xs=xc+clock_r*math.sin(secs_arc)
            ys=yc-clock_r*math.cos(secs_arc)
            cairo_move_to(cr,xc,yc)
            cairo_line_to(cr,xs,ys)
        
            cairo_set_line_width(cr,1)
            cairo_stroke(cr)
        end
    end
    
    function conky_clock_rings()
        local function setup_rings(cr,pt)
            local str=''
            local value=0
            
            str=string.format('${%s %s}',pt['name'],pt['arg'])
            str=conky_parse(str)
            
            value=tonumber(str)
            pct=value/pt['max']
            
            draw_ring(cr,pct,pt)
        end
        
        -- Check that Conky has been running for at least 5s
    
        if conky_window==nil then return end
        local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
        
        local cr=cairo_create(cs)    
        
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
        
        if update_num>5 then
            for i in pairs(settings_table) do
                setup_rings(cr,settings_table[i])
            end
        end
        
        draw_clock_hands(cr,clock_x,clock_y)
    end
    Will try your suggestion.
    Last edited by AndyOpie150; April 3rd, 2013 at 02:08 AM.

  5. #21735
    Join Date
    Aug 2012
    Location
    Florida
    Beans
    185
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    firekage:
    Did you open up a terminal and type in

    Code:
     sudo apt-get install conky-all
    Also: Do you have a conky_rings.lua script file in your .conky folder?
    Last edited by AndyOpie150; April 3rd, 2013 at 02:50 AM.

  6. #21736
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Okay, finally got my new rig customized about how I want it for now. A little GIMP "photo-shopping" to the wallpaper and tinkering with my conky.rc and I have my blue and white Xubuntu theme finished.

    Screenshot - 04032013 - 10:41:26 PM.jpg

    Here's the code (it's 70%+ comments because I forget stuff easily)

    Code:
    ############################################################################################
    #                                                                                          #
    #  .conkyrc (version 1.09)                                                                 #
    #  A clean, simple, yet useful configuration code for conky                                #
    #                                                                                          #
    #  Written by Petro Dawg (aka Greg):                                                       #
    #  Last updated on 4/2/13 (version 1.09)                                                   #
    #    > Added calendar                                                                      #
    #    Updated on 4/1/13 (version 1.08)                                                      #
    #    > Ported to my XCFE system                                                            #
    #      - Changed USB check location to begin at sdc1 (was sdb1)                            #
    #      - Deleted CPU2 info (now 1 core system)                                             #
    #      - Deleted Temp info (sensors not compatible)                                        #
    #    > Changed color scheme to Blue and White                                              #
    #    > Limited system update checking to once per hour due to high resource cost of        #
    #      apt-check process                                                                   #
    #    > Edited to correct some text alignment issues                                        #
    #  Updated on 1/4/13 (version 1.07)                                                        #
    #    > Added available sytem update fields                                                 #
    #    > Added router name and signal strength field                                         #
    #    > Changed most of the grep commands to awk                                            #
    #  Updated on 12/30/12 (version 1.06)                                                      #
    #    ] Changed to grey and orange color scheme -later changed-                             #
    #    > revamped fonts, reverted many changes made in last version                          #
    #    ] Added date field -later removed/replace by calendar-                                #
    #  Updated on 12/24/12 (version 1.05)                                                      #
    #    > Changed color scheme to neon -later changed-                                        #
    #    ] Added fonts for Ubuntu symbol and CPU bar numbers -no longer used-                  # 
    #  Updated on 9/14/12 (version 1.04)                                                       #
    #    ] Added MAC and Public IP addresses to output -now deactivated but still in code-     #
    #    > USB output will disappear from Conky when USB drive is ejected                      #
    #  Updated on 9/2/12 (version 1.03)                                                        #
    #    > Made USB file system output read any USB drive reguardless of name.  Supports up to #
    #      three USB drives.  Displays names of each USB drive and memory_used/memory_total    #
    #    > Added more color control                                                            #
    #    > Changed override_utf8_locale value from 'no' to 'yes' (stopped 12.04-3D flashing)   #
    #    > Changed font Ubuntu:bold:size=11 to xftfont Ubuntu:bold:size=11                     #
    #    > Changed no_buffers value from 'no' to 'yes' (fixed ram graph output)                #
    #    > Added degree symbol to temperature output -no longer used-                          # 
    #  Updated on 8/31/12 (version 1.02)                                                       #
    #    > Deleted redundant outputs and adjusted format to make the display more concise.     # 
    #  Updated on 8/26/12 (version 1.01)                                                       #
    #    > Based on source code from http://lonelymachines.org/2012/08/16/simple-conky-config/ #
    #    > This version has been significately modified to meet my needs and reorganized to    #
    #      add clarity for anyone wanting to modify the code further to meet their own needs.  # 
    #                                                                                          #
    #  Displays the following PC information on the Desktop within an embedded window:         #
    #    > Operating System details                                                            #
    #    > Number of available system updates                                                  #
    #    > CPU operating speed                                                                 #
    #    > Individual core usage                                                               #
    #    > Top 3 processes using CPU resources                                                 #
    #    > Total RAM                                                                           #
    #    > Active RAM amount                                                                   #
    #    > Top 3 processes using RAM resources                                                 #
    #    > Root folder size and memory used                                                    #
    #    > Home folder size and memory used                                                    #
    #    > USB drive size and memory used (when attached)                                      #
    #    > Private and Public IP Addresses                                                     #
    #    > Download speed and data Received                                                    #
    #    > Upload speed and data Sent                                                          #
    #    > Monthly Calendar                                                                    #
    #                                                                                          #
    #  Requires installation of:                                                               #
    #    > conky (available in software center)                                                #
    #    ] lm-sensors (available in software center) -not needed in current version-           #
    #                                                                                          #
    #  Additional information and resources:                                                   #
    #    > To run conky at startup, create an empty file in your home folder, name it          #
    #      ".conky-startup.sh" and copy the following 2 lines in it:                           #
    #           !/bin/bash                                                                     #
    #           sleep 15 && conky ;                                                            #
    #      Add the path to the .conky-startup.sh file within Startup Applications.             #
    #    > http://conky.sourceforge.net/                                                       #
    #    > http://www.graphviz.org/doc/info/colors.html                                        #
    #    > http://www.december.com/html/spec/colorhex.html                                     #
    #    > alfios, heydings, monofonto fonts required                                          #
    #    > Save fonts to .fonts folder in home screen                                          #
    #    > To load fonts into Conky after font installation run the following in terminal:     #
    #         fc-cache -fv                                                                     #
    #      then reboot system if needed                                                        #
    #                                                                                          #
    ############################################################################################ 
    
    #conky performance settings
      update_interval 3.0
      total_run_times 0
      cpu_avg_samples 4
      no_buffers yes
      double_buffer yes
      override_utf8_locale yes
    
    #overall position of conky window
      alignment bottom_right
      gap_x 15
      gap_y 40
      minimum_size 100 145
      maximum_width 145
    
    #overall appearance of conky window
      own_window yes
      own_window_type override
      own_window_transparent yes
      own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
      draw_borders no
    
    #default text apperance
      use_xft yes
      xftalpha 0.9
      xftfont Alfios:bold:size=10
      default_color aliceblue #white
      draw_shades no
      draw_outline no
      default_shade_color black
      default_outline_color black
      uppercase no
    
    #border around graphs
      draw_graph_borders yes
    
    #colors 
      color1 steelblue #royalblue #dodgerblue 
    
    ############################################################################################
    #                                                                                          #
    #  The code below 'TEXT' will control what is displayed by conky:                          #
    #   -> In the interest of clarity, the system outputs are divided into related groups      #
    #      (i.e. all code related to the CPU is in one grouping of adjacent lines while code   #
    #      related to RAM is in another grouping of adjacent lines).  Each group is hereafter  #
    #      refered to as a 'TEXT code block'.                                                  #
    #   -> To best fit your screen, adjust the overall vertical length of the display by       #
    #      adding or deleting empty lines either before or after the TEXT code blocks below.   #
    #                                                                                          #
    ############################################################################################ 
    TEXT
    # TEXT code block 1: START 
    ############################################################################################
    #                                                                                          #
    #  The first TEXT code block displays operating system information                         #
    #   -> 'Updates Available' displays total updates avaible from all software sources        #
    #      activated in the update manager                                                     #
    #   -> 'Security Updates' displays the number those available updates which are related    #
    #      to system security                                                                  #  
    #                                                                                          #
    ############################################################################################
    ${outlinecolor}${color1}${font Alfios:bold:size=14}${alignc}${execp lsb_release -d | awk '/Description/ {print $2, $3, $4}'}${outlinecolor}${color}${font}
    ${font Alfios:bold:size=10}${sysname}:${alignr}${kernel}
    ${font Alfios:size=9}   Updates Available:${alignr}${execi 3600 /usr/lib/update-notifier/apt-check --human-readable | awk '/can/ {print $1}'}   
       Security Updates:${alignr}${execi 3600 /usr/lib/update-notifier/apt-check --human-readable | awk '/are/ {print $1}'}   ${font}
    # TEXT code block 1: END
    
    # TEXT code block 2: START 
    ############################################################################################
    #                                                                                          #
    #  The second TEXT code block displays CPU information                                     #
    #   -> Temperature displayed is the PCI Adapter temp1 output on same line as 'high' output #
    #   -> Requires the installation of lm-sensors to work:  sudo apt-get lm-sensors           #
    #   -> After installation run:  sensors-detect      (answer yes to all)                    #
    #   -> Run 'sensors' in terminal to determine which line needs grep & which columns        #
    #      needs to be cut.                                                                    #
    #   -> Replace:  ${cpubar cpu1 5} with ${cpugraph cpu1 FFFF00 FF0000} to change to graph   #
    #      output of CPU1 usage.                                                               #
    #   -> 'FFFF00' and 'FF0000' are HEX color codes and can be replaced with whatever colors  #
    #      you like.  Goto www.graphviz.org/doc/info/colors.html for color information (hold   #
    #      mouse over color to see HEX code for that color).                                   #
    #   -> Add % use outputs for cores by adding the following line:                           #
    #           Core '#': ${alignr}${cpu cpu'#'}%                                              #
    #      (repeat for each additional core up to the total number of cores in the system)     #      
    #      (replace each '#' with the number of the core (i.e. 3 or 4))                        #
    #                                                                                          #
    ############################################################################################
    CPU Speed: ${alignr}${freq}MHz
    ${outlinecolor black}${color1}${cpubar 5}${outlinecolor}${color}
    ${font Alfios:size=9}   ${top name 1}${alignr}${top cpu 1}   
    ${font Alfios:size=9}   ${top name 2}${alignr}${top cpu 2}   
    ${font Alfios:size=9}   ${top name 3}${alignr}${top cpu 3}   ${font}
    # TEXT code block 2: END
     
    # TEXT code block 3: START
    ############################################################################################
    #                                                                                          #
    #  Third TEXT code block displays RAM information:                                         #
    #   -> Replace ${membar 10} with ${memgraph FFFF00 FF0000} to change to graph output of    #
    #      RAM usage. (I did not find this very useful as RAM usage is usually fairly steady   #
    #      on my sytem.)                                                                       #
    #                                                                                          #
    ############################################################################################
    RAM Total: ${alignr}$memmax
    ${outlinecolor black}${color1}${membar 5}${outlinecolor}${color}
    ${font Alfios:size=9}   ${top_mem name 1}${alignr}${top_mem mem 1}   
    ${font Alfios:size=9}   ${top_mem name 2}${alignr}${top_mem mem 2}   
    ${font Alfios:size=9}   ${top_mem name 3}${alignr}${top_mem mem 3}   ${font}
    # TEXT code block 3: END
    
    # TEXT code block 4: START
    ############################################################################################
    #                                                                                          #
    #  Fourth TEXT code block displays Filesystem information:                                 #
    #   -> The USB information is specific to the USB drive settings on my computer (i.e. my   #
    #      1st USB mounts at /dev/sdb1). Run 'df' in terminal to determine location of drives. #
    #   -> To make conky display correctly the cut locations for sdb1, sdc1, sdd1, & sdc may   #
    #      need to be adjusted.                                                                #
    #                                                                                          #
    ############################################################################################
    Swap: ${color}${alignr}$swap/$swapmax
    ${outlinecolor black}${color1}${swapbar 5}${outlinecolor}${color}
    
    HD: ${alignr}${fs_used /} / ${fs_size /}
    ${outlinecolor black}${color1}${fs_bar 5 /}${outlinecolor}${color}${if_existing  /dev/sdc1}
    ${execp df -H | grep 'sdc1' | cut -c56-66}:${alignr}${execp df -H | awk '/sdc1/ {print $3, "/", $2}'}${else}${endif}${if_existing  /dev/sdd1}
    ${execp df -H | grep 'sdd1' | cut -c56-66}:${alignr}${execp df -H | awk '/sdd1/ {print $3, "/", $2}'}${else}${endif}${if_existing  /dev/sde1}
    ${execp df -H | grep 'sde1' | cut -c56-66}:${alignr}${execp df -H | awk '/sde1/ {print $3, "/", $2}'}${else}${endif}
    # TEXT code block 4: END
    
    # TEXT code block 5: START
    ############################################################################################
    #                                                                                          #
    #  Fith TEXT code block displays Network information:                                      #
    #   -> A graphical output of download information can be displayed by adding the following #
    #      line of code:                                                                       #
    #      ${color2}${downspeedgraph wlan0 FFFF00 FF0000}${color}                              #
    #   -> A graphical output of upload information can be displayed by adding the following   #
    #      line of code:                                                                       #
    #      ${color2}${upspeedgraph wlan0 FFFF00 FF0000}${color}                                #
    #   -> 'FFFF00' and 'FF0000' are HEX color codes and can be replaced with whatever colors  #
    #      you like.  Goto www.graphviz.org/doc/info/colors.html for color information (hold   #
    #      mouse over color to see HEX code for that color). ifconfig -a                       #
    #                                                                                          #
    ############################################################################################
    ${outlinecolor black}${color1}${font Heydings Icons:size=8}R${font}${color} ${wireless_essid wlan0}${alignr}${wireless_link_qual_perc wlan0}%
    #${outlinecolor black}${color1}${wireless_link_bar 4 wlan0}${outlinecolor}${color}
    Private IP:${alignr}${addr wlan0}
    #Public IP:${alignr}${pre_exec wget -O - http://ip.tupeux.com | tail}
    #MAC:${alignr}${wireless_ap wlan0}
    ${outlinecolor black}${color1}${font Heydings Icons:bold:size=8}d${outlinecolor}${color}${font Alfios:size=9} ${downspeed wlan0}/s${alignr}${totaldown wlan0}   
    ${outlinecolor black}${color1}${font Heydings Icons:bold:size=8}u${outlinecolor}${color}${font Alfios:size=9} ${upspeed wlan0}/s${alignr}${totalup wlan0}  
    
    ${outlinecolor black}${color1}${font Heydings Icons:size=10}3${font}${color} ${font}${color}Ethernet
    Private IP:${alignr}${addr eth0}
    ${outlinecolor black}${color1}${font Heydings Icons:bold:size=8}d${outlinecolor}${color}${font Alfios:size=9} ${downspeed eth0}/s${alignr}${totaldown eth0}   
    ${outlinecolor black}${color1}${font Heydings Icons:bold:size=8}u${outlinecolor}${color}${font Alfios:size=9} ${upspeed eth0}/s${alignr}${totalup eth0}   
    # TEXT code block 5: END
    
    # TEXT code block 6: START
    ############################################################################################
    #                                                                                          #
    #  Sixth TEXT code block displays a Calendar:                                              #
    #   -> Calendar requires use of a mono font for proper spacing of numbers and leters       #
    #                                                                                          #
    ############################################################################################
    ${outlinecolor black}${color1}${font Heydings Icons:size=10}c${font}${color} ${execpi 600 date +"%B"}  ${execpi 600 date +"%Y"}${color}${font Monofonto:size=10}
    ${execpi 600 DJS=`date +%_d`; cal -h | sed '1d' | sed s/"$DJS"'\b'/'${font Monofonto:bold:size=10}${outlinecolor}${color1}'"$DJS"'${outlinecolor}${font Monofonto:size=10}${color}'/}$font
    # TEXT code block 6: END
    Last edited by Petro Dawg; April 4th, 2013 at 05:37 AM. Reason: Got bored; added a Calendar
    Who's Awesome? You're Awesome.

  7. #21737
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    I do hope you get a bigger monitor soon.

  8. #21738
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    This is my current setup

    1920x1080

    • Conky on the right uses mrpeachy's 'mounted.lua' to monitor external mounted devices only, of which there are 4 in the image.
    • "mounted.lua" does monitor ALL devices if you want it to.
    • Add your own images or delete the calls.

    Code:
    ###  Begin Window Settings  ##################################################
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager
    #own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    #own_window_colour gray
    own_window_class Conky
    own_window_title Top Left
    
    # Use the Xdbe extension? (eliminates flicker)
    # It is highly recommended to use own window with this one
    # so double buffer won't be so big.
    double_buffer yes
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    # own_window_argb_visual yes # Options: yes or no
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    # own_window_argb_value 255
    
    minimum_size 230 0	## width, height
    maximum_width 230	## width
    
    gap_x 10	### left &right
    gap_y 10	### up & down
    
    alignment tr
    ####################################################  End Window Settings  ###
    ###  Font Settings  ##########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    xftfont Monofur:bold:size=12 ##14
    #xftfont White Rabbit:size=9
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10conky -c /media/5/Conky/S11-Top_Left.conky &
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Alpha of Xft font. Must be a value at or between 1 and 0 ###
    xftalpha 1
    # Force UTF8? requires XFT ###
    override_utf8_locale yes
    
    uppercase no
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    draw_shades yes # amplifies text if yes
    default_shade_color 000000
    
    draw_outline no # amplifies text if yes
    default_outline_color 000000
    
    default_color DCDCDC #220 220 220	Gainsboro
    color0 8FBC8F #143 188 143	DarkSeaGreen
    color1 778899 #119 136 153	LightSlateGray
    color2 FF8C00 #255 140   0	DarkOrange
    color3 7FFF00 #127 255   0	Chartreuse
    color4 FFA07A #255 160 122	LightSalmon
    color5 FFDEAD #255 222 173	NavajoWhite
    color6 00BFFF #  0 191 255	DeepSkyBlue
    color7 00FFFF #  0 255 255	Cyan
    color8 FFFF00 #255 255   0	Yellow
    color9 B22222 #178  34  34	FireBrick ##FF0000 #255   0   0	Red
    #####################################################  End Color Settings  ###
    ###  Borders Section  ########################################################
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_inner_margin 5
    border_outer_margin 0
    # border width
    border_width 0
    # graph borders
    draw_graph_borders yes #no
    #default_graph_size 15 40
    #####################################################  End Borders Secton  ###
    ###  Miscellaneous Section  ##################################################
    # Boolean value, if true, Conky will be forked to background when started.
    background yes
    
    # Adds spaces around certain objects to stop them from moving other things
    # around, this only helps if you are using a mono font
    # Options: right, left or none
    use_spacer none
    
    # Default and Minimum size is 256 - needs more for single commands that
    # "call" a lot of text IE: bash scripts
    text_buffer_size 256
    
    # Subtract (file system) buffers from used memory?
    no_buffers yes
    
    # change GiB to G and MiB to M
    short_units yes
    
    # Like it says, ot pads the decimals on % values
    # doesn't seem to work since v1.7.1
    pad_percents 2
    
    # Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
    # $image lots. Set to 0 to disable the image cache.
    
    imlib_cache_size 0
    
    #   Maximum size of user text buffer, i.e. layout below TEXT line in config file
    #  (default is 16384 bytes)
    # max_user_text 16384
    
    # Desired output unit of all objects displaying a temperature. Parameters are
    # either "fahrenheit" or "celsius". The default unit is degree Celsius.
    # temperature_unit Fahrenheit
    
    ##############################################  End Miscellaneous Section  ###
    ###  LUA Settings  ###########################################################
    ## Above and After TEXT - requires a composite manager or blinks.
    ##
    # lua_load /media/5/Conky/LUA/draw-bg.lua
    #TEXT
    # ${lua conky_draw_bg 125 0 0 0 0 0x000000 0.2}
    #
    ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    ##
    ## OR Both above TEXT (No composite manager required - no blinking!)
    #
    #--------------------------------
    lua_load /media/5/Conky/LUA/draw-bg.lua
    #lua_draw_hook_pre draw_bg 20 0 0 0 0 0x000000 0.2
    #lua_draw_hook_post draw_bg 20 0 0 0 0 0x000000 0.2
    #
    # TEXT
    # ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
    ##
    #
    ### mount.lua ##################################################################
    #
    ##instructions
    ##load script
    ##lua_load ~/path_to/mounted.lua
    lua_load /media/5/Conky/LUA/mounted.lua
    ## first lua command below text:
    ## ${lua get_mounted_data interval}, where interval is a number.  This starts data gathering
    ## to get output:
    ## ${lua mount partition_number data_type}, where partition number is a number
    ## data_type can be
    ## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
    ## fsys - shows filesystem
    ## size - shows space used in appropriate units
    ## free - shows free space in appropriate units
    ## use% - shows % used
    ## mount - shows mountpoint
    #######################################################  End LUA Settings  ###
    
    update_interval 1
    TEXT
    ${lua get_mounted_data 3}${lua conky_draw_bg 20 0 0 0 0 0x000000 0.4}\
    ${image /media/5/Conky/images/EVE.png -p 15,0 -s 60x60}\
    ${image /media/5/Conky/images/Wall.E.png -p 55,0 -s 60x60}\
    ${image /media/5/Conky/images/S11_128.png -p 0,100 -s 60x60}\
    ${color5}${alignr 5}${time %x}
    ${alignr 5}${time %T}
    ${alignr 5}${uptime_short}${color}
    
    ${alignc}${kernel}
    ${color7}${hr}${color}
    ${alignc}${font Dock 51:size=18}${color1}${nodename}${color}${font}
    
    ${goto 65}%   Used${goto 170}${color}  Total
    Root ${color5}${fs_used_perc /}${goto 100}${fs_used /}${goto 170}${color7} ${alignr 5}${color5} ${fs_size /}${color}
    Home ${color5}${fs_used_perc /home}${goto 100}${fs_used /home}${goto 170}${color7} ${alignr 5}${color5} ${fs_size /home}${color}
     M|5 ${color5}${fs_used_perc /media/5}${goto 100}${fs_used /media/5}${goto 170}${color7} ${alignr 5}${color5} ${fs_size /media/5}${color}${font Monofur:size=6}
    
    ${font} RAM ${color5}${memperc}${goto 100}${mem}${goto 170}${color7} ${alignr 5}${color5} ${memmax}${color}${font Monofur:size=6}
    
    ${font}${alignc}Avg CPU % in use ${if_match ${cpu cpu0}<10}${color1}00${color5}${cpu cpu0}\
    ${else}${if_match ${cpu cpu0}<100}${color1}0${color7}${cpu cpu0}\
    ${else}${color9}${cpu cpu0}${endif}${endif}${color}${font Monofur:size=6}
    
    ${font}${alignc}1 ${if_match ${cpu cpu1}<10}${color1}00${color5}${cpu cpu1}\
    ${else}${if_match ${cpu cpu1}<100}${color1}0${color7}${cpu cpu1}\
    ${else}${color9}${cpu cpu1}${endif}${endif}${color}\
        2 ${if_match ${cpu cpu2}<10}${color1}00${color5}${cpu cpu2}\
    ${else}${if_match ${cpu cpu2}<100}${color1}0${color7}${cpu cpu2}\
    ${else}${color9}${cpu cpu2}${endif}${endif}${color}\
        3 ${if_match ${cpu cpu3}<10}${color1}00${color5}${cpu cpu3}\
    ${else}${if_match ${cpu cpu3}<100}${color1}0${color7}${cpu cpu3}\
    ${else}${color9}${cpu cpu3}${endif}${endif}${color}${font Monofur:size=6}
    
    ${font}CPU Fan${alignr 5}${color5}${platform f71882fg.2560 fan 1} ${color}rpm${font Monofur:size=6}
    
    ${font}Temperatures ${color7}${hr}${color}
    ${alignc}CPU  ${color5}${platform f71882fg.2560 temp 1}${color}°\
         MB  ${color5}${platform f71882fg.2560 temp 2}${color}°
    ${alignc}GPU  ${color5}${nvidia temp}${color}°\
         HD  ${color5}${execi 5 hddtemp -n /dev/sda}${color}°${font Monofur:size=6}
    
    ${font}Graphics GPU ${color5}${nvidia temp}${color}° ${color7}${hr}${color}
    GPU ${color5}${nvidia gpufreq} ${color}MHz${alignr 5}MEM ${color5}${nvidia memfreq} ${color}MHz${font Monofur:size=6}
    
    ${font}Disk Activity ${color7}${hr}${color}
    R${goto 40}${diskiograph_read /dev/sda 14,130 00ffff ff0000 5 -lt}${alignr 5}${color5}${diskio_read /dev/sda}${color}
    W${goto 40}${diskiograph_write /dev/sda 14,130 ff0000 00ffff 5 -lt}${alignr 5}${color5}${diskio_write /dev/sda}${color}${font Monofur:size=6}
    
    ${font}Network ${color7}${hr}${color}
    Dn${goto 40}${downspeedgraph eth0 14,130 00ffff ff0000 5 -lt}${alignr 5}${color5}${downspeedf eth0}${color}
    Up${goto 40}${upspeedgraph eth0 14,130 ff0000 00ffff 5 -lt}${alignr 5}${color5}${upspeedf eth0}${color}${font Monofur:size=6}
    
    ${font}Transfer Totals ${color7}${hr}${color}
    ${color5}rx ↓${goto 85}${color0}tx ↑${goto 170}${color5}Total
    ${goto 5}${color}${execpi 3600 date --date="-1 day" | awk '{print $3" "$2" "$6}'}
    ${color5}${execpi 300 vnstat | grep "yesterday" | awk '{print $2" "$3"\
    ${color0}${goto 85}"$5" "$6 "\
    ${color5}${goto 170}" $8" "$9}'}
    ${goto 5}${color}${exec date --date="0 day" | awk '{print $3" "$2" "$6}'}
    ${color5}${execpi 300 vnstat | grep "today" | awk '{print $2" "$3"\
    ${color0}${goto 85}"$5" "$6"\
    ${color5}${goto 170}"$8" "$9}'}
    ${goto 5}${color}Current Week
    ${color5}${execpi 300 vnstat -w | grep "current week" | awk '{print $3" "$4 "\
    ${color0}${goto 85}" $6" "$7 "\
    ${color5}${goto 170}" $9" "$10}'}
    ${goto 5}${color}Last Week
    ${color5}${execpi 300 vnstat -w | grep "last week" | awk '{print $3" "$4"\
    ${color0}${goto 85}" $6" "$7 "\
    ${color5}${goto 170}" $9" "$10}'}
    ${goto 5}${color}Last 7 Days
    ${color5}${execpi 300 vnstat -w | grep "last 7 days" | awk '{print $4" "$5 "\
    ${color0}${goto 85}" $7" "$8 "\
    ${color5}${goto 170}" $10" "$11}'}
    ${goto 5}${color}${time %b %Y}
    ${color5}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $3" "$4}'}\
    ${color0}${goto 85}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $6" "$7}'}\
    ${color5}${goto 170}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $9" "$10}'}${font Monofur:size=6}
    
    ${font}${color}External Mounted fsys ${color7}${hr}${color}
    ${goto 5}${color}Size${goto 60}${color0}Free${goto 110}${color4}Used${goto 160}
    ${color5}${lua mount 6 mount}
    ${goto 5}${color}${lua mount 6 size}${goto 60}${color0}${lua mount 6 free}${goto 110}${color4}${lua mount 6 use%}${goto 160}${color5}${lua mount 6 fsys 9}
    ${color5}${lua mount 7 mount}
    ${goto 5}${color}${lua mount 7 size}${goto 60}${color0}${lua mount 7 free}${goto 110}${color4}${lua mount 7 use%}${goto 160}${color5}${lua mount 7 fsys 9}
    ${color5}${lua mount 8 mount}
    ${goto 5}${color}${lua mount 8 size}${goto 60}${color0}${lua mount 8 free}${goto 110}${color4}${lua mount 8 use%}${goto 160}${color5}${lua mount 8 fsys 9}
    ${color5}${lua mount 9 mount}
    ${goto 5}${color}${lua mount 9 size}${goto 60}${color0}${lua mount 9 free}${goto 110}${color4}${lua mount 9 use%}${goto 160}${color5}${lua mount 9 fsys 9}${font}
    ${color7}${hr 1}${color}
    ${color}Trash ${color9}${execi 15 du -sh ~/.local/share/Trash/files/ | awk '{print $1}' | sed '/^4.0K/ d'  | sed 's/$/ of trash!/'}
    mounted.lua
    Code:
    --[[partitions for conky by mrpeachy
    
    ##instructions
    ##load script
    lua_load ~/lua/mounted.lua
    ## first lua command below text:
    ## ${lua get_mounted_data interval}, where interval is a number.  This starts data gathering
    ## to get output:
    ## ${lua mount partition_number data_type text_length}, where partition number is a number
    ## text_length is optional, lets you specify the max number of characters the function returns. only affects fsys and mount data options
    ## data_type can be
    ## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
    ## fsys - shows filesystem
    ## size - shows space used in appropriate units
    ## free - shows free space in appropriate units
    ## use% - shows % used
    ## mount - shows mountpoint
    
    TEXT
    CPU %: ${cpu cpu0} ${lua get_mounted_data 10}
    TOTAL PARTITIONS MOUNTED: ${lua mount 1 total}
    FSYS${goto 100}SIZE${goto 200}USED%${goto 300}MOUNT
    ${lua mount 1 fsys}${goto 100}${lua mount 1 size}${goto 200}${lua mount 1 use%}${goto 300}${lua mount 1 mount 10}
    ${lua mount 2 fsys}${goto 100}${lua mount 2 size}${goto 200}${lua mount 2 use%}${goto 300}${lua mount 2 mount 10}
    ${lua mount 3 fsys}${goto 100}${lua mount 3 size}${goto 200}${lua mount 3 use%}${goto 300}${lua mount 3 mount 10}
    ${lua mount 4 fsys}${goto 100}${lua mount 4 size}${goto 200}${lua mount 4 use%}${goto 300}${lua mount 4 mount 10}
    
    ]]
    
    conky_start=1
    function conky_get_mounted_data(interval)
    local updates=tonumber(conky_parse("${updates}"))
    timer=(updates % interval)
    if timer==0 or conky_start==1 then
    fsys={}
    size={}
    used={}
    avail={}
    uperc={}
    mount={}
    local file = io.popen("df -h")
    	for line in file:lines() do
    		if string.find(line,"/dev/")~=nil then
    		local s,f,fs=string.find(line,"^([%d%a%p]*)%s")
    		table.insert(fsys,fs)
    		local s,f,sz=string.find(line,"%s*([%d%a%p]*)%s",f)
    		table.insert(size,sz)
    		local s,f,us=string.find(line,"%s*([%d%a%p]*)%s",f)
    		table.insert(used,us)
    		local s,f,av=string.find(line,"%s*([%d%a%p]*)%s",f)
    		table.insert(avail,av)
    		local s,f,up=string.find(line,"%s*([%d%a%p]*)%s",f)
    		table.insert(uperc,up)
    		local s,f,mn=string.find(line,"%s*([%d%a%p]*)%s*$",f)
    		table.insert(mount,mn)
    		end
    	end
    file:close()
    conky_start=nil
    end--timed section
    return ""
    end
    
    function conky_mount(n,d,c)--n=partition_number,d=data_type,c=number of characters to return
    d=tostring(d)
    n=tonumber(n)
    c=tonumber(c) or 0
    if d=="total" then
    data=#fsys or 1
    elseif d=="fsys" then
    data=fsys[n] or ""
    	if c~=0 then
    	data=string.sub(data,1,c) or ""
    	end
    elseif d=="size" then
    data=size[n] or ""
    elseif d=="used" then
    data=used[n] or ""
    elseif d=="free" then
    data=avail[n] or ""
    elseif d=="use%" then
    data=uperc[n] or ""
    elseif d=="mount" then
    data=mount[n] or ""
    	if c~=0 then
    	data=string.sub(data,1,c) or ""
    	end
    else
    data="check data type"
    end
    return data
    end--end main function
    Conky on the left uses mrpeachy's v9000 LUA weather script, you will need to get that if you do not have it.
    Code:
    ###  Begin Window Settings  ##################################################
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal #override
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager
    #own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    own_window_colour gray
    own_window_class Conky
    own_window_title Vert_Right
    
    # Use the Xdbe extension? (eliminates flicker)
    # It is highly recommended to use own window with this one
    # so double buffer won't be so big.
    double_buffer yes
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    # own_window_argb_visual yes
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    # own_window_argb_value 0
    
    minimum_size 50 760     ## width, height
    maximum_width 50       ## width, usually a good idea to equal minimum width
    
    gap_x 10 # left-right
    gap_y 10 # up-down
    
    alignment tl #top_right
    ###################################################  End Window Settings  ###
    ###  Font Settings  #########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    #xftfont Anonymous Pro:bold:size=8
    xftfont Monofur:bold:size=10
    
    # Alpha of Xft font. Must be a value at or between 1 and 0 ###
    xftalpha 1
    # Force UTF8? requires XFT ###
    override_utf8_locale yes
    
    uppercase no
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    draw_shades yes
    default_shade_color black
    
    draw_outline no # amplifies text if yes
    default_outline_color black
    
    default_color DCDCDC #220 220 220	Gainsboro
    color0 8FBC8F #143 188 143	DarkSeaGreen
    color1 F0FFFF #240 255 255	Azure
    color2 FF8C00 #255 140   0	DarkOrange
    color3 7FFF00 #127 255   0	Chartreuse
    color4 FFA07A #255 160 122	LightSalmon
    color5 FFDEAD #255 222 173	NavajoWhite
    color6 00BFFF #  0 191 255	DeepSkyBlue
    color7 00FFFF #  0 255 255	Cyan
    color8 FFFF00 #255 255   0	Yellow
    color9 FF0000 #255   0   0    Red
    #####################################################  End Color Settings  ###
    ###  Borders Section  ########################################################
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_inner_margin 5
    border_outer_margin 0
    # border width
    border_width 0
    # graph borders
    draw_graph_borders no #yes
    #default_graph_size 15 40
    #####################################################  End Borders Secton  ###
    ###  Miscellaneous Section  ##################################################
    # Boolean value, if true, Conky will be forked to background when started.
    background no
    
    # Adds spaces around certain objects to stop them from moving other things
    # around, this only helps if you are using a mono font
    # Options: right, left or none
    use_spacer none
    
    # Default and Minimum size is 256 - needs more for single commands that
    # "call" a lot of text IE: bash scripts
    text_buffer_size 1028
    
    # Subtract (file system) buffers from used memory?
    no_buffers yes
    
    # change GiB to G and MiB to M
    short_units yes
    
    # Like it says, ot pads the decimals on % values
    # doesn't seem to work since v1.7.1
    pad_percents 2
    
    #   Maximum size of user text buffer, i.e. layout below TEXT line in config file
    #  (default is 16384 bytes)
    # max_user_text 16384
    
    # Desired output unit of all objects displaying a temperature. Parameters are
    # either "fahrenheit" or "celsius". The default unit is degree Celsius.
    # temperature_unit Fahrenheit
    
    ##############################################  End Miscellaneous Section  ###
    ###  LUA Settings  ###########################################################
    ## Above and After TEXT - requires a composite manager or blinks.
    ##
    # lua_load /media/5/Conky/LUA/draw-bg.lua
    #TEXT
    #${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
    #
    ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    ##
    ## OR Both above TEXT (No composite manager required - no blinking!)
    #
    lua_load /media/5/Conky/LUA/draw-bg.lua
    #lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
    # lua_draw_hook_post draw-bg 125 0 0 0 0 0x000000 0.01
    #
    # TEXT
    #
    ############### V9000 ########################################################
    #starts the lua weather data gathering function, call once at top of conkyrc
     lua_load ~/v9000/v9000.lua
     lua_draw_hook_post weather
     lua_load /media/5/Conky/templates/S11_V9_R-template.lua
    #######################################################  End LUA Settings  ###
    # The all important - How often conky refreshes.
    # If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
    update_interval 1
    
    TEXT
    ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.3}
    S11_V9_R-template.lua
    Code:
    --[[
     The latest script is a lua only weather script. aka: v9000
     http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/
    
     the file:
     http://dl.dropbox.com/u/19008369/current%20v9000/v9000.tar.gz
    
     mrppeachys LUA Tutorial
     http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
    ]]
    _G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
    --these tables hold the coordinates for each repeat do not edit #########
    top_left_x_coordinate={}--###############################################
    top_left_y_coordinate={}--###############################################
    --#######################################################################
    --SET DEFAULTS ##########################################################
    --set defaults do not localise these defaults if you use a seperate display script
    -- default_font="CorporateMonoExtraBold"--font must be in quotes
    -- default_font_size=10
    default_font="monofur"	--font must be in quotes
    default_font_size=13
    default_color=0xffffff	--white
    default_alpha=1		--fully opaque
    default_image_width=20
    default_image_height=20
    -- ## New Options ###
    -- ##################
    default_face="bold"
    -- "normal" for normal/normal
    -- "bold" for normal/bold
    -- "italic" for italic/normal
    -- "bolditalic" for italic/bold
    --END OF DEFAULTS #######################################################
    --START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
    datay=15		-- ↑↓
    datayh=55
    datayf=75
    datayy=13		--datay+(datayy*1)
    
    imgyh=165
    imgyf=190
    imgyy=39		-- imgy+(imgyy*1)
    
     out({c=0x00FFFF,a=1,x=12,y=15,txt="BsAs"})
    -- today is
    out({c=0x00FFFF,a=1,x=5,y=28,txt=forecast_day_short[1]})
    out({c=0x00FFFF,a=1,x=35,y=datay+datayy,txt=forecast_date[1]})
    -- out({c=0x00FFFF,,a=1,x=6,y=50,txt="cpu:"..conky_parse("${cpu}")})
    
    out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*2),txt=low_temp[1]})
    out({c=0xFF8C00,a=1,x=30,y=datay+(datayy*2),txt=high_temp[1]})
      image({x=5,y=45,h=45,w=45,file=weather_icon[1]})
    --image({x=5,y=45,h=45,w=45,file="/media/5/Conky/images/red+x.png"})
    
    out({c=0xFFDEAD,a=1,x=15,y=datay+(datayy*7),txt="NOW"})
    out({c=0xF0FFFF,a=1,x=7,y=datay+(datayy*8),txt=now["temp"]})
    out({c=0xFFDEAD,a=1,x=30,y=datay+(datayy*8),txt=now["feels_like"]})
    image({x=5,y=120,h=45,w=45,file=now["weather_icon"]})
    --image({x=5,y=120,h=45,w=45,file="/media/5/Conky/images/red+x.png"})
    
    out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*12.5),txt="B.P."})
    out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*13.4),txt=now["pressure_mb"]})
    out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*14.5),txt="Hum"})
    out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*14.5),txt=now["humidity"].."%"})
    out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*15.5),txt="DP"})
    out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*15.5),txt=now["dew_point"].."°"})
    out({c=0x00FFFF,a=1,x=5,y=datay+(datayy*16.5),txt="UV"})
    out({c=0xF0FFFF,a=1,x=30,y=datay+(datayy*16.5),txt=uv_index_num[1]})
    out({c=0xF0FFFF,a=1,x=5,y=datay+(datayy*17.5),txt=uv_index_txt[1]})
    
    -- yellow line
    image({w=45,h=1,x=5,y=datayh+(datayy*15),file="/media/5/Conky/images/yellow_1.png"})
    out({c=0xFFDEAD,a=1,x=10,y=datayh+(datayy*16),txt="3 HRS"})
    -- 3 hour output
    -- 1st hour
    out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*17),txt=now["fc_hour1_time_24"]..":00"})
    image({x=25,y=imgyh+(imgyy*3),file=now["fc_hour1_wicon"]})
    --image({x=25,y=imgyh+(imgyy*3),file="/media/5/Conky/images/red+x.png"})
    out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*18.5),txt=now["fc_hour1_temp"]})
    
    -- 2nd hour
    out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*20),txt=now["fc_hour2_time_24"]..":00"})
    image({x=25,y=imgyh+(imgyy*4),file=now["fc_hour2_wicon"]})
    --image({x=25,y=imgyh+(imgyy*4),file="/media/5/Conky/images/red+x.png"})
    out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*21.5),txt=now["fc_hour2_temp"]})
    
    -- 3rd hour
    out({c=0x00FFFF,a=1,x=11,y=datayh+(datayy*23),txt=now["fc_hour3_time_24"]..":00"})
    image({x=25,y=imgyh+(imgyy*5),file=now["fc_hour3_wicon"]})
    --image({x=25,y=imgyh+(imgyy*5),file="/media/5/Conky/images/red+x.png"})
    out({c=0xF0FFFF,a=1,x=5,y=datayh+(datayy*24.5),txt=now["fc_hour3_temp"]})
    
    -- start of forcast days
    -- yellow line
    image({w=45,h=1,x=5,y=datayf+(datayy*24.5),file="/media/5/Conky/images/yellow_1.png"})
    
    out({c=0xFFDEAD,a=1,x=10,y=datayf+(datayy*25.5),txt="9 DAY"})
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*26.5),txt=forecast_day_short[2]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*26.5),txt=forecast_date[2]})
    image({x=25,y=imgyf+(imgyy*6),file=weather_icon[2]})
    --image({x=25,y=imgyf+(imgyy*6),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*27.5),txt=high_temp[2]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*28.5),txt=low_temp[2]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*29.5),txt=forecast_day_short[3]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*29.5),txt=forecast_date[3]})
    image({x=25,y=imgyf+(imgyy*7),file=weather_icon[3]})
    --image({x=25,y=imgyf+(imgyy*7),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*30.5),txt=high_temp[3]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*31.5),txt=low_temp[3]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*32.5),txt=forecast_day_short[4]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*32.5),txt=forecast_date[4]})
    image({x=25,y=imgyf+(imgyy*8),file=weather_icon[4]})
    --image({x=25,y=imgyf+(imgyy*8),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*33.5),txt=high_temp[4]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*34.5),txt=low_temp[4]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*35.5),txt=forecast_day_short[5]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*35.5),txt=forecast_date[5]})
    image({x=25,y=imgyf+(imgyy*9),file=weather_icon[5]})
    --image({x=25,y=imgyf+(imgyy*9),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*36.5),txt=high_temp[5]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*37.5),txt=low_temp[5]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*38.5),txt=forecast_day_short[6]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*38.5),txt=forecast_date[6]})
    image({x=25,y=imgyf+(imgyy*10),file=weather_icon[6]})
    --image({x=25,y=imgyf+(imgyy*10),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*39.5),txt=high_temp[6]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*40.5),txt=low_temp[6]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*41.5),txt=forecast_day_short[7]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*41.5),txt=forecast_date[7]})
    image({x=25,y=imgyf+(imgyy*11),file=weather_icon[7]})
    --image({x=25,y=imgyf+(imgyy*11),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*42.5),txt=high_temp[7]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*43.5),txt=low_temp[7]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*44.5),txt=forecast_day_short[8]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*44.5),txt=forecast_date[8]})
    image({x=25,y=imgyf+(imgyy*12),file=weather_icon[8]})
    --image({x=25,y=imgyf+(imgyy*12),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*45.5),txt=high_temp[8]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*46.5),txt=low_temp[8]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*47.5),txt=forecast_day_short[9]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*47.5),txt=forecast_date[9]})
    image({x=25,y=imgyf+(imgyy*13),file=weather_icon[9]})
    --image({x=25,y=imgyf+(imgyy*13),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*48.5),txt=high_temp[9]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*49.5),txt=low_temp[9]})
    
    out({c=0x00FFFF,a=1,x=5,y=datayf+(datayy*50.5),txt=forecast_day_short[10]})
    out({c=0x00FFFF,a=1,x=35,y=datayf+(datayy*50.5),txt=forecast_date[10]})
    image({x=25,y=imgyf+(imgyy*14),file=weather_icon[10]})
    --image({x=25,y=imgyf+(imgyy*14),file="/media/5/Conky/images/red+x.png"})
    out({c=0xFF8C00,a=1,x=5,y=datayf+(datayy*51.5),txt=high_temp[10]})
    out({c=0xF0FFFF,a=1,x=5,y=datayf+(datayy*52.5),txt=low_temp[10]})
    
    -- yellow line
    --image({w=45,h=1,x=5,y=550,file="/media/5/Conky/images/yellow_1.png"})
    
    --#######################################################################
    --END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
    --#######################################################################
    end--of weather_display function do not edit this line ##################
    --#######################################################################
    The bottom conky
    • Uses conkyEmail and is designed for 4 email accounts with a max of 99 new unread emails for each account, I'll never reach that - the Desktop I'm on at the time and the currency exchange rate.

    Code:
    # To use #! in a conky use: ${exec echo '#!'}
    # killall conky && conky -c /media/5/Conky/S11_Email_1.conky &
    # WARNING: Change name and passwords on e-mail code if posting!!
    
    ###  Begin Window Settings  ##################################################
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_transparent yes
    #own_window_hints undecorated,below,skip_taskbar,skip_pager
    own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    #own_window_colour gray
    own_window_class Conky
    own_window_title Email 1 Line
    
    # Use the Xdbe extension? (eliminates flicker)
    # It is highly recommended to use own window with this one
    # so double buffer won't be so big.
    double_buffer yes
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    # own_window_argb_visual yes # Options: yes or no
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    # own_window_argb_value 255
    
    minimum_size 730 0  ##420 420   ## width, height
    maximum_width 730     ##420       ## width
    
    gap_x 0		### left &right
    gap_y 35		### up & down
    
    alignment bm
    ####################################################  End Window Settings  ###
    ###  Font Settings  ##########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    xftfont Monofur:bold:size=16
    #xftfont White Rabbit:size=9
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Alpha of Xft font. Must be a value at or between 1 and 0 ###
    xftalpha 1
    # Force UTF8? requires XFT ###
    override_utf8_locale yes
    
    uppercase no
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    draw_shades yes # amplifies text if yes
    default_shade_color 000000
    
    draw_outline no # amplifies text if yes
    default_outline_color 000000
    
    default_color DCDCDC #220 220 220	Gainsboro
    color0 8FBC8F #143 188 143	DarkSeaGreen
    color1 778899 #119 136 153	LightSlateGray
    color2 FF8C00 #255 140   0	DarkOrange
    color3 7FFF00 #127 255   0	Chartreuse
    color4 FFA07A #255 160 122	LightSalmon
    color5 FFDEAD #255 222 173	NavajoWhite
    color6 00BFFF #  0 191 255	DeepSkyBlue
    color7 00FFFF #  0 255 255	Cyan
    color8 FFFF00 #255 255   0	Yellow
    color9 B22222 #178  34  34	FireBrick ##FF0000 #255   0   0	Red
    #####################################################  End Color Settings  ###
    ###  Borders Section  ########################################################
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_inner_margin 5
    border_outer_margin 0
    # border width
    border_width 0
    # graph borders
    draw_graph_borders yes #no
    #default_graph_size 15 40
    #####################################################  End Borders Secton  ###
    ###  Miscellaneous Section  ##################################################
    # Boolean value, if true, Conky will be forked to background when started.
    background yes
    
    # Adds spaces around certain objects to stop them from moving other things
    # around, this only helps if you are using a mono font
    # Options: right, left or none
    use_spacer none
    
    # Default and Minimum size is 256 - needs more for single commands that
    # "call" a lot of text IE: bash scripts
    text_buffer_size 256
    
    # Subtract (file system) buffers from used memory?
    no_buffers yes
    
    # change GiB to G and MiB to M
    short_units yes
    
    # Like it says, ot pads the decimals on % values
    # doesn't seem to work since v1.7.1
    pad_percents 2
    
    # Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
    # $image lots. Set to 0 to disable the image cache.
    
    imlib_cache_size 0
    
    #   Maximum size of user text buffer, i.e. layout below TEXT line in config file
    #  (default is 16384 bytes)
    # max_user_text 16384
    
    # Desired output unit of all objects displaying a temperature. Parameters are
    # either "fahrenheit" or "celsius". The default unit is degree Celsius.
    # temperature_unit Fahrenheit
    
    ##############################################  End Miscellaneous Section  ###
    ###  LUA Settings  ###########################################################
    ## Above and After TEXT - requires a composite manager or blinks.
    ##
    # lua_load /media/5/Conky/LUA/draw-bg.lua
    #TEXT
    # ${lua conky_draw_bg 125 0 0 0 0 0x000000 0.2}
    #
    ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    ##
    ## OR Both above TEXT (No composite manager required - no blinking!)
    #
    #--------------------------------
    lua_load /media/5/Conky/LUA/draw-bg.lua
    #lua_draw_hook_pre draw_bg 20 0 0 0 0 0x000000 0.2
    #lua_draw_hook_post draw_bg 20 0 0 0 0 0x000000 0.2
    #
    # TEXT
    # ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
    ##
    #
    #######################################################  End LUA Settings  ###
    update_interval 1
    
    TEXT
    ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.4}\
    Email   ${color5}C ${color7}${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD} < 9}0\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD}${else}\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD}\
    ${endif}${endif}\
    :\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD} < 10}0\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD}${else}\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD}\
    ${endif}${endif}\
       ${color5}S ${color7}${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD} < 9}0\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD}${else}\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --port=NUMBER --username=USER-NAME --password=PASSWORD}\
    ${endif}${endif}\
    :\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD} < 10}0\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD}${else}\
    ${execi 90 conkyEmail --servername=MAIL-SERVER --servertype=POP --ssl --port=NUMBER --username=USER-NAME --password=PASSWORD}\
    ${endif}${endif}\
       ${color5}D ${color6}${desktop_name}\
       ${color5}1 CAD ${color}=${color7} ${execi 1800 wget --timeout=1.0 --tries=1 -O - http://themoneyconverter.com/rss-feed/CAD/rss.xml | grep "Argentine Peso" | cut -c 40-47}\
       ${color5}1 ARS ${color}=${color7} ${execi 1800 wget --timeout=1.0 --tries=1 -O - http://themoneyconverter.com/rss-feed/ARS/rss.xml | grep "Canadian Dollar" | cut -c 39-45}
    draw-bg.lua - used by all conkys.
    Code:
    --[[Background originally by londonali1010 (2009)
        ability to set any size for background mrpeachy 2011
        ability to set variables for bg in conkyrc dk75
    
      the change is that if you set width and/or height to 0
      then it assumes the width and/or height of the conky window
    
    so:
    
    Above and After TEXT  (requires a composite manager or it blinks!)
    
     lua_load ~/wea_conky/draw_bg.lua
     TEXT
     ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
    
    OR Both above TEXT (no composite manager required - no blinking!)
    
     lua_load ~/wea_conky/draw_bg.lua
     lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
     TEXT
    
    Note
    ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
      See below:        1  2 3 4 5 6        7
    
    ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    
    covers the whole window and will change if you change the minimum_size setting
    
    1 = 20             corner_radius
    2 = 0             x_position
    3 = 0             y_position
    3 = 0             width
    5 = 0             height
    6 = 0x000000      color
    7 = 0.4           alpha
    
    ######### calendar function ##################################################
    
    then to use it, you activate the calendar function BELOW TEXT like this
    
    ${lua luacal {settings}}
    
    #${lua luacal {x=,y=,tf="",tfs=,tc=,ta=,bf="",bfs=,bc=,ba=,hf="",hfs=,hc=,ha=,sp="",gh=,gt=,gv=,sd=}}
    #    x=x position top left
    #    y=y position top left
    #    tf=title font, eg "mono" must be in quotes
    #    tfs=title font size
    #    tc=title color
    #    ta=title alpha
    #    bf=body font, eg "mono" must be in quotes
    #    bfs=body font size
    #    bc=body color
    #    ba=body alpha
    #    hf=highlight font, eg "mono" must be in quotes
    #    hfs=highlight font size
    #    hc=highlight color
    #    ha=highlight alpha
    #    sp=spacer, eg " " or sp="0"... 0,1 or 2 spaces can help with positioning of non-monospaced fonts
    
    #    gt=gap from title to body
    #    gh=gap horizontal between columns
    #    gv=gap vertical between rows
    #    sd=start day, 0=Sun, 1=Mon
    
    #    hstyle = heading style, 0=just days, 1=date insert
    #    tdf=title date font, eg "mono" must be in quotes
    #    tdfs=title date font size
    #    tdc=title date color
    #    tda=title date alpha
    
    # test line
    -- ${lua luacal {x=10,y=100,tf="Purisa",tfs=24,tc=0xf67e16,ta=1,bf="First Order",bfs=26,bc=0xecd32a,ba=1,hf="Purisa",hfs=18,hc=0xf67e16,ha=1,sp=" ",gh=40,gt=25,gv=20,sd=0,hstyle=1,tdf="First Order",tdfs=28,tdc=0xff0000,tda=1}}
    
    
    ]]
    
    require 'cairo'
    local    cs, cr = nil
    function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    function conky_draw_bg(r,x,y,w,h,color,alpha)
    if conky_window == nil then return end
    if cs == nil then cairo_surface_destroy(cs) end
    if cr == nil then cairo_destroy(cr) end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local cr = cairo_create(cs)
    w=w
    h=h
    if w=="0" then w=tonumber(conky_window.width) end
    if h=="0" then h=tonumber(conky_window.height) end
    cairo_set_source_rgba (cr,rgb_to_r_g_b(color,alpha))
    --top left mid circle
    local xtl=x+r
    local ytl=y+r
    --top right mid circle
    local xtr=(x+r)+((w)-(2*r))
    local ytr=y+r
    --bottom right mid circle
    local xbr=(x+r)+((w)-(2*r))
    local ybr=(y+r)+((h)-(2*r))
    --bottom right mid circle
    local xbl=(x+r)
    local ybl=(y+r)+((h)-(2*r))
    -----------------------------
    cairo_move_to (cr,xtl,ytl-r)
    cairo_line_to (cr,xtr,ytr-r)
    cairo_arc(cr,xtr,ytr,r,((2*math.pi/4)*3),((2*math.pi/4)*4))
    cairo_line_to (cr,xbr+r,ybr)
    cairo_arc(cr,xbr,ybr,r,((2*math.pi/4)*4),((2*math.pi/4)*1))
    cairo_line_to (cr,xbl,ybl+r)
    cairo_arc(cr,xbl,ybl,r,((2*math.pi/4)*1),((2*math.pi/4)*2))
    cairo_line_to (cr,xtl-r,ytl)
    cairo_arc(cr,xtl,ytl,r,((2*math.pi/4)*2),((2*math.pi/4)*3))
    cairo_close_path(cr)
    cairo_fill (cr)
    ------------------------------------------------------------
    cairo_surface_destroy(cs)
    cairo_destroy(cr)
    return ""
    end
    -- ###### calendar function ##################################################
    function conky_luacal(caltab) -- {x=,y=,tf="",tfs=,tc=,ta=,bf="",bfs=,bc=,ba=,hf="",hfs=,hc=,ha=,sp="",gt=,gh=,gv=,sd=,hstyle=,tdf=,tdfs=,tdc=,tda=}
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local cr = cairo_create(cs)
    --############################################################################
    if caltab.x==nil then
    caltab=loadstring("return" .. caltab)()
    end
    local cal_x=caltab.x
    local cal_y=caltab.y
    local tfont=caltab.tf		or "mono"
    local tfontsize=caltab.tfs	or 12
    local tc=caltab.tc			or 0xffffff
    local ta=caltab.ta			or 1
    local bfont=caltab.bf		or "mono"
    local bfontsize=caltab.bfs	or 12
    local bc=caltab.bc			or 0xffffff
    local ba=caltab.ba			or 1
    local hfont=caltab.hf		or "mono"
    local hfontsize=caltab.hfs	or 12
    local hc=caltab.hc			or 0xff0000
    local ha=caltab.ha			or 1
    local spacer=caltab.sp		or " "
    local gaph=caltab.gh		or 20
    local gapt=caltab.gt		or 15
    local gapl=caltab.gv		or 15
    local sday=caltab.sd		or 0
    local hstyle=caltab.hstyle	or 0
    --convert colors
    --local font=string.gsub(font,"_"," ")
    local tred,tgreen,tblue,talpha=rgb_to_r_g_b(tc,ta)
    --main body text color
    local bred,bgreen,bblue,balpha=rgb_to_r_g_b(bc,ba)
    --highlight text color
    local hred,hgreen,hblue,halpha=rgb_to_r_g_b(hc,ha)
    --############################################################################
    --calendar calcs
    local year=os.date("%G")
    local today=tonumber(os.date("%d"))
    local t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    local t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    local 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-sday
    local day_num = today
    local remainder=day_num % 7
    local start_day=day-(day_num % 7)
    if start_day<0 then start_day=7+start_day end
    local month=os.date("%m")
    local mdays=monthdays[tonumber(month)]
    local x=mdays+start_day
    local dnum={}
    local dnumh={}
    if mdays+start_day<36 then
    dlen=35
    plen=29
    else
    dlen=42
    plen=36
    end
    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 dn==(spacer .. today) or dn==today then
            dnumh[i]=dn
            place=i
            else dnumh[i]="  "
            end
        end
    end--for
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    local extents=cairo_text_extents_t:create()
    tolua.takeownership(extents)
    if hstyle==0 then
        if tonumber(sday)==0 then
        dys={"SU","MO","TU","WE","TH","FR","SA"}
        else
        dys={"MO","TU","WE","TH","FR","SA","SU"}
        end
        --draw calendar titles
    elseif hstyle==1 then
        if tonumber(sday)==0 then
        dys={"SU","MO"," ","  ","  ","FR","SA"}
        cairo_text_extents(cr,"MO",extents)
        local s=extents.x_advance+gaph
        local f=gaph*5
        local tdfont=caltab.tdf        or "mono"
        local tdfontsize=caltab.tdfs    or 12
        local tdc=caltab.tdc        or 0xffffff
        local tda=caltab.tda        or 1
        cairo_select_font_face (cr, tdfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, tdfontsize);
        local tdred,tdgreen,tdblue,tdalpha=rgb_to_r_g_b(tdc,tda)
        cairo_set_source_rgba (cr,tdred,tdgreen,tdblue,tdalpha)
        local insert=os.date("%b %y")
        cairo_text_extents(cr,insert,extents)
        local w=extents.x_advance
        cairo_move_to (cr, cal_x+((s+f)/2)-(w/2), cal_y)
        cairo_show_text (cr,insert)
        cairo_stroke (cr)
        else
        dys={"MO","TU"," ","  ","  ","SA","SU"}
        cairo_text_extents(cr,"TU",extents)
        local s=extents.x_advance+gaph
        local f=gaph*5
        local tdfont=caltab.tdf        or "mono"
        local tdfontsize=caltab.tdfs    or 12
        local tdc=caltab.tdc        or 0xffffff
        local tda=caltab.tda        or 1
        cairo_select_font_face (cr, tdfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, tdfontsize);
        local tdred,tdgreen,tdblue,tdalpha=rgb_to_r_g_b(tdc,tda)
        cairo_set_source_rgba (cr,tdred,tdgreen,tdblue,tdalpha)
        local insert=os.date("%b %y")
        cairo_text_extents(cr,insert,extents)
        local w=extents.x_advance
        cairo_move_to (cr, cal_x+((s+f)/2)-(w/2), cal_y)
        cairo_show_text (cr,insert)
        cairo_stroke (cr)
        end
    end
    --draw calendar titles
    for i=1,7 do
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    cairo_move_to (cr, cal_x+(gaph*(i-1)), cal_y)
    cairo_show_text (cr, dys[i])
    cairo_stroke (cr)
    end
    --draw calendar body
    cairo_select_font_face (cr, bfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, bfontsize);
    cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
    local fn=i
        for i=fn,fn+6 do
        cairo_move_to (cr, cal_x+(gaph*(i-fn)),cal_y+gapt+(gapl*((fn-1)/7)))
        cairo_show_text (cr, dnum[i])
        cairo_stroke (cr)
        end
    end
    --highlight
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, hfontsize);
    cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
    local fn=i
        for i=fn,fn+6 do
        cairo_move_to (cr, cal_x+(gaph*(i-fn)),cal_y+gapt+(gapl*((fn-1)/7)))
        cairo_show_text (cr, dnumh[i])
        cairo_stroke (cr)
        end
    end
    --############################################################################
    caltab=nil
    dlen=nil
    plen=nil
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    return ""
    end
    -- end main function #########################################################

  9. #21739
    Join Date
    Nov 2012
    Beans
    6

    Re: Post your .conkyrc files w/ screenshots

    Having now settled on MATE for my desktop with 'marco' being the desktop manager, I'm now trying to get my conky's to behave. I run a posh one on the right showing basic details, my working one in the centre, and along the bottom a very comprehensive weather script by arclance. And its that that I'd like help with please? i would like to
    [a] have a smaller font throughout the output, so that its stays inline with the other two scripts that are outputting to the desktop, and [b] how do i turn the radar off please? I've looked through the main script but cant see anything very obvious!

    If you look on the screenshot you can see all three scripts in action and see what I mean.

    Thanks
    Sharon.
    Attached Images Attached Images

  10. #21740
    Join Date
    Apr 2013
    Beans
    12

    Re: Post your .conkyrc files w/ screenshots

    Grabbed the design flow from misteraibo at archlinux forums.
    Too bad that nvidia is so fishy with changing the outputs of nvidia-smi with newer drivers. Could use that GPU usage.
    Don't mind my comments or weird structure inside, still learning, new to conky and linux.

    Code:
    # File: .conkyrc
    # 
    # Used outputs:
    # vnstat
    # sensors
    # nvidia-smi
    # nvidia-settings
    # rhythmbox-client
    
    #Window
    own_window yes
    own_window_class Conky
    own_window_type normal    
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 
    own_window_transparent no
    own_window_colour 2E3436
    own_window_argb_visual yes
    background no
    border_width 0
    draw_graph_borders yes
    draw_borders no
    draw_outline no
    draw_shades no
    show_graph_scale no
    show_graph_range no
    
    #Position
    gap_x 15
    gap_y 0                
    minimum_size 260 1024        #width height
    maximum_width 260
    alignment middle_right
    #$(voffset 510}
    #${offset 1110}
    
    #Font
    use_xft yes
    xftfont Ubuntu Mono:size=13     #DejaVu Sans Mono:size=11
    default_color white
    default_outline_color white
    default_shade_color white
    color0 grey
    
    # Updating output
    double_buffer yes        #yes=no flickering 
    update_interval 5.0
    net_avg_samples 2
    cpu_avg_samples 2
    no_buffers yes
    
    #?
    out_to_console no
    out_to_stderr no
    extra_newline no
    stippled_borders 0
    uppercase no
    use_spacer none
    
    TEXT
     ${color}${font bold:size=30}${alignc}${time %H:%M}${font}${color0}
     ${alignc}${color0}${time %d %B %Y}
    
     ${color}${nodename}${color0}
     |___${color}$kernel${color0}
     |
     |___Networking:${color0}
     |   |__${color lightred}${downspeed eth1}${color0}/${color lightgreen}${upspeed eth1}${color0}
     |   |__Today:${color}${execi 300 vnstat -i eth1 | grep "today" | awk '{print $2 $3}'}${color0}
     |   |__Month:${color}${execi 300 vnstat -m -i eth1| grep `date | cut -d' ' -f2`|awk '{print $3 $4}'}${color0}
     |
     |___Usage:${color0}
     |   |__CProcessor:${color0}
     |   |  |_Temperature:${color}${execi 5 sensors | grep "CPU Temperature" | awk '{print $3}' | cut -c2-3}C${color0}
     |   |  |_${color}${cpu cpu1}% ${color0}${cpubar cpu1 13}${color0}
     |   |  |_${color}${cpu cpu2}% ${color0}${cpubar cpu2 13}${color0}
     |   |
     |   |__GProcessor:${color0}
     |   |  |_Temperature:${color}${execi 5 nvidia-settings -query GPUCoreTemp | grep 'Attribute' | awk '{print $4}' | cut -c1-2}C${color0}
     |   |  |_Fan Speed:${color}${execi 5 nvidia-smi -q -a | grep "Fan Speed" | awk '{print $4 $5}'}${color0}
     |   | 
     |   |__Memory:${color0}
     |   |  |_${color}$mem${color0}/$memmax${color0}
     |   |  |_${color}$memperc% ${color0}${membar 13}${color0}
     |   |
     |   |__Swap:${color0}
     |      |_${color}$swap${color0}/$swapmax${color0}
     |      |_${color}$swapperc% ${color0}${swapbar 13}${color0}
     |
    ${if_running rhythmbox} |___Music:${color0}
     |   |__${execi 30 rhythmbox-client --no-start --print-playing-format %aa}${color0}
     |      |_${color}${execi 30 rhythmbox-client --no-start --print-playing-format %tt}${color0}
     |
    ${endif} |___Uptime:${color0}
         |__${color}${uptime_short}
    Attached Images Attached Images

Page 2174 of 2298 FirstFirst ... 1174167420742124216421722173217421752176218422242274 ... 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
  •