CLI or conky

Forum Forums General Tips and Tricks CLI or conky

Tagged: 

  • This topic has 38 replies, 12 voices, and was last updated Jun 18-12:18 am by Brian Masinick.
Viewing 9 posts - 31 through 39 (of 39 total)
  • Author
    Posts
  • #76695
    Member
    calciumsodium
      Helpful
      Up
      0
      ::

      Anyways, while we’re on weather services, this is a great one:

      finger yourlocation@graph.no

      gives you an ASCII graph of the weather, using data from YR.no.

      finger @graph.no

      gives you usage instructions.

      Thank you for this tip. I have been playing with it. Now I got the @graph.no weather and news to autostart in terminal. I got xterm to keep the terminal window after it renders the weather graph. Roxterm would render it and then automatically close the window.

      xterm -geometry 80x25+130+350 -hold -e finger ^waukee@graph.no &

      I also got the wttr.in weather in conky as well.

      Attachments:
      #76751
      Member
      blur13
        Helpful
        Up
        0
        ::

        @calciumsodium

        Looks great!

        Yes I think its a neat way to present the weather, I use it every day. Its so fast compared to opening a web browser. The author of graph.no also made a bash script to render the same graph in color and with icons (unicode).

        https://github.com/ways/pyyrascii/blob/master/graph.sh

        Download the script, replace line 42: location=”oslo~80″ with your location. The ~80 part is used to ask for wider output ie longer forecast (~<screen width>). Make it executable (chmod 755) and put it in your $PATH, ie /usr/local/bin.

        #78416
        Member
        clementishutin
          Helpful
          Up
          0
          ::

          Great scripts, appreciate it.

          #82632
          Anonymous
            Helpful
            Up
            0
            ::

            https://www.antixforum.com/forums/topic/antix-screenys-general/page/25/#post-82630

            @BobC,
            the configurations.

            For the weather display you need:
            – the WUnderground_conky_script and the Moongiant_conky_script from TeoBigusGeekus.
            As described in the readme files, you have to make the entries for your location and in the Moon_script for your hemisphere and make them executable.

            – the font monofur
            – the Lua script draw_bg.lua
            – the 1 pixel images
            – and the Conky configuration file
            The Conky will display the correct data after the second run, which takes about 8.5 minutes. Of course, you could run a script at startup to fetch the weather data and make Conky available at its startup. But, what are 8.5 minutes….

            The files

            ###################################

            #82652
            Forum Admin
            anticapitalista
              Helpful
              Up
              0
              ::

              sorry, the second conky is denied by this crappy forum software at the moment.

              So don’t post if you think our forum is not up to your standards.

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #82653
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                Thanks, male,

                BTW, the forum allows .zip files

                #82696
                Anonymous
                  Helpful
                  Up
                  0
                  ::

                  @BobC
                  For the Conky below you need
                  – the fonts Liberation Sans(should be on your computer) and VariShapes
                  – lua draw_bg.lua
                  – and this configuration

                  You will have to adapt it to your computer. As you can read, mine is a ThinkPad.
                  To get around the conflict with your bar, there are two ways:

                  -increase the number of pixels to place it above the bar.
                  e.g.

                  gap_y 10
                  

                  to

                  gap_y 60
                  

                  -or, align it on top of the screen

                  alignment bottom_middle
                  

                  to

                  alignment top_middle
                  

                  If you have any questions, ask.

                  • This reply was modified 11 months, 4 weeks ago by Brian Masinick. Reason: removed inflamatory comments
                  #83243
                  Moderator
                  Brian Masinick
                    Helpful
                    Up
                    0
                    ::

                    I separated off topic digressions from this topic; let’s return to ONLY Conky related comments.

                    I have two areas of question and interest:

                    1) Does anyone have any good scripts for EITHER a shell or programming language that are reasonably up-to date for obtaining current weather data from the Wunderground weather service?

                    Once upon a time there were several good scripts; maybe they’ve been updated several times. The old ones I once had don’t work any more.

                    2) We have lots of great Conky scripts in our MX and antiX collection, but I’m always willing and interested in seeing more creativity in this area. Who knows, this “old dog” may learn a few new tricks after all! Thanks for helping to get this discussion BACK on track!

                    --
                    Brian Masinick

                    #84770
                    Moderator
                    Brian Masinick
                      Helpful
                      Up
                      0
                      ::

                      I’ve been writing some fairly simple weather scripts in multiple scripting languages.

                      I’ll add some Conky scripts to my list.

                      This is a great topic; please remember to keep the discussion kind and civil. I love the ideas here and I don’t want to be forced to remove inappropriate stuff; I appeal to everyone to respect the forum etiquette and policy.

                      I’ll update that thread as a reminder to everyone.

                      Thanks!

                      --
                      Brian Masinick

                    Viewing 9 posts - 31 through 39 (of 39 total)
                    • You must be logged in to reply to this topic.