Giter Site home page Giter Site logo

xyzchen / gnome-shell-extension-weather Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neroth/gnome-shell-extension-weather

0.0 2.0 0.0 3.27 MB

A simple extension for displaying weather informations from several cities in GNOME Shell

License: GNU General Public License v3.0

Shell 0.78% CSS 1.87% JavaScript 97.35%

gnome-shell-extension-weather's Introduction

Weather Extension

Screenshot

Gitter chat

gnome-shell-extension-weather 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.

The weather report include forecasts for ~ 10 days.

Support GNOME Shell >= 3.8

Contact the author : Neroth (Christian METZLER).

We need translator ! Translate the extension.


Installation

Through extensions.gnome.org (Local installation)

Go on the Weather extension page on extensions.gnome.org, click on the switch ("OFF" => "ON"), click on the install button. That's it !

Through a package manager

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

Add the PPA ppa:gnome-shell-extensions to your source list, update the package list and install gnome-shell-extension-weather:

sudo add-apt-repository ppa:gnome-shell-extensions
sudo apt-get update
sudo apt-get install gnome-shell-extension-weather

Packages for Fedora are available in the RPM Fusion repositories. If these are not enabled on your system, please install them through the following command (root password required):

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Then, install gnome-shell-extension-weather (root password required):

su -c 'yum install gnome-shell-extension-weather'

Download the package from AUR, make and install it:

wget https://aur.archlinux.org/packages/gn/gnome-shell-extension-weather-git/gnome-shell-extension-weather-git.tar.gz
tar xvzf gnome-shell-extension-weather-git.tar.gz
cd gnome-shell-extension-weather-git && makepkg -si

Generic (Local installation)

Make sure you have the following dependencies installed:

  • gettext,
  • pkg-config,
  • git,
  • glib2,
  • glib2-devel or libglib2.0-dev,
  • zip,
  • gnome-common,
  • autoconf,
  • automake,
  • intltool,
  • gir1.2-gweather-3.0.

Run the following commands:

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

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


Configuration

Launch gnome-shell-extension-prefs (reachable also through the Weather Settings button on the extension popup) and select Weather 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.


Debug

To debug the extension, active the switch Debug extension in the settings:

You have now two new file ("weather-extension.log" and "weather-extension-prefs.log") in your user cache dir (~/.cache/).


Licence

Copyright (C) 2011 - 2014

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/.

gnome-shell-extension-weather's People

Contributors

alexxtasi avatar aripollak avatar auge avatar baltix avatar bojtospeter avatar dancer69 avatar ecyrbe avatar elopez avatar eonpatapon avatar fcordeiro avatar fitojb avatar gagalago avatar gankov avatar huulivoide avatar jayr0d avatar khaledhosny avatar lucascze avatar m13253 avatar mengzhuo avatar neroth avatar noori avatar odysseus86 avatar pjotr123 avatar prescott66 avatar psimacek avatar shlinux avatar simon04 avatar svillemot avatar timosha avatar venemo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.