Forum › Forums › General › Tips and Tricks › CLI or conky
Tagged: Conky
- This topic has 38 replies, 12 voices, and was last updated Jun 18-12:18 am by Brian Masinick.
-
AuthorPosts
-
February 3, 2022 at 1:01 pm #76695Member
calciumsodium
::Anyways, while we’re on weather services, this is a great one:
finger yourlocation@graph.nogives you an ASCII graph of the weather, using data from YR.no.
finger @graph.nogives 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:
February 4, 2022 at 7:34 am #76751Member
blur13
::@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.
March 3, 2022 at 1:24 pm #78416Memberclementishutin
May 4, 2022 at 6:01 pm #82632Anonymous
::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….###################################
May 4, 2022 at 10:28 pm #82652Forum Admin
anticapitalista
::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.
May 4, 2022 at 11:23 pm #82653ModeratorBobC
May 5, 2022 at 12:12 pm #82696Anonymous
::@BobC
For the Conky below you need
– the fonts Liberation Sans(should be on your computer) and VariShapes
– lua draw_bg.lua
– and this configurationYou 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 10to
gap_y 60-or, align it on top of the screen
alignment bottom_middleto
alignment top_middleIf you have any questions, ask.
- This reply was modified 11 months, 4 weeks ago by Brian Masinick. Reason: removed inflamatory comments
May 17, 2022 at 7:57 pm #83243Moderator
Brian Masinick
::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 MasinickJune 18, 2022 at 12:18 am #84770Moderator
Brian Masinick
::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 -
AuthorPosts
- You must be logged in to reply to this topic.
