wmforecast
http://wmforecast.friedcheese.org
wmforecast is a weather dockapp for Window Maker using libgweather.
The icons were designed by MerlinTheRed and are available at http://merlinthered.deviantart.com/art/plain-weather-icons-157162192.
Download
There are several options for obtaining wmforecast:
-
Download a tarball from the releases page.
-
Clone the git repository.
git clone https://github.com/d-torrance/wmforecast
-
Packages are available for Debian-based distributions.
sudo apt install wmforecast
This may give you an older version. To obtain the latest version in Ubuntu, you may use the PPA.
sudo add-apt-repository ppa:profzoom/dockapps sudo apt install wmforecast
Installation
-
To compile wmforecast from source, you will need the following.
- libgweather
- WINGs
- (optional) GeoClue
-
If building from a tarball, do the following after extracting the source.
./configure make sudo make install
-
If building from git, you will first need to generate the
configure
script../autogen.sh
Then proceed as above.
Usage
wmforecast [OPTIONS]
Options:
-v, --version print the version number
-h, --help print this help screen
-i, --interval <min> number of minutes between refreshes (default 60)
-u, --units <c|f> whether to use Celsius or Fahrenheit (default f)
-b, --background <color> set background color
-t, --text <color> set text color
-p, --latitude <coord> set latitude
-l, --longitude <coord> set longitude
-I, --icondir <dir> set icon directory
(default /usr/local/share/wmforecast)
-n, --no-geoclue disable geoclue
-w, --windowed run in windowed mode
-d, --days number of days to show in forecast (default 7)
Hover the mouse over the icon to display a balloon with the forecast for the next several days. Middle click to switch the balloon to display the current conditions.
Geoclue
If using Geoclue >= 2.5.7, then you may get the following error after clicking the “Find Coords” button in the preferences window:
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'wmforecast' disallowed, no agent for UID 1000
To fix this, run Geoclue’s demo agent. On Debian-based systems, this
is located at /usr/libexec/geoclue-2.0/demos/agent
. In Window
Maker, you can run this at startup by adding the following line to
~/GNUstep/Library/WindowMaker/autostart
:
/usr/libexec/geoclue-2.0/demos/agent &
See also: https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/143
Bugs
Please report bugs and feature requests at the issues page.
Copyright
wmforecast
2014-2023 Doug Torrance
dtorrance@piedmont.edu
GNU General Public License v3+
icons
2010 MerlinTheRed
http://merlinthered.deviantart.com/
Creative Commons Attribution-ShareAlike 3.0 License