Updated README.

yahoo_weather
simon04 14 years ago
parent ec9dc7a3f1
commit 66451c6eeb
  1. 61
      README
  2. 39
      README.md

@ -1,61 +0,0 @@
## gnome-shell-extension-weather
gnome-shell-extension-weather is a simple extension for displaying weather notifications in Gnome Shell.
Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo](http://weather.yahoo.com/).
### Screenshot
![Screenshot](https://github.com/ecyrbe/gnome-shell-extension-weather/raw/master/data/screenshot.png)
### Installation
From the command line
1. ./autogen.sh --prefix="/usr"
2. make
3. sudo make install
that's it!
### Configuration
Gnome extension weather use gsettings to save your configuration
You can modify the temperature unit with the following command
. gsettings set org.gnome.shell.extensions.weather unit 'celsius'
or
. gsettings set org.gnome.shell.extensions.weather unit 'fahrenheit'
You can specify your location buy using this command, (cf. [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html))
. gsettings set org.gnome.shell.extensions.weather woeid 'your location'
Sometimes your woeid location isn't quite right. it's the next major city around. to customise the displayed city you can type :
. gsettings set org.gnome.shell.extensions.weather city 'your city'
### Restart Gnome-Shell
Don't forget to restart Gnome-Shell
1. Restart Gnome Shell (`[Alt]+[F2]`, `r`)
2. Fork this project as you like
### Licence
Copyright (C) 2011
Ecyrbe <ecyrbe+spam@gmail.com>,
Timur Kristóf <venemo@msn.com>,
Elad Alfassa <elad@fedoraproject.org>,
Simon Legner <Simon.Legner@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/>.

@ -2,23 +2,25 @@
gnome-shell-extension-weather is a simple extension for displaying weather notifications in Gnome Shell. gnome-shell-extension-weather is a simple extension for displaying weather notifications in Gnome Shell.
Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo](http://weather.yahoo.com/). Currently, the weather report including forecast for today and tomorrow is fetched from [Yahoo! Weather](http://weather.yahoo.com/).
### Screenshots ### Screenshots
![Screenshot](https://github.com/ecyrbe/gnome-shell-extension-weather/raw/master/data/screenshot.png) ![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/data/screenshot.png)
And with french translation: And with French translation:
![Screenshot](https://github.com/ecyrbe/gnome-shell-extension-weather/raw/master/data/screenshot2.png) ![Screenshot](https://github.com/simon04/gnome-shell-extension-weather/raw/master/data/screenshot2.png)
### Installation ### Installation
From the command line For installation, run the following commands:
1. ./autogen.sh --prefix="/usr" ```bash
2. make ./autogen.sh --prefix=/usr
3. sudo make install make
sudo make install
```
That's it! That's it!
@ -26,37 +28,34 @@ That's it!
Gnome extension weather use gsettings to save your configuration. you can use dconf-editor or gsettings from the command line to modify some parameters Gnome extension weather use gsettings to save your configuration. you can use dconf-editor or gsettings from the command line to modify some parameters
#### Location (cf [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html)) #### Location (cf. [WOEID](http://developer.yahoo.com/geo/geoplanet/guide/concepts.html))
You can specify your location buy using this command: You can specify your location buy using this command:
```bash ```bash
gsettings set org.gnome.shell.extensions.weather woeid 'your location' gsettings set org.gnome.shell.extensions.weather woeid your_woeid
``` ```
#### Temperature units (optional, celsius by default) #### Temperature units (optional, celsius by default)
You can modify the temperature unit with the following command You can modify the temperature unit with one of the following commands:
```bash
gsettings set org.gnome.shell.extensions.weather unit 'celsius'
```
or
```bash ```bash
gsettings set org.gnome.shell.extensions.weather unit 'fahrenheit' gsettings set org.gnome.shell.extensions.weather unit celsius
gsettings set org.gnome.shell.extensions.weather unit fahrenheit
``` ```
#### Displayed location (optional) #### Displayed location (optional)
Sometimes your woeid location isn't quite right. it's the next major city around. to customise the displayed city you can type : Sometimes your WOEID location isn't quite right (it's the next major city around). To customise the displayed city you can type:
```bash ```bash
gsettings set org.gnome.shell.extensions.weather city 'your city' gsettings set org.gnome.shell.extensions.weather city your_city
``` ```
### Restart Gnome-Shell ### Restart Gnome-Shell
Don't forget to restart Gnome-Shell Don't forget to restart GNOME Shell:
1. Restart Gnome Shell (`[Alt]+[F2]`, `r`) 1. Restart Gnome Shell (`[Alt]+[F2]`, `r`)
2. Fork this project as you like 2. Fork this project as you like

Loading…
Cancel
Save