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.
 
 
 
 
Jens Lody 4f5ec93806 initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
data initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
src initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
AUTHORS initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
COPYING initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
ChangeLog initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
Makefile.am initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
NEWS initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
README.md initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
autogen.sh initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
configure.ac initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
gnome-shell-extension-top-notification.cbp initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
gnome-shell-extension-top-notification.spec initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago
update_revision.sh initial commit based on panel OSD extension (extension.js, stylesheet,css) 11 years ago

README.md

Screenshot

gnome-shell-extension-top-notification is a simple extension for displaying weather conditions and forecasts in GNOME Shell, featuring support for multiple locations, no need for WOEID, a symmetrical layout and a settings panel through gnome-shell-extension-prefs.

Currently, the weather data, including forecasts for up to ten days, is fetched from OpenWeatherMap.


Installation

After the installation, restart GNOME Shell (Alt+F2, r, Enter) and enable the extension through gnome-tweak-tool.

Through a package manager

Note: you need the root password for all these installation modes, if you do not have root-access, and the needed build-dependencies are installed, use the generic install.

Debian

Debian uses the (former master now ) yahoo-branch !

My fork of the extension is currently only available for unstable/sid.

Install the package through APT (or use your favourite package-manager, e.g. synaptic):

sudo apt-get install gnome-shell-extension-weather

Fedora

You can install the extension from my repo. I have packages for Fedora 18, 19 and 20.

To install my repo download and install this rpm.

If it is not installed automatically, just run:

sudo yum localinstall --nogpgcheck http://rpm.jenslody.de/fedora-jenslody.de-0.1-2.fc17.noarch.rpm

Now you can install the extension, either via your favourite package-manager or on a console:

sudo yum install gnome-shell-extension-top-notification

Generic (Local installation)

Make sure you have the following dependencies installed:

  • dconf,
  • gettext,
  • pkg-config,
  • git,
  • glib2 (and development packages),
  • zip,
  • gnome-common,
  • autoconf,
  • automake,
  • intltool.
  • gnome-tweak-tool.

Run the following commands:

cd ~ && git clone git://github.com/jenslody/gnome-shell-extension-weather.git
cd ~/gnome-shell-extension-weather
./autogen.sh && make local-install

Configuration

Launch gnome-shell-extension-prefs (reachable also through the OpenWeather Settings button on the extension popup) and select OpenWeather from the drop-down menu to edit the configuration.

Screenshot

You can also use dconf-editor or gsettings to configure the extension through the command line.

If you switch from old openweathermap to the new master ( or openweathermap), you can load the settings with

dconf dump /org/gnome/shell/extensions/weather/ | dconf load /org/gnome/shell/extensions/openweather/

This can also work for most locations, if you switch from old yahoo-based master-branch (now yahoo) to the new master-branch (openweathermap-based).

The OpenWeatherMap maintainers recommend to use an API key. This key can be added in the preferences dialog.


Licence

Copyright (C) 2011 - 2013

This file is part of gnome-shell-extension-top-notification.

gnome-shell-extension-top-notification 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-top-notification 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-top-notification. If not, see http://www.gnu.org/licenses/.