Weather plugin in LXDE

Everything about X, Gnome, KDE, ... and everything running on it

Weather plugin in LXDE

Postby Droidgamerj » 2015-10-25 19:17

I love LXDE debian. Everything in debian just works. This is a minor annoyance for me but I would love to figure this out. The weather plugin you can add to your panel has black text when displaying the temperature. I theme my panel dark grey and make sure in the panel settings the font color is white. My date and time display the results of this change since by default its set to black for the panel font color. The text on the weather plugin does not change. In other LXDE distros the weather plugin will display with white text when the font color in the panel settings are turned to white. I hope someone has a fix for this so I can turn my weather plugin back on. Thank you for your time and hope someone can help. Debian 4 Life :D
Droidgamerj
 
Posts: 2
Joined: 2015-10-25 19:07

Re: Weather plugin in LXDE

Postby GarryRicketson » 2015-10-25 23:30

Have you tried ?:
How to change the font color in the Weather plugin in LXDE
If you have, then my apology, I do not use LXDE, so I don't know the answer, but it looks like out of all the results, there should be something use full, I am tired and do not have time at the moment to look through the results, and maybe you all ready tried that, but any way, if not it is worth a try.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4277
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Weather plugin in LXDE

Postby Droidgamerj » 2015-10-26 00:12

That does not work sadly. I appreciate your comment though.
Droidgamerj
 
Posts: 2
Joined: 2015-10-25 19:07

Re: Weather plugin in LXDE

Postby hhh » 2015-10-29 18:04

This was fixed in version 0.8.0...
http://blog.lxde.org/?p=1323

That fix is only available in Debian stretch or sid at the moment...
https://packages.debian.org/search?keywords=lxpanel

You could try backporting lxpanel for jessie, but I have a feeling it might not go smoothly...
https://wiki.debian.org/SimpleBackportCreation
https://wiki.debian.org/BuildingFormalBackports
https://forums.bunsenlabs.org/viewtopic.php?id=58

-edit- If I can find some time, I'll try to backport it, or maybe stevepusser would be interested.

I've pretty much given up on weather applets, they all seem to be dead-on accurate one day and giving the forecast for Mars the next.
hhh
 
Posts: 211
Joined: 2010-07-07 04:50

Re: Weather plugin in LXDE

Postby ruffwoof » 2017-04-13 01:23

Still the same in 2017 ... weather plugin in Jessie stable still doesn't work. Looks like yahoo changed the weather codes/values that feeds the plugin resulting in the Jessie stable LXDE plugin no longer working

I've manually fixed that (workaround) by ...

~/.config/lxpanel/LXDE/panels/panel

entered values of :

Code: Select all
Plugin {
  type=weather
  Config {
    alias=London, GB
    city=London
    state=London
    country=GB
    units=c
    interval=15
    enabled=1
    woeid=23416974
  }
}

Using the woeid value taken from this web page

(Tip the lxde panel can be restarted after making the edits using lxpanelctl restart)

For other cities/states naturally you'd have to look up the appropriate values and adjusted accordingly, i.e. change the
Code: Select all
WHERE text="London"
in that URL to your own city/location.

The weather font colour in the panel stays at black however, no matter what font colour your might set for the panel. I'm using panel transparency, so I just dropped in a light coloured wallpaper

Image

The problem is down to Yahoo that sources the weather forecast having changed their reference codes. Later versions of LXDE panel might have resolved that issue.
ruffwoof
 
Posts: 196
Joined: 2016-08-20 21:00


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable