Page 61 of 287 FirstFirst ... 1151596061626371111161 ... LastLast
Results 601 to 610 of 2865

Thread: HOWTO: VinDSL Conky Script

  1. #601
    Join Date
    Oct 2012
    Beans
    14

    Re: HOWTO: VinDSL Conky Script

    It should looks like this:
    Code:
    {	--[ Graph for GPU]--
                            
    			name="",
    			arg="",
    			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=15,y=365,
    			blocks=77,
    			space=1,
    			height=2,width=5,
    			angle=90,
    			smooth=true
    			},
    When i leave name= empty, i can add only number in arg. I need to add script that will grab temperature from sensors.I tried

    Code:
    arg="sensors | grep "temp1" |cut -c16-17| head -2 | tail -1",
    but it doesn't work.I don't know anything about lua programming, but as i see it is not hard to learn.

  2. #602
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    Hi folks

    Just found this and have got it all working, it's really good and I must congratulate VinDSL for his (? ) fine work.

    On my system I have a few minor glitches:-
    The BarGraphs for CPU's and Disk space usage are a little misplaced, but that's prob a little tweaking when I find where to tweak
    My main problem is with location for the weather Info, I've found a suitable weather station and got the code ( xml_ID=03672 ), however
    I can't seem to find how to change the location URL.
    Location="http://www.wunderground.com/q/zmw:85250.1.99999"

    I'm guessing the zmw is some kind of mangled Lat/Long info but have as yet been unable to decode it.
    I have searched through the thread but at 61 pages I may have missed what I'm looking for due to word blindness or similar.

    Any help appreciated even if you just point to the appropriate page in this very long thread.

    Thanks for any assistance

    Adrian

  3. #603
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    One more thing, I haven't managed to get the Arrows font yet, so that's maybe why the BarGraphs are misplaced.
    I have tweeted a request using the #jlhfontrequest hashtag but no response as yet.
    Last edited by adr41n; October 23rd, 2012 at 08:37 PM.

  4. #604
    Join Date
    Jan 2009
    Location
    Harborcreek Pa
    Beans
    344
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by adr41n View Post
    One more thing, I haven't managed to get the Arrows font yet, so that's maybe why the BarGraphs are misplaced.
    I have tweeted a request using the #jlhfontrequest hashtag but no response as yet.
    If you have installed conkywx them you should have this folder (/usr/share/fonts/TTF/conkywx) with Arrows.otf in it.

    I live in Erie, Pa and this is what I use.
    Code:
    # -----------------------------------------------------------------------
    # Use XML data from wunderground
    # -----------------------------------------------------------------------
    # NOTE: If enabled, you must supply the XML ID of the station (below)
    # [0] no
    # [1] yes
    use_xml=1
    
    # -----------------------------------------------------------------------
    # XML ID
    # -----------------------------------------------------------------------
    # NOTE: Only needed, if you "use_xml=1" (above)
    # # Erie, Pa
    xml_ID=KPAERIE9
    
    # -----------------------------------------------------------------------
    # Location settings
    # -----------------------------------------------------------------------
    # # Erie, Pa KERI
    Location=http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16541.1.99999
    Bill
    LINUX Flight Simulator Machine - AMD 8-Core FX-8350 - Antec KUHLER H2O 920 - 32G Ram - Nvidia GeForce GTX 780 PCI/Express 6144 MB - Driver Version 340.76 - Asus VE278 - Ubuntu 64 bit 12.04 - 14.04 - 15.10-X-Plane 10.36rc1

  5. #605
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    Thanks Bill,

    Where did you get the code KPAERIE9 from?

    And how did you determine what location URL to use?

    Adrian

  6. #606
    Join Date
    Oct 2009
    Location
    Arizona USA
    Beans
    261
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: VinDSL Conky Script

    ard41n go to weather underground and search Erie PA. In the web address box at the top of the browser you will see what he has in his script. It is the postal zip code.

  7. #607
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    Thanks for your further help,

    I'm located in the UK

    I went to the Erie PA page on wunderground see if I could find anything out.
    The URL is http://www.wunderground.com/US/PA/Erie.html

    and not the Zip code

    also his location code is
    Location=http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16541.1.99999

    again I can't see how to get the zmw: number for my location.

    I don't know if I'm missing something obvious it is 3:43 am here

  8. #608
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    Hi All,

    I threw caution to the wind went to the wunderground site, copied the URL
    for my nearest weather station, used what looked like the code as the XML_Id and used the URL for the location.

    Not sure but it definitely works better now.

    Thanks for your help.

    I will compare the desktop weather info with the web page info for my nearest weather site.

    Thanks again

  9. #609
    Join Date
    Apr 2012
    Location
    Oz
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Regarding Bill's post above, I think the URL needs to be in quotes.

    instead of
    Code:
    # Location settings
    # -----------------------------------------------------------------------
    # # Erie, Pa KERI
    Location=http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16541.1.99999
    it should be
    Code:
    # -----------------------------------------------------------------------
    # Location settings
    # -----------------------------------------------------------------------
    # # Erie, Pa KERI
    Location="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=zmw:16541.1.99999"

  10. #610
    Join Date
    Mar 2009
    Beans
    6

    Re: HOWTO: VinDSL Conky Script

    Thanks PJs I picked that up and the URL is in quotes, all seems well.

    My Desktop is Rockin'

    Thanks again to @VinDSL for the whole thing and @sparker256, @PJs_Ronin and @PaulInBHC for he assistance with the weather problem.

    I have tweaked to Bar Graph position and all is looking cool.

    Image Below, yes I know using the Stock 12.10 Desktop, but all that will come later ...

    Last edited by adr41n; October 24th, 2012 at 07:39 AM.

Page 61 of 287 FirstFirst ... 1151596061626371111161 ... 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
  •