Page 87 of 178 FirstFirst ... 3777858687888997137 ... LastLast
Results 861 to 870 of 1774

Thread: HOWTO: VinDSL Conky Script

  1. #861

    Re: HOWTO: VinDSL Conky Script

    Hey why does it not work - what are you getting on the terminal???

    Perhaps it is just the own_window thing ....

    I have tested it on Mint 14 Ubuntu 12.04 Fedora 17 and Arch...
    Last edited by paramvir; April 19th, 2013 at 07:52 PM.

  2. #862
    Join Date
    Aug 2009
    Beans
    3,074
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    Hey why does it not work - what are you getting on the terminal???

    Perhaps it is just the own_window thing ....

    I have tested it on Mint 14 Ubuntu 12.04 Fedora 17 and Arch...
    I don't think it's worth worrying about because Lucid Lynx 10.04 reaches EOL in less than 3 weeks.
    It works beautifully on Mint 14, Raring 13.04, Quantal 12.10 and Precise 12.04.

    There are several errors Lucid gets that none of the others get like when I enter conkywx --version it gets an error.
    Code:
    cavsfan@cavsfan-desktop:~$ conkywx --version
    /usr/share/conkywx/conkywx.sh: line 1439: printf: `(': invalid format character
    0.9.0
    cavsfan@cavsfan-desktop:~$
    That is also the first error it gets in terminal and errors on everything after that
    But, like I say Lucid's days are numbered. I just installed conkywx 0.7.8 on Lucid and it works fine.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

  3. #863

    Re: HOWTO: VinDSL Conky Script

    Kewl OK

  4. #864
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,800
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Looking good, paramvir!

    I installed 0.9.0 for a few minutes ago -- speed read the wiki, scanning it for new features, et cetera.

    I had to truncate the Full Moon (FM) output -- don't have enough room for date/time in my script -- just enough room for date.

    In the con_hrs function (conkywx.sh) I changed this...

    Code:
    		case $2 in
    		1)	echo "$( date --date="$corrtime" "+%b %d ${t_format//\+/}" )";;
    To this...

    Code:
    		case $2 in
    		1)	echo "$( date --date="$corrtime" "+%b %d" )"	;;
    Also, I'm seeing a warning/error in CLI, when Conkywx starts/refreshes...

    Code:
    Argument "64M-BM-0" isn't numeric in subtraction (-) at /usr/share/conkywx/lib/parsewxdata.pl line 76.
    Haven't had a chance to trace it back. Maybe, I don't have something config'ed right (yet).

    Anyway, thanks! I'll have a new toy to play with, this weekend.
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  5. #865

    Smile Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by VinDSL View Post
    Looking good, paramvir!
    Code:
    Argument "64M-BM-0" isn't numeric in subtraction (-) at /usr/share/conkywx/lib/parsewxdata.pl line 76.
    Haven't had a chance to trace it back. Maybe, I don't have something config'ed right (yet).
    Anyway, thanks! I'll have a new toy to play with, this weekend.
    Need to comment my code a bit more he he - took a while for me to recall looking at my code - that is a valid point - well - next update shall also include an option as you have said - just standard month and day for ze moon...

    This error is in the perl code temperature conversion F to C - probably for the Feels Like temperature calcs as your download is in F and those formulae are for C temps. I have just tested with currdata.html you had sent me many moons back - perhaps you can see if that error vanishes or you can send me a fresh currdata.html. Looks fine so far

    cheers

  6. #866
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,800
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    [...] perhaps you can see if that error vanishes or you can send me a fresh currdata.html [...]
    Here's a current snapshot (10 minutes old): currdata.html.zip

    I might mention, this rig is running bleeding-edge git/dev/trunk/whatever releases of everything.

    I'm running perl 5.14.2-21 unstable right now. The 'problem' could be as simple as that...

    Code:
    vindsl@Zuul:~$ apt-cache policy perl
    perl:
      Installed: 5.14.2-21
      Candidate: 5.14.2-21
      Version table:
     *** 5.14.2-21 0
            500 http://us.archive.ubuntu.com/ubuntu/ raring/main i386 Packages
            100 /var/lib/dpkg/status
    vindsl@Zuul:~$
    However, I haven't changed anything, during the past 24 hours, except for installing Conkywx 0.9.0

    I'll keep working on it, after I finish my first pot of coffee... LoL!

    BBL
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  7. #867

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by VinDSL View Post
    Here's a current snapshot (10 minutes old): currdata.html.zip

    I might mention, this rig is running bleeding-edge git/dev/trunk/whatever releases of everything.

    I'm running perl 5.14.2-21 unstable right now. The 'problem' could be as simple as that...

    However, I haven't changed anything, during the past 24 hours, except for installing Conkywx 0.9.0

    I'll keep working on it, after I finish my first pot of coffee... LoL!

    BBL
    Yes coffee helps and I realised black coffee is better than with cream...

    Yes perhaps it is the bleeding that your system is doing - all fine here with your currdata file.

    Also during my day I had one of those illusive light bulb moments - what if I used a US free anon proxy - and I used one of those in the wgetrc settings and was able to download your version of currdata file from wunderground in F units - directly it always downloads in C units no matter which place on the planet. he he I am grinning he he

    we are learning all the time aren't we...

    oh and i fixed the thing for moon times

    Lines that go in the config file - the section goes just under Time_format as I have shown below:
    PHP Code:
    # [5] Use 24 hour time format
    Time_format=1

    # -----------------------------------------------------------------------
    # Show time with month and day for Moon Phases
    # -----------------------------------------------------------------------
    # [0] Show only month n day (EXAMPLE: May 18)    [Default]
    # [1] Show month day time (example: May 18 10:06 am) The time will follow
    #     the Time_format settings above.
    moon_time=
    Lines that change in the conkywx.sh - This goes at the bottom of con_hrs function - u see the last closing curly braces.
    PHP Code:
            case $2 in
            1
    )    case $moon_time in
                1
    ) echo "$( date --date="$corrtime" "+%%${t_format//\+/}" )" ;;
                
    *) echo "$( date --date="$corrtime" "+%%d" )"                     ;;
                
    esac                                                             ;;
            *)    echo 
    "$( date --date="$corrtime" "$t_format" )"                     ;;
            
    esac                                                                 ;;
        
    esac

    cheers

  8. #868
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,800
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    oh and i fixed the thing for moon times

    Lines that go in the config file - the section goes just under Time_format as I have shown below:
    PHP Code:
    # [5] Use 24 hour time format
    Time_format=1

    # -----------------------------------------------------------------------
    # Show time with month and day for Moon Phases
    # -----------------------------------------------------------------------
    # [0] Show only month n day (EXAMPLE: May 18)    [Default]
    # [1] Show month day time (example: May 18 10:06 am) The time will follow
    #     the Time_format settings above.
    moon_time=
    Lines that change in the conkywx.sh - This goes at the bottom of con_hrs function - u see the last closing curly braces.
    PHP Code:
            case $2 in
            1
    )    case $moon_time in
                1
    ) echo "$( date --date="$corrtime" "+%%${t_format//\+/}" )" ;;
                
    *) echo "$( date --date="$corrtime" "+%%d" )"                     ;;
                
    esac                                                             ;;
            *)    echo 
    "$( date --date="$corrtime" "$t_format" )"                     ;;
            
    esac                                                                 ;;
        
    esac

    cheers
    w00t! Great job!

    Works perfect!
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  9. #869
    Join Date
    Aug 2009
    Beans
    3,074
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Don't mean to ask a lame question but, this probably is just that.
    I installed conkywx 0.9.0 and made no other changes.

    Are you talking about where my screen shows Full Moon: Apr 25 03:59 Waxing your screen doesn't show the date?

    I believe mine looks fine as is. Am I right?
    Thanks!

    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

  10. #870
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,800
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by Cavsfan View Post
    Are you talking about where my screen shows Full Moon: Apr 25 03:59 Waxing your screen doesn't show the date?

    Yes n' no. That's what I was talking about, but mine was showing the date AND time.

    If you look at "Full Moon:" in the middle of the script, you'll see that the (unpatched) date/time output extends into the "Moon Phase" text (Waxing), on the right-side (underneath the moon phase icon).

    I needed to truncate the output, e.g. get rid of the time, but keep the date.

    Example (patched):


    Last edited by VinDSL; April 20th, 2013 at 09:28 PM. Reason: Clarification
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

Page 87 of 178 FirstFirst ... 3777858687888997137 ... 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
  •