Page 1641 of 2294 FirstFirst ... 6411141154115911631163916401641164216431651169117412141 ... LastLast
Results 16,401 to 16,410 of 22939

Thread: Post your .conkyrc files w/ screenshots

  1. #16401
    Join Date
    Feb 2011
    Beans
    61
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by wojox View Post
    I posted back on your other thread.

    Code:
    ${image ~/home/michael/Downloads/Ubuntu-icon.jpg}
    Try that and then you can mess with aligning it.
    ok i put that in then tried a few differant sizes but none of them are showing up.

    sorry i didnt reply to other thread, started watching this one.

  2. #16402
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mick_86 View Post
    should i change the x position of my image or change the minimum_size value?
    Change the x position of the image.

    try something like:

    Code:
    ${image ~/home/michael/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    Should put upper left corner of image near upper left corner of conky window.

    And verify the path to, and name of the image - ~/home/michael means you have a full path of /home/michael/home/michael/<rest of path>.

    I assume the image is in the Downloads folder of your user directory so it would be like so:

    Code:
    ${image ~/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    or just remove the "~"

    Code:
    ${image /home/michael/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    Last edited by ddnev45; March 4th, 2011 at 04:30 PM.
    The mark of an honest man ... is that he means what he says and knows what he means.
    A.R.

  3. #16403
    Join Date
    Feb 2011
    Beans
    61
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ddnev45 View Post
    Change the x position of the image.

    try something like:

    Code:
    ${image ~/home/michael/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    Should put upper left corner of image near upper left corner of conky window.

    And verify the path to, and name of the image - ~/home/michael means you have a full path of /home/michael/home/michael/<rest of path>.

    I assume the image is in the Downloads folder of your user directory so it would be like so:

    Code:
    ${image ~/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    or just remove the "~"

    Code:
    ${image /home/michael/Downloads/Ubuntu-icon.jpg -p 10,10 -s 80x80}
    thanks, changed the path. also tried a few different picture positions but still nothing showing up.

  4. #16404
    Join Date
    Feb 2009
    Beans
    412

    Re: Post your .conkyrc files w/ screenshots

    got a problem with the weather portion of my conky, the temperature is completely wrong, I'm sitting here in australia with the fan on me and I'm still sweating, and yet it thinks the temp is 5 degrees C
    and earlier it thought it was 0C
    so here's the code
    Code:
    ##################################
    ## VinDSL | rev. 11-02-17 01:46 ##
    ##################################
    ##   Screen res: 1280x1024x24   ##
    ##################################
    
    ####
    ## Prerequisites (required).
    ## conky-all 1.8.0 or 1.8.1
    ## conkyForecast 2.16
    ## weather.com XML Data Feed (XOAP)
    #
    
    ####
    ## Use XFT? Required to Force UTF8 (see below).
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    text_buffer_size 2048
    
    ####
    ## Force UTF8? Requires XFT (see above).
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 1.5
    
    ####
    ## This is the number of times Conky will update before quitting.
    ## Set to zero to run forever.
    #
    total_run_times 0
    
    ####
    ## Create own window instead of using desktop (required in nautilus)?
    #
    own_window yes
    own_window_type override
    own_window_transparent yes
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 0
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades no
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders yes
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment bottom_right
    
    ####
    ## Minimum size of text area.
    #
    minimum_size 340 798
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 8
    gap_y -75
    
    ####
    ## 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
    color1 Ivory
    color2 Ivory2
    color3 Ivory3
    color4 Tan1
    color5 Tan2
    color6 Gray
    color7 AntiqueWhite4
    color8 DarkSlateGray
    color9 Black
    
    
    ####
    ## Load Lua for bargraphs (required).
    ## Set the path to your script here.
    #
    lua_draw_hook_post main_bars
    
    ####
    ## Installed fonts (required).
    #
    # ConkyWeather (Stanko Metodiev)
    # ConkyWindNESW (Stanko Metodiev)
    # Cut Outs for 3D FX (Fonts & Things)
    # Droid Font Family (Google Android SDK)
    # Moon Phases (Curtis Clark)
    # OpenLogos (Icoma)
    # PizzaDude Bullets (Jakob Fischer)
    # Radio Space (Iconian Fonts)
    # StyleBats (Vinterstille)
    # Ubuntu (Canonical Ltd)
    # Ubuntu Title Bold (Paulo Silva)
    # Weather (Jonathan Macagba)
    
    TEXT
    ##################
    ##    SYSTEM    ##
    ##################
    ${voffset 20}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${color brown} Updates Available: ${execi 1800 aptitude search "~U" | wc -l | tail}
    ${font DroidSans:size=8.65}${offset 5}Ubuntu Version: ${pre_exec lsb_release -r -s}
    ${font DroidSans:size=8.65}${offset 5}Uptime: $uptime
      Kernel: $kernel
      Conky Build Date: $conky_build_date
      Conky Version: $conky_version
    ##################
    ##    TRAFFIC    ##
    ##################
    ${voffset 20}${font DroidSans:bold:size=8.25}${color4}INTERNET TRAFFIC${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${color green}NETWORK IP: ${addr eth1}
    
    DOWN:  ${downspeed eth1}/s                   UP:  ${upspeed eth1}/s  
    Today:${goto 65}${execi 300 vnstat -i eth1 | grep "today" | awk '{print $2 $3}'}${goto 150} Today:${goto 210}${execi 300 vnstat -i eth1 | grep "today" | awk '{print $5 $6}'}
    Week:${goto 65}${execi 300 vnstat -i eth1 -w | grep "current week" | awk '{print $3 $4}'}${goto 150} Week:${goto 210}${execi 300 vnstat -i eth1 -w | grep "current week" | awk '{print $6 $7}'} 
    Month:${goto 65}${execi 300 vnstat -i eth1 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 150} Month:${goto 210}${execi 300 vnstat -i eth1 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
    Maximum: 100GB                  Maximum:  100GB
    Down: ${downspeedgraph eth1 555753 eeeeec}
    Up : ${upspeedgraph eth1 555753 eeeeec}
    ##################
    ##   WEATHER    ##
    ##################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}WEATHER${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 0}${goto 59}${font Weather:size=38}${color2}y${font}${voffset -33}${offset 14}${font RadioSpace:size=32}${color3}${execi 1800 conkyForecast -d HT -u}C${font}
    ${voffset 0}${font Ubuntu:size=24}${color4}${alignc}${execi 1800 conkyForecast -d CT}${font}
    ${voffset 10}${goto 20}${font ConkyWindNESW:size=41}${color3}${execi 1800 conkyForecast -d BS}${font}${voffset -40}${goto 98}${font ConkyWeather:size=45}${execi 1800 conkyForecast -d WF}${font}${voffset -39}${goto 188}${font MoonPhases:size=32}${execi 1800 conkyForecast -d MF}${font}
    ${voffset 6}${goto 28}${font DroidSansFallback:bold:size=8.45}${color4}${execpi 1800 conkyForecast -d WS | sed -e 's/calm'/'\$\{offset 2}Calm/g' -e 's/KPH'/'\$\{offset 2}KPH/g'}${goto 88}Feels like ${execi 1800 conkyForecast -d LT -u}${execpi 1800 conkyForecast -d MP| sed -e 's/First.*'/'\$\{goto 182}First Qtr/g' -e 's/Last.*'/'\$\{goto 184}Last Qtr/g' -e 's/New.*'/'\$\{goto 195}New/g' -e 's/Full.*'/'\$\{goto 195}Full/g' -e 's/Waning.*'/'\$\{goto 187}Waning/g' -e 's/Waxing.*'/'\$\{goto 187}Waxing/g'}${font}
    ${voffset 9}${goto 36}${font DroidSansMono:bold:size=8.35}${color3}${execi 1800 conkyForecast -d DW -s 1 -w}${goto 89}${execi 1800 conkyForecast -d DW -s 2 -w}${goto 143}${execi 1800 conkyForecast -d DW -s 3 -w}${goto 197}${execi 1800 conkyForecast -d DW -s 4 -w}${font}
    ${voffset 2}${goto 25}${font ConkyWeather:size=32}${color2}${execi 1800 conkyForecast -d WF -s 1 -e 4 -S 1}${font}
    ${voffset 0}${goto 25}${font DroidSans:bold:size=8.5}${color4}${execi 1800 conkyForecast -d HT -s 1 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 1 -u}${goto 79}${execi 1800 conkyForecast -d HT -s 2 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 2 -u}${goto 133}${execi 1800 conkyForecast -d HT -s 3 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 3 -u}${goto 187}${execi 1800 conkyForecast -d HT -s 4 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 4 -u}${font}
    
    ${font Ubuntu:size=10}${color4}Today's Sunrise: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SR --}${alignr}${color4} Today's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SS --}
    ${font Ubuntu:size=10}${color4}Tomorrow's Sunrise: ${color #E6E8FA}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SR --}${alignr}${color4} Tomorrow's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SS --}
    ${font Ubuntu:size=10}${color4}Peak Winter Sunrise: ${color1}05:43 ${alignr}${color4} Peak Winter Sunset: ${color1}18:17
    ${font Ubuntu:size=10}${color4}Peak Summer Sunrise: ${color1}05:41 ${alignr}${color4} Peak Summer Sunset: ${color1}18:19
    ${color4}${font Ubuntu:size=10}Station: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=OB}${alignr}${color4}${font Ubuntu:size=10}Last Update: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=LU}${font}
    so yeah is the 2 missing perhaps in 25?
    it always seemed to work fine before
    I haven't made any alterations before it went from highly plausible temp to impossible
    Attached Images Attached Images

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mick_86 View Post
    thanks, changed the path. also tried a few different picture positions but still nothing showing up.
    If you start the conky from a terminal you'll get error messages.

    Also, minimum_size should have a width and height value. Besides that, it is what it says it is: minimum_size. Your conky window will grow larger if it needs the space. However, it won't grow larger to fit an image. (There is also a maximum_width configuration option to limit the width.) More config stuff here.
    Last edited by miegiel; March 4th, 2011 at 05:15 PM. Reason: comma

  6. #16406
    Join Date
    Feb 2011
    Beans
    61
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by miegiel View Post
    If you start the conky from a terminal you'll get error messages.

    Also, minimum_size should have a width and height value. Besides that it is what it says it is minimum_size. Your conky window will grow larger if it needs the space. However it won't grow larger to fit an image. (There is also a maximum_width configuration option to limit the width.) More config stuff here.
    ok ive made some progress. the picture is there but i know whats causing it not to show up. its the line of code:

    Code:
    own_window_transparent yes
    when it says yes my screen looks like this:


    Uploaded with ImageShack.us

    when the code is:
    Code:
    own_window_transparent no
    it looks like this:


    Uploaded with ImageShack.us

    as you can see the image is there but does not show up when conky is transparent. any ideas on how to have the image and the transparency aswell?

  7. #16407
    Join Date
    Dec 2008
    Location
    The Desert
    Beans
    281
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Arminius View Post
    got a problem with the weather portion of my conky, the temperature is completely wrong, I'm sitting here in australia with the fan on me and I'm still sweating, and yet it thinks the temp is 5 degrees C
    and earlier it thought it was 0C
    so here's the code
    Code:
    ##################################
    ## VinDSL | rev. 11-02-17 01:46 ##
    ##################################
    ##   Screen res: 1280x1024x24   ##
    ##################################
    
    ####
    ## Prerequisites (required).
    ## conky-all 1.8.0 or 1.8.1
    ## conkyForecast 2.16
    ## weather.com XML Data Feed (XOAP)
    #
    
    ####
    ## Use XFT? Required to Force UTF8 (see below).
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    text_buffer_size 2048
    
    ####
    ## Force UTF8? Requires XFT (see above).
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 1.5
    
    ####
    ## This is the number of times Conky will update before quitting.
    ## Set to zero to run forever.
    #
    total_run_times 0
    
    ####
    ## Create own window instead of using desktop (required in nautilus)?
    #
    own_window yes
    own_window_type override
    own_window_transparent yes
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 0
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades no
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders yes
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment bottom_right
    
    ####
    ## Minimum size of text area.
    #
    minimum_size 340 798
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 8
    gap_y -75
    
    ####
    ## 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
    color1 Ivory
    color2 Ivory2
    color3 Ivory3
    color4 Tan1
    color5 Tan2
    color6 Gray
    color7 AntiqueWhite4
    color8 DarkSlateGray
    color9 Black
    
    
    ####
    ## Load Lua for bargraphs (required).
    ## Set the path to your script here.
    #
    lua_draw_hook_post main_bars
    
    ####
    ## Installed fonts (required).
    #
    # ConkyWeather (Stanko Metodiev)
    # ConkyWindNESW (Stanko Metodiev)
    # Cut Outs for 3D FX (Fonts & Things)
    # Droid Font Family (Google Android SDK)
    # Moon Phases (Curtis Clark)
    # OpenLogos (Icoma)
    # PizzaDude Bullets (Jakob Fischer)
    # Radio Space (Iconian Fonts)
    # StyleBats (Vinterstille)
    # Ubuntu (Canonical Ltd)
    # Ubuntu Title Bold (Paulo Silva)
    # Weather (Jonathan Macagba)
    
    TEXT
    ##################
    ##    SYSTEM    ##
    ##################
    ${voffset 20}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${color brown} Updates Available: ${execi 1800 aptitude search "~U" | wc -l | tail}
    ${font DroidSans:size=8.65}${offset 5}Ubuntu Version: ${pre_exec lsb_release -r -s}
    ${font DroidSans:size=8.65}${offset 5}Uptime: $uptime
      Kernel: $kernel
      Conky Build Date: $conky_build_date
      Conky Version: $conky_version
    ##################
    ##    TRAFFIC    ##
    ##################
    ${voffset 20}${font DroidSans:bold:size=8.25}${color4}INTERNET TRAFFIC${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${color green}NETWORK IP: ${addr eth1}
    
    DOWN:  ${downspeed eth1}/s                   UP:  ${upspeed eth1}/s  
    Today:${goto 65}${execi 300 vnstat -i eth1 | grep "today" | awk '{print $2 $3}'}${goto 150} Today:${goto 210}${execi 300 vnstat -i eth1 | grep "today" | awk '{print $5 $6}'}
    Week:${goto 65}${execi 300 vnstat -i eth1 -w | grep "current week" | awk '{print $3 $4}'}${goto 150} Week:${goto 210}${execi 300 vnstat -i eth1 -w | grep "current week" | awk '{print $6 $7}'} 
    Month:${goto 65}${execi 300 vnstat -i eth1 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 150} Month:${goto 210}${execi 300 vnstat -i eth1 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
    Maximum: 100GB                  Maximum:  100GB
    Down: ${downspeedgraph eth1 555753 eeeeec}
    Up : ${upspeedgraph eth1 555753 eeeeec}
    ##################
    ##   WEATHER    ##
    ##################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}WEATHER${offset 8}${color8}${voffset -2}${hr 2}${font}
    ${voffset 0}${goto 59}${font Weather:size=38}${color2}y${font}${voffset -33}${offset 14}${font RadioSpace:size=32}${color3}${execi 1800 conkyForecast -d HT -u}C${font}
    ${voffset 0}${font Ubuntu:size=24}${color4}${alignc}${execi 1800 conkyForecast -d CT}${font}
    ${voffset 10}${goto 20}${font ConkyWindNESW:size=41}${color3}${execi 1800 conkyForecast -d BS}${font}${voffset -40}${goto 98}${font ConkyWeather:size=45}${execi 1800 conkyForecast -d WF}${font}${voffset -39}${goto 188}${font MoonPhases:size=32}${execi 1800 conkyForecast -d MF}${font}
    ${voffset 6}${goto 28}${font DroidSansFallback:bold:size=8.45}${color4}${execpi 1800 conkyForecast -d WS | sed -e 's/calm'/'\$\{offset 2}Calm/g' -e 's/KPH'/'\$\{offset 2}KPH/g'}${goto 88}Feels like ${execi 1800 conkyForecast -d LT -u}${execpi 1800 conkyForecast -d MP| sed -e 's/First.*'/'\$\{goto 182}First Qtr/g' -e 's/Last.*'/'\$\{goto 184}Last Qtr/g' -e 's/New.*'/'\$\{goto 195}New/g' -e 's/Full.*'/'\$\{goto 195}Full/g' -e 's/Waning.*'/'\$\{goto 187}Waning/g' -e 's/Waxing.*'/'\$\{goto 187}Waxing/g'}${font}
    ${voffset 9}${goto 36}${font DroidSansMono:bold:size=8.35}${color3}${execi 1800 conkyForecast -d DW -s 1 -w}${goto 89}${execi 1800 conkyForecast -d DW -s 2 -w}${goto 143}${execi 1800 conkyForecast -d DW -s 3 -w}${goto 197}${execi 1800 conkyForecast -d DW -s 4 -w}${font}
    ${voffset 2}${goto 25}${font ConkyWeather:size=32}${color2}${execi 1800 conkyForecast -d WF -s 1 -e 4 -S 1}${font}
    ${voffset 0}${goto 25}${font DroidSans:bold:size=8.5}${color4}${execi 1800 conkyForecast -d HT -s 1 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 1 -u}${goto 79}${execi 1800 conkyForecast -d HT -s 2 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 2 -u}${goto 133}${execi 1800 conkyForecast -d HT -s 3 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 3 -u}${goto 187}${execi 1800 conkyForecast -d HT -s 4 -u}${offset 2}/${offset 2}${execi 1800 conkyForecast -d LT -s 4 -u}${font}
    
    ${font Ubuntu:size=10}${color4}Today's Sunrise: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SR --}${alignr}${color4} Today's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=SS --}
    ${font Ubuntu:size=10}${color4}Tomorrow's Sunrise: ${color #E6E8FA}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SR --}${alignr}${color4} Tomorrow's Sunset: ${color1}${execi 600 conkyForecast --location=ASXX0016 --startday=1 --datatype=SS --}
    ${font Ubuntu:size=10}${color4}Peak Winter Sunrise: ${color1}05:43 ${alignr}${color4} Peak Winter Sunset: ${color1}18:17
    ${font Ubuntu:size=10}${color4}Peak Summer Sunrise: ${color1}05:41 ${alignr}${color4} Peak Summer Sunset: ${color1}18:19
    ${color4}${font Ubuntu:size=10}Station: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=OB}${alignr}${color4}${font Ubuntu:size=10}Last Update: ${color1}${execi 600 conkyForecast --location=ASXX0016 --datatype=LU}${font}
    so yeah is the 2 missing perhaps in 25?
    it always seemed to work fine before
    I haven't made any alterations before it went from highly plausible temp to impossible
    im gonna assume you don't have the correct location code in there. Use this site but change the location to your city and then put that code in. How cold is it where you are VinDSL because thats his code and i'm assuming you have his location in there
    I'm a super power user

  8. #16408
    Join Date
    Feb 2009
    Beans
    412

    Re: Post your .conkyrc files w/ screenshots

    [QUOTE]im gonna assume you don't have the correct location code in there. Use this site but change the location to your city and then put that code in. How cold is it where you are VinDSL because thats his code and i'm assuming you have his location in there[/QUOTE

    I searched for and changed all if his location codes to my codes
    so I don't think that's the problem. and for a while it was clearly the right temp, but suddenly it changed to just above freezing

  9. #16409
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Okay. Interesting. What does this do for me, exactly?
    If you had sufficient amount of memory (which you haven't) then it lower I/O workload, which lower system load and thus make it little more responsive (it's also very nice with fifo's - if you don't know what it is then don't bother).
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  10. #16410
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    found some problems with the calendar lua script and fixed them plus added the ability to see the previous and next months dates like so


    code
    Code:
    --lua calendar script by mrpeachy version 3, 03/04/2011
    --fixed issue where months beginning on saturday would not have last dates printed
    --added previous and next month dates within calendar
    --condensed code, hopefully will run lighter also
    --fixed ability to rotate and keep box in right place
    require 'cairo'
    --------------------------------------------------------------------------------
    function conky_draw_fig()
    if conky_window == nil then return end
    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    --####################################################################################################
    if updates>5 then -- starts the display
    --####################################################################################################
    --title text color
    tred,tgreen,tblue,talpha=0.9,0,0.3,1
    --title text font
    tfont="Dystopia"
    --title text size
    tfontsize=22
    --###################################################
    --main body text color
    bred,bgreen,bblue,balpha=0.6,1,0.6,1
    --main body text font
    mfont="Dystopia"
    --main body text size
    mfontsize=18
    --###################################################
    --highlight text color
    hred,hgreen,hblue,halpha=1,1,0.2,1
    --highlight font
    hfont="Dystopia"
    --highlight size
    hfontsize=24
    --###################################################
    --surrounding numbers 1=om, 0=off
    surround=1
    --surrounding dates text color
    sred,sgreen,sblue,salpha=0.3,0.5,0.3,1
    --surrounding font
    sfont="Dystopia"
    --surounding size
    sfontsize=18
    --###################################################
    --indicator box enter 1 for box or 0 for no box
    box=1
    --use the following 2 numbers to adjust box position
    xadjust=2.5
    yadjust=4
    --set the box dimensions
    width=35
    height=21
    --box color
    xred,xgreen,xblue,xalpha=1,0.2,0.8,1
    --###################################################
    --calendar this month ###############################
    --###################################################
    --position
    across=100.5
    down=100.5
    --rotate - this will require repositioning above
    rotate=10
    --###################################################
    --horizontal gap between dates
    gaph=35
    --###################################################
    --gap between day titles and first line
    gapt=20
    --###################################################
    --gap between calendar line
    gapl=20
    --###################################################
    --spacer -- this can help with alignment enter 0, 1 space or 2 spaces between the ""
    spacer=""
    --###################################################
    --calendar calcs
    year=os.date("%G")
    today=tonumber(os.date("%d"))
    t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    feb=(os.difftime(t1,t2))/(24*60*60)
    local monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
    local day=tonumber(os.date("%w"))+1
    local day_num = today
    local remainder=day_num % 7
    start_day=day-(day_num % 7)
    if start_day<0 then start_day=7+start_day end     
    month=os.date("%m")
    mdays=monthdays[tonumber(month)]
    mdaystm=mdays
    x=mdays+start_day
    dnum={}
    dnumh={}
    if mdays+start_day<36 then 
    dlen=35
    plen=29 
    else 
    dlen=42 
    plen=36
    end
    for i=1,dlen do
    if i<=start_day then dnum[i]="  " 
    else dn=i-start_day
    if dn=="nil" then dn=0 end
    if dn<=9 then dn=(spacer .. dn) end
    if i>x then dn="" end
    dnum[i]=dn
    dnumh[i]=dn
    if dn==(spacer .. today) or dn==today then
    dnum[i]=""
    end 
    if dn==(spacer .. today) or dn==today then
    dnumh[i]=dn
    place=i 
    else dnumh[i]="  " 
    end 
    end
    end--for
    --###################################################
    cairo_rotate (cr,(math.pi/180)*(rotate))
    --print calendar titles
    --###################################################
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    dys={"SU","MO","TU","WE","TH","FR","SA"}
    --------------------------------
    --use these settings to mess around with positioning
    turn=0
    ta=0
    move=0
    rot=0
    --------------------------------
    for i=1,7 do
    cairo_move_to (cr, across+(gaph*(i-1)), down+(i*move))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dys[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    cairo_select_font_face (cr, mfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, mfontsize);
    cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dnum[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, hfontsize);
    cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, dnumh[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    --###############################################################################
    if surround==1 then
    thisstart=tonumber(start_day)+1
    thisend=tonumber(start_day)+mdays
    previous=tonumber(start_day)
    nextmon=dlen-thisend
    pmon=tonumber(month)-1
    if pmon==0 then pmon=12 end
    pmon=monthdays[pmon]
    snum={}
    for i=1,dlen do
    snum[i]=""
    end
    for i=tonumber(thisend)+1,tonumber(thisend)+nextmon do
    snum[i]=i-tonumber(thisend)
    end
    for i=1,previous do
    snum[i]=pmon-(previous-(i))
    end
    cairo_select_font_face (cr, sfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, sfontsize);
    cairo_set_source_rgba (cr,sred,sgreen,sblue,salpha)
    for i=1,plen,7 do
    fn=i
    for i=fn,fn+6 do
    cairo_move_to (cr, across+(gaph*(i-fn))-((((fn-1)/7)+ta)*turn), (i*move)+down+gapt+(gapl*((fn-1)/7)))
    cairo_rotate (cr,(math.pi/180)*(rot))
    cairo_show_text (cr, snum[i])
    cairo_stroke (cr)
    cairo_rotate (cr,(math.pi/180)*(rot*-1))
    end
    end
    end
    --box aound
    if box==1 then
    cairo_set_source_rgba (cr,xred,xgreen,xblue,xalpha)
    cairo_set_line_width (cr,1)
    if place>0 and place<8 then
    cy=down+gapt
    elseif
    place>7 and place<15 then
    cy=down+gapt+gapl
    elseif
    place>13 and place<23 then
    cy=down+gapt+gapl+gapl
    elseif
    place>21 and place<29 then
    cy=down+gapt+gapl+gapl+gapl
    elseif
    place>28 and place<36 then
    cy=down+gapt+gapl+gapl+gapl+gapl
    end
    placey=place %7
    if placey==1 then
    cx=across
    elseif
    placey==2 then
    cx=across+(gaph*1)
    elseif
    placey==3 then
    cx=across+(gaph*2)
    elseif
    placey==4 then
    cx=across+(gaph*3)
    elseif
    placey==5 then
    cx=across+(gaph*4)
    elseif
    placey==6 then
    cx=across+(gaph*5)
    elseif
    placey==0 then
    cx=across+(gaph*6)
    end
    cairo_rectangle (cr,cx-xadjust,cy+yadjust,width,-height)
    cairo_stroke (cr)
    end
    --###################################################
    cairo_rotate (cr,(math.pi/180)*(rotate*-1))
    --end of calendar
    --###################################################
    --#################################################################################
    end--end if 5
    end--end main function
    Last edited by mrpeachy; March 4th, 2011 at 07:33 PM.

Page 1641 of 2294 FirstFirst ... 6411141154115911631163916401641164216431651169117412141 ... 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
  •