Page 124 of 287 FirstFirst ... 2474114122123124125126134174224 ... LastLast
Results 1,231 to 1,240 of 2865

Thread: HOWTO: VinDSL Conky Script

  1. #1231
    Join Date
    Jul 2009
    Beans
    12

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by Cavsfan View Post
    You are welcome! I sort of felt like I was butting in but, I had the same question at one time and thought I could point you to the same solution I was given.
    So, you got it all setup correctly?
    Yes, It works! Now conky is very beautifull! Maybe, in the next days, I will change the weather...

  2. #1232
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Question Re: HOWTO: VinDSL Conky Script

    Well after running xubuntu 10.10 I decided to do a new install of Saucy and move to VinDSL's Conky.

    While I've worked thru this thread, I have a very basic problem. When I launch conky it brings up the basic window specified in the conky.conf located in /etc/conky. instead of my custom .conkyrc in /home/username/.conky

    Yes, while I've been using for over ten years I still am making newb mistakes. Any help would be greatly appreciated, thanks!

    Xubuntu 13.10, Cairo, Conky

  3. #1233
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Smile Re: HOWTO: VinDSL Conky Script

    Found the problem! Of course that doesn't mean I'm done.

    I've attached a screen shot and my conkyrc. I can see I have some work to do on sensor configuration and getting conkywx up. But that's why I enjoy this!

    Thanks for any suggestions.



    Sorry about the full size image, still getting my image editor setup

    Code:
    ###############################################
    ## VinDSL | rev. 12-11-19 11:55 | ver. 1.0.0 ##
    ###############################################
    ##          Tom's 12-13                      ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 14.04 'Trusty Tahr'  (GNOME 3.8 - Conky 1.9.0-3)
    #  Screen Resolution: 1920x1200x24 (Hanns-G 28" monitor)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-3
    #  Conkywx 1.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    # 
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 4352
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 700
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    #minimum_size 245 1394
    minimum_size 445 1894
    maximum_width 1200 
    ####added by me
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 114688
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 245
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 6      # Left/Right
    gap_y 32  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White        #FFFFFF
    color1 Ivory        #FFFFF0
    color2 Ivory2        #EEEEE0
    color3 Ivory3        #CDCDC1
    color4 Tan1        #FFA54F
    color5 Tan2        #EE9A49
    color6 Gray        #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray        #696969
    color9 Tomato        #FF6347
    # colorX OrangeRed    #FF4500
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/bargraph_small.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/tom/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/tom/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-cavsfan-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static)
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
    ####
    ## Uncomment for soft-coded ID (dynamic)
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=12.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}Video Card Product Name${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    #${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}2.83${offset 1}GHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    ${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -v | grep grub-install | cut -c21-42}${font}
    ##################################
    ##          PROCESSORS          ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SDISK USB${goto 95}${font DroidSans:size=8.3}${fs_used /media/tom/SDISK}${goto 133}/${offset 5}${fs_size /media/tom/SDISK}${alignr}${fs_free_perc /media/tom/SDISK}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 7}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 7}${alignr}${top_mem mem 7}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 8}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 8}${alignr}${top_mem mem 8}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 9}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 9}${alignr}${top_mem mem 9}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 10}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 10}${alignr}${top_mem mem 8}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Demo mode
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}${color8}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font RadioSpace:size=32}${color0}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -1}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color0}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color0}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -80}${font CutOutsFor3DFX:size=67}${color7}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    #${if_running banshee}
    #${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -10}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    #${if_running guayadeque}
    #${voffset -33}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    #${if_running vlc}
    #${voffset -55}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -3}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##     Audaciuos                ##
    ##################################
    ${if_running audacious}
    ${voffset -70}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 2}$font$
    ${voffset -3}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${color4}${audacious_bar 10,250 }${color6}
    ${audacious_position}/${audacious_length}  Sample Rate${alignc} ${audacious_frequency} Hz ${alignr}${audacious_status}${endif}

  4. #1234

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by pcgeek2t View Post
    Found the problem! Of course that doesn't mean I'm done.

    I've attached a screen shot and my conkyrc. I can see I have some work to do on sensor configuration and getting conkywx up. But that's why I enjoy this!

    Thanks for any suggestions.

    Sorry about the full size image, still getting my image editor setup

    Code:
    ###############################################
    ## VinDSL | rev. 12-11-19 11:55 | ver. 1.0.0 ##
    ###############################################
    ##          Tom's 12-13                      ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 14.04 'Trusty Tahr'  (GNOME 3.8 - Conky 1.9.0-3)
    #  Screen Resolution: 1920x1200x24 (Hanns-G 28" monitor)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-3
    #  Conkywx 1.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    # 
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 4352
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 700
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    #minimum_size 245 1394
    minimum_size 445 1894
    maximum_width 1200 
    ####added by me
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 114688
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 245
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 6      # Left/Right
    gap_y 32  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White        #FFFFFF
    color1 Ivory        #FFFFF0
    color2 Ivory2        #EEEEE0
    color3 Ivory3        #CDCDC1
    color4 Tan1        #FFA54F
    color5 Tan2        #EE9A49
    color6 Gray        #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray        #696969
    color9 Tomato        #FF6347
    # colorX OrangeRed    #FF4500
    
    ##### Make sure these files are there where they should be for lua to work
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/bargraph_small.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    # Change bold n blue below to your user name
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/tom/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/tom/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-cavsfan-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static)
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
    ####
    ## Uncomment for soft-coded ID (dynamic)
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=12.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}Video Card Product Name${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    #${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}2.83${offset 1}GHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    ${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -v | grep grub-install | cut -c21-42}${font}
    ##################################
    ##          PROCESSORS          ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SDISK USB${goto 95}${font DroidSans:size=8.3}${fs_used /media/tom/SDISK}${goto 133}/${offset 5}${fs_size /media/tom/SDISK}${alignr}${fs_free_perc /media/tom/SDISK}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 7}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 7}${alignr}${top_mem mem 7}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 8}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 8}${alignr}${top_mem mem 8}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 9}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 9}${alignr}${top_mem mem 9}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 10}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 10}${alignr}${top_mem mem 8}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Demo mode
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}${color8}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font RadioSpace:size=32}${color0}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -1}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color0}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color0}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -80}${font CutOutsFor3DFX:size=67}${color7}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    #${if_running banshee}
    #${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -10}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    #${if_running guayadeque}
    #${voffset -33}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    #${if_running vlc}
    #${voffset -55}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -3}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##     Audaciuos                ##
    ##################################
    ${if_running audacious}
    ${voffset -70}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 2}$font$
    ${voffset -3}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${color4}${audacious_bar 10,250 }${color6}
    ${audacious_position}/${audacious_length}  Sample Rate${alignc} ${audacious_frequency} Hz ${alignr}${audacious_status}${endif}
    Looking great - have a look at my comments in the quote - just above the TEXT section.

    cheers

  5. #1235
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Smile Re: HOWTO: VinDSL Conky Script

    Code:
    ##### Make sure these files are there where they should be for lua to work
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/bargraph_small.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    # Change bold n blue below to your user name
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/tom/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/tom/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-tom-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    Thanks Paramvir for the suggestions!

    Checked the .lua files and confirmed location, the shading is working, just not the bargraphs

    I changing the path to template 7 had no effect. I had already tested by commenting it out but then Conky wouldn't even load. Soooo....

    Is this template generated by a script or installed? I haven't found any listing for it in the dumps, still checking the install documentation for Conkywx 1.0.

    Otherwise, have cleaned up spacing and changed some of the hard coded entries, overall going good learning, learning, learning

  6. #1236

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by pcgeek2t View Post

    Thanks Paramvir for the suggestions!

    Checked the .lua files and confirmed location, the shading is working, just not the bargraphs

    I changing the path to template 7 had no effect. I had already tested by commenting it out but then Conky wouldn't even load. Soooo....

    Is this template generated by a script or installed? I haven't found any listing for it in the dumps, still checking the install documentation for Conkywx 1.0.

    Otherwise, have cleaned up spacing and changed some of the hard coded entries, overall going good learning, learning, learning
    Check this post and the ones following it - my msgs to @Cavsfan

    http://ubuntuforums.org/showthread.p...0#post12822950

    template7 is giving the path to a file that has the alert information, see the conkywx conf file.

    cheers

  7. #1237
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: HOWTO: VinDSL Conky Script

    Great! Will do. Thanks again.
    Good night!

  8. #1238
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Talking Re: HOWTO: VinDSL Conky Script

    Ran the conkywx debug. Conkywx is reading the conkywx.conf file in the /usr.... directory, instead of the one called by my conkyrc.

    Double checked the paths and file locations.

    The template 7 file is not on the system and but there is a folder with that name in the /usr.... directory.

    Just having trouble making sense of the details and relationships, got to get some fresh eyes (mine) on this in the morning.

    Here's the latest conkyrc

    Code:
    ###############################################
    ## VinDSL | rev. 12-11-19 11:55 | ver. 1.0.0 ##
    ###############################################
    ##          Tom's 12-1-13                    ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 14.04 'Trusty Tahr'  (GNOME 3.8 - Conky 1.9.0-3)
    #  Screen Resolution: 1920x1200x24 (Hanns-G 28" monitor)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-3
    #  Conkywx 1.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    # 
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 4352
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 700
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    #minimum_size 245 1394
    minimum_size 445 1894
    maximum_width 1200 
    ####added by me
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 114688
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 260
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 10     # Left/Right
    gap_y 40  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White        #FFFFFF
    color1 Ivory        #FFFFF0
    color2 Ivory2        #EEEEE0
    color3 Ivory3        #CDCDC1
    color4 Tan1        #FFA54F
    color5 Tan2        #EE9A49
    color6 Gray        #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray        #696969
    color9 Tomato        #FF6347
    # colorX OrangeRed    #FF4500
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    #lua_load ~/.conky/draw_bg.lua
    #lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/bargraph_small.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/tom/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/tom/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-tom-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static)
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
    ####
    ## Uncomment for soft-coded ID (dynamic)
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -70}${goto 179}${font UbuntuTitleBold:size=12.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    #${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}AMD Radeon HD 4550${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    #${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}AMD${offset 3}AthlonII${offset 3}X2${offset 3}245${alignr 1}${font DroidSans:size=8.3}800${offset 1}MHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    ${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -v | grep grub-install | cut -c21-42}${font}
    ##################################
    ##          PROCESSORS          ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SDISK USB${goto 95}${font DroidSans:size=8.3}${fs_used /media/tom/SDISK}${goto 133}/${offset 5}${fs_size /media/tom/SDISK}${alignr}${fs_free_perc /media/tom/SDISK}%${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    #${voffset 15}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 7}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 7}${alignr}${top_mem mem 7}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 8}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 8}${alignr}${top_mem mem 8}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 9}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 9}${alignr}${top_mem mem 9}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 10}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 10}${alignr}${top_mem mem 8}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Demo mode
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}${color8}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font RadioSpace:size=32}${color0}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -1}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color0}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color0}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -80}${font CutOutsFor3DFX:size=67}${color7}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    #${if_running banshee}
    #${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -10}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    #${if_running guayadeque}
    #${voffset -33}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    #${if_running vlc}
    #${voffset -55}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -3}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##     Audaciuos                ##
    ##################################
    ${if_running audacious}
    ${voffset -70}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 2}$font$
    ${voffset -3}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${color4}${audacious_bar 10,250 }${color6}
    ${audacious_position}/${audacious_length}  Sample Rate${alignc} ${audacious_frequency} Hz ${alignr}${audacious_status}${endif}
    Thanks all.

  9. #1239
    Join Date
    Mar 2009
    Location
    Indpependence, OR
    Beans
    13
    Distro
    Xubuntu 13.10 Saucy Salamander

    Talking Re: HOWTO: VinDSL Conky Script

    After hammering away at this tread, the wiki's, etc. sorry to say I'm still stuck

    I have a few questions to help clear up some of my confusion:

    Since I can run conkywx at the terminal and get the standard short example display I believe my basic install is ok.

    When looking at the following from the manual, I don't feel my conkyrc is setup correctly.

    nstallation Version

    Run /usr/share/conkywx/conky-restart.sh - this is an example script.

    Note:

    To get template based weather output from conkywx we need three files.

    I believe the conkyrc is getting passed...

    the rc file - passed to conky program
    example conky -c conkyrc file

    Doubt this is occurring correctly, possibly not located correctly?
    config file - passed to conkywx program in the rc file above

    Wonder if this is occurring correctly, again not sure I calling the correct file/location

    template file - passed to conkywx program in the rc file above
    example conkywx -c config file -t template file

    Make changes to conkywx config file to suit your Location, xml_ID etc - be guided by the CONFIG FILE OPTIONS section in this wiki.
    The manual also refers to the conkywx.conf file having to maintain that name, but the files from vindsl are not is this format. Is this a problem?

    I saw the posts where setting use_xml=0 resulted in the display appearing, tested this with no results.

    I have again confirmed location and contents of conky-start-delayed.sh,
    vindsl-imperial-conkywx.conf, wx-wu-vindsl-imperial-weather-graphic-template.sh



    On the bargraph issues:
    I noticed bargraph_small.lau has an entry for /home, this is not specified in the conkyrc; would this cause a problem?

    When I run conky & in terminal, the following errors occur. The first is due to the flash drive not being mounted...
    Anyone have a suggestion on the second error?

    Conky: statfs64 '/media/tom/SDISK': No such file or directory
    Conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value

    The draw_bg.lua works fine but I have commented it out.

    How do I ensure cairo is loaded?

    I apologize for so many rambling questions . I would like to make progress on one of these issues, so I can narrow my focus

    Xubuntu 13.10, Conky 1.9.0, ConkyWx 1.0

    Screen shot
    https://db.tt/k4sUdHet

    Here's the latest conkyrc:

    Code:
    ###############################################
    ## VinDSL | rev. 12-11-19 11:55 | ver. 1.0.0 ##
    ###############################################
    ##          Tom's 12-2-13                    ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 14.04 'Trusty Tahr'  (GNOME 3.8 - Conky 1.9.0-3)
    #  Screen Resolution: 1920x1200x24 (Hanns-G 28" monitor)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-3
    #  Conkywx 1.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    # 
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 4352
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 700
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    #minimum_size 245 1394
    minimum_size 445 1894
    maximum_width 1200 
    ####added by me
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 114688
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 260
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 10     # Left/Right
    gap_y 40  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White        #FFFFFF
    color1 Ivory        #FFFFF0
    color2 Ivory2        #EEEEE0
    color3 Ivory3        #CDCDC1
    color4 Tan1        #FFA54F
    color5 Tan2        #EE9A49
    color6 Gray        #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray        #696969
    color9 Tomato        #FF6347
    # colorX OrangeRed    #FF4500
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    #lua_load ~/.conky/draw_bg.lua
    #lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/bargraph_small.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/tom/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/tom/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-tom-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static)
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
    ####
    ## Uncomment for soft-coded ID (dynamic)
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -70}${goto 179}${font UbuntuTitleBold:size=12.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    #${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}AMD Radeon HD 4550${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    #${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}AMD${offset 3}AthlonII${offset 3}X2${offset 3}245${alignr 1}${font DroidSans:size=8.3}800${offset 1}MHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    ${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -v | grep grub-install | cut -c21-42}${font}
    ##################################
    ##          PROCESSORS          ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
    #${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    #${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}HOME${goto 95}${font DroidSans:size=8.3}${fs_used /media/tom/home}${goto 133}/${offset 5}${fs_size /media/tom/home}${alignr}${fs_free_perc /media/tom/home}%${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SDISK USB${goto 95}${font DroidSans:size=8.3}${fs_used /media/tom/SDISK}${goto 133}/${offset 5}${fs_size /media/tom/SDISK}${alignr}${fs_free_perc /media/tom/SDISK}%${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    #${voffset 15}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    #${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 7}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 7}${alignr}${top_mem mem 7}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 8}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 8}${alignr}${top_mem mem 8}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 9}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 9}${alignr}${top_mem mem 9}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 10}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 10}${alignr}${top_mem mem 8}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Demo mode
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font RadioSpace:size=32}${color0}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -1}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color0}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color0}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -80}${font CutOutsFor3DFX:size=67}${color7}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 5}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    #${if_running banshee}
    #${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -10}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    #${if_running guayadeque}
    #${voffset -33}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    #${if_running vlc}
    #${voffset -55}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset -3}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##     Audaciuos                ##
    ##################################
    ${if_running audacious}
    ${voffset -70}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 2}$font$
    ${voffset -3}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${color4}${audacious_bar 10,250 }${color6}
    ${audacious_position}/${audacious_length}  Sample Rate${alignc} ${audacious_frequency} Hz ${alignr}${audacious_status}${endif}
    Last edited by pcgeek2t; December 3rd, 2013 at 08:51 PM. Reason: Question clarified, spelling

  10. #1240
    Join Date
    Aug 2009
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HOWTO: VinDSL Conky Script

    pcgeek2t, did you install lm-sensors and run sudo sensors-detect. You answer YES to all of the questions or whatever it is asking.

    Here is what I have just above TEXT:
    Code:
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    # lua_load ~/.conky/bargraph_small.lua
    lua_load ~/.conky/bargraph_testing.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/cavsfan/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/cavsfan/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-cavsfan-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    On the template7 you will just need to change cavsfan to whatever yours is named. Look in the /tmp directory.
    lua_load ~/.conky/bargraph_testing.lua is where you will be doing your adjusting of the location on the y axis (the red below).

    Code:
            {    --[ Graph for CPU1 ]--
                name="cpu",
                arg="cpu1",
                max=100,
                alarm=50,
                alarm_colour={0xFF0000,0.72},
                bg_colour={0xFFFFFF,0.25},
                fg_colour={0x00FF00,0.55},
                mid_colour={{0.45,0xFFFF00,0.70}},
                x=82,y=174,
                blocks=55,
                space=1,
                height=2,width=5,
                angle=90,
                smooth=true
                },

    Hope this helps. I'll be willing to give you all of my files if you want but I have a 1920x1200 monitor and mine has been modified to fill the screen.

    Code:
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}${color8}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    Forgot the CONKYWX weather section.
    Last edited by Cavsfan; December 3rd, 2013 at 09:15 PM. Reason: add the weather section

Page 124 of 287 FirstFirst ... 2474114122123124125126134174224 ... 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
  •