Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:panel-plugins:xfce4-weather-plugin [2014/10/27 17:47] – [Icon themes] hjudtprojects:panel-plugins:xfce4-weather-plugin [2017/02/16 21:12] (current) – [0.8.9 (2017-02-16)] hjudt
Line 6: Line 6:
 Originally written by Bob Schlärmann, this panel plugin shows information about your local weather in the panel, using forecast data provided by met.no. Originally written by Bob Schlärmann, this panel plugin shows information about your local weather in the panel, using forecast data provided by met.no.
  
-**Attention:** You need to apply two patches on version 0.8.3 because Met.no API has changed. See [[https://bugzilla.xfce.org/show_bug.cgi?id=10916|bug #10916]]. Versions <0.8.3 are not supported (maybe your distribution still supports them, but we don't).+**Attention:** Please update to and try the latest version (see below or on the right) before reporting problems. Versions older than the latest and greatest may be maintained and supported by your distribution,  but we don'support them - if you create bug reports on the Xfce bug tracker for older versions you will simply be told to update your version of the plugin and the bug report will be closed.
  
 ===== Usage ===== ===== Usage =====
Line 12: Line 12:
 The first time you open the configuration dialog, the weather plugin automatically configures itself to fetch weather data from a place which should be near you - based on your IP address. It will also try to determine the units used in your country, but you can alter these on the units page. The first time you open the configuration dialog, the weather plugin automatically configures itself to fetch weather data from a place which should be near you - based on your IP address. It will also try to determine the units used in your country, but you can alter these on the units page.
  
-You can change this location using the Change... button and searching for the city, country, address, monument etc. you're interested in. Only latitude, longitude and altitude will be used for the data requests, so you can change the location name to something you like. There'a further tab for appearance setting, and one for customizing data visible in the scrollbox.+You can change this location using the Change... button and searching for the city, country, address, monument etc. you're interested in. Only latitude, longitude and altitude will be used for the data requests, so you can change the location name to something you like. There is a further tab for appearance settings and one for customizing data visible in the scrollbox.
  
 On the panel icon, a middle click forces an update, left click brings up a forecast and details page. Right-clicking opens the contextual menu. On the panel icon, a middle click forces an update, left click brings up a forecast and details page. Right-clicking opens the contextual menu.
Line 18: Line 18:
 There are a lot of tooltips describing the options and values available. There are a lot of tooltips describing the options and values available.
  
-**NOTE:** To save power, the plugin stops animation and deactivates other CPU-consuming settings when your laptop is on battery. Remember this when you try to change settings, as some results may only be visible when the A/C adapter is attached!+**NOTE:** To save power, the plugin stops animation and deactivates other CPU-consuming settings when your laptop is on battery. Remember this when you try to change settings, as some results may only be visible when the A/C adapter is attached! If you don't like this feature, there is a hidden setting to turn it off, see the [[http://git.xfce.org/panel-plugins/xfce4-weather-plugin/tree/README|README]] file.
  
 ===== Screenshots ===== ===== Screenshots =====
Line 40: Line 40:
  
  
 +===== Known Problems =====
 +
 +==== The temperature and/or other values reported are not correct ====
 +In short: Given that the chosen location parameters are correct, this is caused by the quality of the datasource used (met.no), and there is nothing the plugin can do about it.
 +
 +Long explanation: When the former maintainer started rewriting the plugin to switch from weather.com to another weather data provider, the choice of free data providers was really scarce for the given criteria. The decision was made for met.no, which provides weather data globally. However, that free weather data a bit later only turned out to be forecast data. So in fact, what the 0.8.x versions of the weather plugin show as current weather is actually fake, derived from forecast data. Yes, the weather plugin is cheating! In most cases and for many locations however, that data is sufficiently good. Keep in mind that often values provided by other (even local) providers differ a bit from those at your actual location, some are even more than half an hour old. For some locations though, or for some times/days the results will be quite off from the real temperature. Sorry about that.
 +
 +Of course, the current author is aware that this is not an optimal solution, and today certainly better solutions are available. Therefore, future 0.9.x versions of the plugin will use data from openweathermap.org. However, work on such a new version has not began yet, and will take a while because it includes other necessary tasks like migration from gtk2 to gtk3.
 +
 +==== Text in the forecast window is cut off ====
 +If you're using a higher than standard DPI, which you can set with xfce4-appearance-settings (more easily accessible in the Xfce settings dialog), it might happen that some text in the forecast window is cut off. Unfortunately, fixing this would be very tricky and time-consuming, and the current developer doesn't want to spend more time on this. However, this known issue will be fixed in a future 0.9.x version of the plugin, which will need quite a rewrite anyway.
 ===== Recent Releases ===== ===== Recent Releases =====
  
-==== 0.8.(to be released soon) ====+==== 0.8.(2017-02-16) ==== 
 +  * Bump LocationforecastLTS version to 1.3 
 +  * Fix two compiler warnings about implicit declarations of functions 
 +  * Change more URLs from http://yr.no to https://met.no 
 +  * Translation updates: Basque, Croatian, Czech, Occitan, Slovak 
 + 
 +==== 0.8.8 (2016-08-31) ==== 
 +  * Use https://api.met.no, old site has been deprecated and will no longer work 
 +  * Translation updates: Catalan, Indonesian, Korean, Lithuanian, Slovak, Swedish 
 + 
 +==== 0.8.7 (2016-04-21) ==== 
 +  * Use met.no sunrise-1.1 API (bug #12333) 
 +  * Translation updates: Catalan, Finnish, Greek, Hebrew, Hungarian, Icelandic, Italian, Korean, Lithuanian, Slovak, Spanish, Swedish 
 + 
 +==== 0.8.6 (2015-06-23) ==== 
 +  * Add ACLOCAL_AMFLAGS to Makefile.am 
 +  * Remove negative sign when temperature is rounded to 0 °F (bug #11604) 
 +  * Fix IT_PROG_INTLTOOL warning 
 +  * Translation updates: Asturian, Bulgarian, French, Greek, Icelandic, Lithuanian, Norwegian Bokmål, Norwegian Nynorsk, Russian, Slovenian, Spanish, Swedish, Turkish 
 + 
 +==== 0.8.5 (2014-12-23) ==== 
 +  * Many translation updates 
 + 
 +==== 0.8.4 (2014-11-03) ==== 
 +  * Improve UI feedback when resetting weather data
   * Show API deprecation warnings in the details tab of the summary window instead of the standard output   * Show API deprecation warnings in the details tab of the summary window instead of the standard output
   * Support upower-0.99 (bug #10922)   * Support upower-0.99 (bug #10922)