Conky weather, RSS etc.

10 replies [Last post]
hack and hack
Offline
Joined: 04/02/2015

I'd like to have the weather and rss feeds in my Conky,
but I was kinda worried about tracking.
I've read that RSS reader can be disabled from the web when checked to avoid having the servers sending me images.
And that it could be torrefied (more interesting bit in my case).

Is it possible to not recieve the weather at my location, but for other places, but torrefied at the same time to not give my location away too easily?
I understand that I'm splitting hair, but that would be a cool thing to do anyway.
After all, I can browse for the weather at any location through tor browser.
I just want that in my conky.
Same for RSS if doable.

Thanks!

onetechbuddy
Offline
Joined: 05/26/2014

You mention the city code or name in the url to get weather data. if you mention any other city than you live you get the data of that city.

http://openweathermap.org/forecast5

hack and hack
Offline
Joined: 04/02/2015

Oh that's cool, thank you.
Not sure if I want my RSS feeds in Conky yet
(there's the Tor browser, which is probably the simplest and safest way),
but the weather, definitely.

Thanks again. That should definitely be in the FAQ IMO.

onetechbuddy
Offline
Joined: 05/26/2014

This is my favorite conky and will suit you. http://gnome-look.org/content/show.php/Conky-Vision?content=160448

I even played with it and came up with my own conky. Mine contains RSS feeds but this one has only weather. The tricky part is to find a good wallpaper. Belenos wallpapers work well. If you want to use other wallpapers try to find a blurred one like the one in that screenshot.

hack and hack
Offline
Joined: 04/02/2015

Thanks, I found also another one that I like as well (the icons): http://hernanarce.deviantart.com/art/Conky-Gnow-multilang-505074617

Also it's working with openweathermap.
For the icons, I changed the conky so that it points toward my personal folder instead of conky-manager (which I don't need to install).

But I have a problem with the xml.
XML Parsing Error: not well-formed
I have curl installed, I have the API key and city code.

onetechbuddy
Offline
Joined: 05/26/2014

The conkyrc file is messy. Everything is put together. I made some changes to the original file to get it to display weather forecast and city name correctly. Now working on that big current temperature to be displayed on the top right corner. Here is a screenshot and the conkyrc file as a text file.

Screenshot from 2015-07-29 20:45:11.png
AttachmentSize
conkyrc.txt 4.12 KB
hack and hack
Offline
Joined: 04/02/2015

I tried yours, and it's a bit better. Now I have ° everywhere instead of nothing. Some icons are somehow displayed, but they're not where they should be (not displayed in the screenshot because I roughly Gimped it).
Maybe it's because of my custom conky positioning.

conky_openweather_scrot.png
AttachmentSize
conkyrc_demo.txt 4.3 KB
cooloutac
Offline
Joined: 06/27/2015

I would think that just connecting for weather data for certain location would help to de-anonymize you, no? Im' no expert though. It would probably only be the gov't or someone asadvanced doing something like that, so I wouldn't worry about it.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

Yes.. The idea of having in my conky something pinging to a server and revealing my approximate position doesn't make me feel good..
That is why my conky contains only date, time, ram, cpu and network usage and the top processes. It's all I need. If I want to know what's the weather like I open the window..
:)

hack and hack
Offline
Joined: 04/02/2015

I can probably live without it, but it's oh so convenient.
So isn't there a way to prevent that, besides checking the weather from Tor browser (too slow)?
Maybe torrefying that ping process, or spoofing it? Ideally, Conky pinging process through Tor would be cool.

EDIT:
Since reaching a server will reveal myself at least to the said server,
only downloading while Tor is on would really work.
But using smtube and youtube-dl isn't using Tor.
So, the difference is that I consciously choose to download something,
while Conky pinging openweathermap is automated.
The other difference is the content downloaded, as one reveals my geolocation
(I won't check Hawai's weather if I live in Finland on a daily basis unless I have serious mental issues).

So, back to my first idea, torrefying a specific ping process.
That's where I need to search.

hack and hack
Offline
Joined: 04/02/2015

Yes, but since it's yahoo, and since I won't be using the weather of a place I don't visit frequently (that's data in their server), it's safe to assume that it will use that data anyway.
At least openweathermap seems to operate with the user in mind (even though they use facebook sharebuttons and google fonts).
Of course it's not THAT important, but it's interesting to know how things work. Plus that way I won't feed a-holes.

About the anonymity, the only challenge would be maybe to make the openweathermap believe that it's not my computer that's making the request. Maybe through Tor, I don't really know. Not vitally important, but interesting nonetheless.