You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-shell-extension-openw.../README.md

97 lines
3.2 KiB

## gnome-shell-extension-weather
gnome-shell-extension-weather is a simple extension for displaying weather notifications in Gnome Shell.
13 years ago
Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo! Weather](http://weather.yahoo.com/).
13 years ago
----
### Screenshots
13 years ago
![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/data/screenshot.png)
13 years ago
And with French translation:
13 years ago
![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/data/screenshot2.png)
13 years ago
----
### Installation
13 years ago
For installation, run the following commands:
14 years ago
13 years ago
```bash
./autogen.sh --prefix=/usr
make
sudo make install
```
14 years ago
That's it!
13 years ago
----
### Configuration
Gnome extension weather use gsettings to save your configuration. you can use dconf-editor or gsettings from the command line to modify some parameters
13 years ago
#### Location (cf. [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html))
You can specify your location buy using this command:
```bash
13 years ago
gsettings set org.gnome.shell.extensions.weather woeid your_woeid
```
#### Temperature units (optional, celsius by default)
13 years ago
You can modify the temperature unit with one of the following commands:
```bash
13 years ago
gsettings set org.gnome.shell.extensions.weather unit celsius
gsettings set org.gnome.shell.extensions.weather unit fahrenheit
```
14 years ago
#### Displayed location (optional)
13 years ago
Sometimes your WOEID location isn't quite right (it's the next major city around). To customise the displayed city you can type:
```bash
13 years ago
gsettings set org.gnome.shell.extensions.weather city your_city
```
13 years ago
13 years ago
#### Translate weather conditions (optional, true by default)
You may want to configure whether to translate the weather condition. If enabled, the condition is translated based on the weather code. If disabled, the condition string from Yahoo is taken. Note: Enabling the translation sometimes results in loss of accuracy, e.g., the condition string "PM Thunderstorms" cannot be expressed in terms of weather codes.
```bash
gsettings set org.gnome.shell.extensions.weather translate-condition true
gsettings set org.gnome.shell.extensions.weather translate-condition false
```
13 years ago
#### Restart Gnome-Shell
13 years ago
Don't forget to restart GNOME Shell:
1. Restart Gnome Shell (`[Alt]+[F2]`, `r`)
2. Fork this project as you like
13 years ago
----
### Licence
Copyright (C) 2011
Ecyrbe <ecyrbe+spam@gmail.com>,
Timur Kristóf <venemo@msn.com>,
Elad Alfassa <elad@fedoraproject.org>,
13 years ago
Simon Legner <Simon.Legner@gmail.com>,
Simon Claessens <gagalago@gmail.com>
This file is part of gnome-shell-extension-weather.
gnome-shell-extension-weather is free software: you can redistribute it and/or modify it under the terms of the **GNU General Public License as published by the Free Software Foundation, either version 3** of the License, or (at your option) any later version.
gnome-shell-extension-weather is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with gnome-shell-extension-weather. If not, see <http://www.gnu.org/licenses/>.