Giter Site home page Giter Site logo

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

View Code? Open in Web Editor NEW

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

138.0 12.0 143.0 3.15 MB

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

License: GNU General Public License v3.0

Shell 0.72% CSS 1.74% JavaScript 90.33% Makefile 4.16% M4 3.05%

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:

sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Then, install gnome-shell-extension-weather:

sudo dnf 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 asiersarasua avatar baltix avatar bilelovic avatar bojtospeter avatar dancer69 avatar ecyrbe avatar eonpatapon avatar ferdnyc avatar gagalago avatar huulivoide avatar jorgenqv avatar khaledhosny avatar lucascze avatar luktom 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 ycktw avatar yoktur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnome-shell-extension-weather's Issues

Almost always loading

I'm using ubuntu 12.04 LTS. Extension is almost always on loading with "please wait" sign. It sometimes works and shows the weather, but for the most part, it is just taking place on a top panel. Is this extension issue, or it is just server extension uses issue and everyone have the same problem?

Installation crashed

Opensuse v12.2
linux v3.4.28-2.20-desktop x86_64
Gnome 3.4.2.

I attempted to install the current version of Weather on the Gnome Extensions site. I got a frowny face, a note the "something bad happened," that all the extensions were now disabled, and that logout was the only option. Not a happy experience.

Please update Gnome Shell Extension Weather packages for Ubuntu in ppa:xeked and fix version number

I wanna use your's improved Gnome Shell Extension Weather but it doesn't work in latest Ubuntu stable release (12.04), because packages for Ubuntu at http://launchpad.net/~xeked/+archive/gnome are too old :(

Also your packages have incorrect version number - you shouldn't use only date as version, please use number + date, for example 0.1+20120530

Could you update Gnome Shell Extension Weather packages for Ubuntu in your PPA ?
I already created automatic Ubuntu packaging building recipe from latest GIT code!
If you could include debian folder from https://launchpad.net/~xeked/+archive/gnome/+files/gnome-shell-extension-weather_20120209-1.debian.tar.gz into git repository (https://github.com/Neroth/gnome-shell-extension-weather.git) then it would be very easy to build new packages for Ubuntu - just click green "+Request build(s)" button at the bottom of https://code.launchpad.net/~gnome-shell-extensions/+recipe/gnome-shell-extension-weather
Thanks for your improvements :)

Error when trying to configure.

I get this in the console:

JS ERROR: !!! Exception was: Schema "org.gnome.shell.extensions.weather" not found.
JS ERROR: !!! Exception was a String
JS ERROR: !!! Exception was: TypeError: exc.stack is undefined
JS ERROR: !!! message = '"exc.stack is undefined"'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/extensionPrefs/main.js"'
JS ERROR: !!! lineNumber = '134'
JS ERROR: !!! stack = '"([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gnome-shell/js/extensionPrefs/main.js:134
wrapper([object Object],"Schema "org.gnome.shell.extensions.weather" not found.")@/usr/share/gjs-1.0/lang.js:204
("[email protected]")@/usr/share/gnome-shell/js/extensionPrefs/main.js:101
wrapper("[email protected]")@/usr/share/gjs-1.0/lang.js:204
([object _private_Gtk_ComboBox])@/usr/share/gnome-shell/js/extensionPrefs/main.js:118
wrapper([object _private_Gtk_ComboBox])@/usr/share/gjs-1.0/lang.js:204
main([object Array])@/usr/share/gnome-shell/js/extensionPrefs/main.js:269
@:1
"'

Wrong information about day

Hello,
I found a small bug in this great extension. You are displaying the weather information for the current day and the next day in the small window which pops up if you click on the extension.
I just realized that just after midday it always displays "Yesterday" next to the information for the current day. I am not sure if this a problem with time zones or the way you receive the information from the internet but it would be great if you fix this issue.

If you need further details, just let me know.

Kind regards,
David

better city selection

From Debian-Bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703478

The default weather shown is for Cambridge in the USA. A better default
would be to have a "Current timezone" city that would map from the
timezone string (like TZ=Australia/Perth) to the cities provided by the
extension. This way you could get relatively accurate weather
information, wherever you are in the world, even when travelling.

still not working and crashing gnome

running Fedora 17 , gnome shell 3.4.1-6, all packages updated

JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 580 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 982 exception 0 number 157

(gnome-shell:1425): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.extensions.weather' does not contain a key named 'actual-city'
gnome-session[1188]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 580 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 982 exception 0 number 157

(gnome-shell:15318): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.extensions.weather' does not contain a key named 'actual-city'
gnome-session[1188]: WARNING: Application 'gnome-shell.desktop' killed by signal 5

No Internet causes gnome-shell to consume CPU

This extension is great. But I ran into a problem when I disconnected my workstation from the network to perform some testing. gnome-shell slowly increased CPU utilization and memory consumption until the desktop appeared to hang and became unusable until gnome-shell was restarted.

Steps to reproduce the issue:

  1. Disconnect all network cables and turn off wireless (if equipped)
  2. Enable weather extension
  3. Log out and back in
  4. Monitor resource utilization using conky, top, or system monitor
  5. Around the ten minute mark (on my systems anyway), the shell begins to exhibit signs of slowing down; CPU and memory utilization for gnome-shell are up
  6. Within a few minutes, the desktop is no longer updating
  7. Switch to virtual terminal 1 (Ctrl+Alt+F1)
  8. Log in and replace gnome-shell: DISPLAY=:0.0 gnome-shell --replace &
  9. Switch back to X console (Ctrl+Alt+F8)
  10. Everything is back to normal for a while.

Disabling the weather extension fixes the problem. But then I don't have weather updates. :-(

I tested this on two systems; both are x86_64 systems running up-to-date installations of Arch Linux with the latest weather extension from the AUR (20120201-1). The first system is a Dell Precision T7500 workstation (dual, quad-core CPUs) with 12 GB of RAM. The second is a Dell XPS M1330 laptop with two cores and 4 GB of RAM.

Isnt a Issue , its a question ;)

Hi ,

first of all i like your extension , but i have one Question. Could you tell me how i can change the pictures for sunny clody and so on ?

not working

Hi.
After the last update the extension is not working anymore in Ububntu 12.04 LTS x32 or x64 -gnome 3.4.1. The extension is installed but does not work.
Please fix this... ...it realy is a useful and cool extension.
Thank you.

Suggestions on "last build time"

Thanks for adding last build time to your extension.
Anyway, I think the way it is displayed makes its meaning somewhat "obscure". You should make it more explicit.
E.g., I'd add a string saying Last update: xx.yy (or even Forecast last build time: xx.yy, in order to make it clear that what is shown represents the last time the forecast was generated by Yahoo! Weather rather than the last time the extension refreshed its own data) to - say - the panel lower right corner. It'd be even better to add a mouseover tooltip, but I'm not sure it is implementable.
Plus, I'd make this information optional through a checkbox in the settings panel.
What do you think?

Can't find Macau

When I search for the city of Macau the extension gives no results. I tried to search by the name of Macao instead and I get the same.

Can't install from extensions.gnome.org

I can't get this extension to turn on after installing from extensions.gnome.org. I get an error about the schema not being found. I think that metadata.json needs to have a "settings_schema" element, and maybe the schema needs into be installed into a schemas/ subdirectory.

Cannot add City after deletion

After deleting all cities from the list I cannon't add any new ones. I get the pop-up asking me to select from the list but the OK button never appears properly.

I have removed, rebooted, re-installed with no luck.

version is

gnome-shell-extension-weather-0-0.7.git734987b.fc17.noarch

Not sure what else ya might need. I can submit screenshots / logs / etc.

P.S. Great work on the app.

Extension appears multiple time when the screen is locked

Just lock the screen and you'll see the weather icon appearing three or more times in the top bar.
This is happening on ubuntu 12.10 x64 with gnome shell 3.6.2. The extension is installed from the PPA.

As additional info, please note that before using the PPA I tried to install from extensions.gnome.org page.

weather-settings.desktop opens gnome-shell-extension-prefs without preselection

Clicking 'Weather settings' or opening 'Weather settings' opens the gnome-shell-extension-prefs application without preselecting this extension.

By calling gnome-shell-extension-prefs with the extension uuid like:

gnome-shell-extension-prefs extension:///[email protected]

it is possible to preselect the extension configuration.

However, gnome-shell-extension-prefs shows the warning

(gnome-shell-extension-prefs:9095): Gtk-WARNING **: Attempting to add a widget with type GtkBox to a container of type WeatherExtensionPrefsWidget, but the widget is already inside a container of type WeatherExtensionPrefsWidget, please use gtk_widget_reparent()

So further investigation is required.

faulty shell-3.6 implementation

looking into .xsession-errors:0 I see LOTS of :

(gnome-shell:30161): Clutter-CRITICAL *_: clutter_text_get_editable: assertion CLUTTER_IS_TEXT (self)' failed (gnome-shell:30161): Clutter-CRITICAL *_: clutter_text_get_text: assertion CLUTTER_IS_TEXT (self)' failed
(gnome-shell:30161): Clutter-CRITICAL **: clutter_text_set_text: assertion`CLUTTER_IS_TEXT (self)' failed

Cannot configure

Configuration window does not appear when clicking on "Weather Settings". It just shows busy mouse icon and then nothing happens. Otherwise it's working fine, except I'm stuck with Cambridge, Massachusetts. Debian 7.0 Wheezy, Gnome 3.4, fully updated. Can provide more info, if you just point me to logs or whatever else you need to know.
Oh yeah, installed with checkinstall, if that matters.

Some (small) suggestions

Some things that I've noticed and, in my opinion, should be corrected:

  • the city name and the sunrise/sunset times should be centered with respect to the condition and temperature (see this picture, please);
  • arrows for wind direction aren't very clear; I'd replace them with cardinal directions codes (e.g. N, SW etc. - which also should be translatable, since they vary across different languages);
  • I'd add an arrow (perhaps a horizontal one) to represent steady pressure.

Please, implement these suggestions if you think they're worth it; otherwise, feel free to reject them.

can not add Marseille

Hello,

I can not add Marseille "Marseille, Provence-Alpes-Cote d'Azur, FR" in the config city list, it does nothing when I click on "validate" button.

Thanks for your help.

LGDN

can't install on debian testing

I'm trying to install this extension on Debian Wheezy - testing. First I installed all dependencies and after I have tried to make && make install extension but no error appears. In tweak-tool there is extension "weather" and it's ON but after reset gnome-shell no extension appears.

PS.
debian testing
kernel 3.2.0-4
gnome-shell 3.4.2
packages for extension downloaded from master branch

Number localization

In your extension, the dot is used as a decimal separator. Some countries use a comma however and for example a dot after all 3 numbers (like in German). Gnome applications use these country specific formats. Honestly speaking, I don't know very much about this stuff, but I would suggest to change line 891 in extension.js to

        this._currentWeatherPressure.text = parseFloat(pressure).toLocaleString() + ' ' + pressure_unit + ((pressure_state)?" ":"") + this.get_pressure_state(pressure_state);

line 935 to

            this._currentWeatherWind.text = parseFloat(wind).toLocaleString() + ' ' + wind_unit;

and line 937 to

            this._currentWeatherWind.text = wind_direction + ' ' + parseFloat(wind).toLocaleString() + ' ' + wind_unit;

Edit: I seemingly used an older version.

Add link to full forecast page

A while ago, I added a patch to the extension to link back to the full Yahoo weather page from this popup (the "link" element in the json). That seems to have been removed. Could you please add it back? Thanks!

Some strings not translated

The Italian .po file contains translations for every string, but some entries in the settings panel (see this screenshot) and in the popup (i.e. Reload Weather Information) are shown in English.

JS ERROR: !!! WARNING: 'anonymous function does not always return a value'

JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 514 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 578 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 585 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 933 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 977 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 1328 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/usr/share/gnome-shell/extensions/[email protected]/extension.js' line 1337 exception 0 number 157

Cannot edit preferences

Changing preferences through the settings window often has no effect at all. I suspect this happens only if you try to remove all cities from the list of locations (i.e., if you press the - button when only one location is listed).

If this is the case, and since the version I was using previously (i.e. f7c4aea) wasn't behaving this way, I think the issue could be related to this change: 32d03b6.

What do you think?
Thanks.

dublicates itself on panel

I using Ubuntu 12.10 amd 64, GNOME 3.6 updated from gnome3 team ppa. I updated your extension from your ppa. package version is gnome-shell-extension-weather - 0.2-0+20130221~quantal1.
Problem is:
when screen is down (by timeout or I closed lid on my notebook) and I 'wake up' it extension copies itself many times.
It creates copies on screen with edit to enter password too.
You can see problem on attached screenshot.

P.S. Sorry for my English, I hope you understand me correctly.

Screenshot from 2013-02-21 21:43:06

upgrade to 3.4

Current HEAD is not compatible woth GNOME-3.4. Please fix.
P.S. Simon04 has already made this in his branch.

Weather data feed: Provide attribution to Yahoo! - Terms of Use violation

http://developer.yahoo.com/weather/index.html#terms

Terms of Use

The feeds are provided free of charge for use by individuals and non-profit organizations for personal, non-commercial uses. We ask that you provide attribution to Yahoo! Weather in connection with your use of the feeds.

If you provide this attribution in text, please use: "Yahoo! Weather." If you provide this attribution with a graphic, please use the Yahoo! Weather logo that we have included in the feed itself.

We reserve all rights in and to the Yahoo! Weather logo, and your right to use the Yahoo! Weather logo is limited to providing attribution in connection with these RSS feeds.

Yahoo! also reserves the right to require you to cease distributing these feeds at any time for any reason.

Bbc weather

Hi. No my little city on yahoo weather. Can you add bbc weather. Thanks

Gnome Shell 3.6.1 crash

On Gnome 3.6.1 (Fedora 18 Alpha), removing all locations causes Gnome Shell to crash.

More precisely:

  1. from the extension preferences window, remove all locations through the - button on the bottom-left;
  2. as soon as you've removed all locations, Gnome Shell tries to reload, but it crashes: the screen telling you to re-log and that all extensions will be disabled appears;
  3. if you try to re-enable again the extension through gnome-tweak-tool, Gnome Shell crashes again;
  4. the only way to avoid crashes when enabling the extension is to restore its default configuration parameters through dconf-editor.

cannot load data when proxy is set to "auto" in gnome settings

When gnome is configured to automatically recognize proxies (settings->network->proxies->automatic) the extension fails to load data.
More precisely, in the function load_json_async, when the request is made, the Soup message is returned with status_code = 2, which is SOUP_STATUS_CANT_RESOLVE. So I guess this is a Soup problem, but maybe you know a workaround to make the extension work anyway.

Schema org.gnome.shell.extensions.weather could not be found

This error occurs after installing via Generic method.

Error: Schema org.gnome.shell.extensions.weather could not be found for extension [email protected]. Please check your installation.

Stack trace:
getSettings("org.gnome.shell.extensions.weather")@/home/brandon/.local/share/gnome-shell/extensions/[email protected]/convenience.js:89
()@/home/brandon/.local/share/gnome-shell/extensions/[email protected]/prefs.js:548
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/home/brandon/.local/share/gnome-shell/extensions/[email protected]/prefs.js:555
([object Object])@/usr/share/gjs-1.0/overrides/GObject.js:72
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/overrides/GObject.js:131
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:239
@/home/brandon/.local/share/gnome-shell/extensions/[email protected]/prefs.js:760```

Translation update needed.

You forgot to update the files inside the po directory to make the corrections to the Beaufort scale descriptions (pull request #66) translatable. ;-)
Thank you!

Request: display "forecasts build date"

I think it would be useful if the user could choose to display also the "forecasts last build date", i.e. the last time Yahoo! Weather updated its own weather data; this way, one would always know how "fresh" the information shown by your extension is.
As for the implementation, you can have a look at my fork (look for the variables last_build_date and _lastBuildTime), if you wish.
Thanks for your attention.

Error : Main.panel._rightBox.insert_actor is not a function

Hello,
With the gnome 3.4.1 update, the weather extension doesn't work anymore. In "lookglass", I have this error :

 Main.panel._rightBox.insert_actor is not a function

If in the extension.js file I switch line 158 to "Main.panel._rightBox.add (this.actor, children.length-1);", it works but the indicator is at the wrong place.

Thank you !

Schema "org.gnome.shell.extensions.weather" not found.

This comes again.
Gnome-shell 3.6.2
From http://extensions.gnome.org/ :

JS ERROR: !!! WARNING: file '/home/ildar/.local/share/gnome-shell/extensions/[email protected]/extension.js' line 585 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/home/ildar/.local/share/gnome-shell/extensions/[email protected]/extension.js' line 1000 exception 0 number 157
JS LOG: Extension "[email protected]" had error: Schema "org.gnome.shell.extensions.weather" not found.

from git HEAD:

JS ERROR: !!! WARNING: file '/home/ildar/.local/share/gnome-shell/extensions/[email protected]/extension.js' line 597 exception 0 number 157
JS ERROR: !!! WARNING: 'anonymous function does not always return a value'
JS ERROR: !!! WARNING: file '/home/ildar/.local/share/gnome-shell/extensions/[email protected]/extension.js' line 1012 exception 0 number 157
JS LOG: Extension "[email protected]" had error: Error: Schema org.gnome.shell.extensions.weather could not be found for extension [email protected]. Please check your installation.

Check:

$ ls -l $PWD/o*
-rw-r--r-- 1 ildar ildar 3553 фев 21 02:55 /home/ildar/.local/share/gnome-shell/extensions/[email protected]/org.gnome.shell.extensions.weather.gschema.xml

update weather data in a separate thread!

The error of the extension is updating data in the same thread as GUI. This leads to the WHOLE DESKTOP FREEZE on network problems. E.g. if DNS is slow or not responsive the whole Gnome Shell is frozen and it's nothing you can do in this X session.

Show multiple locations on weather pop up

We can already define multiple cities in the weather settings. How difficult it would be to actually show two or more different cities (from the location list) in the popup window?

What I'd like to do is what is shown in this picture:

multiplelocations

Location resetting

Every so often the location resets itself to the default of Combridge MA. I was wondering if this can be fixed somehow, and if not, is it possible to change the default somewhere.

I've looked through the source but I don't seem to see the default anywhere, leading me to believe it's something set from the server side. Is it possible to set a default somehow, I'd be happier to edit some source once then have to re-set my location via gui every couple days, that is getting old fast and I prefer this over the other weather extension.

Need weather forecast

I can only see weather for yesterday and today, I need the weather for tomorrow, or even the days after tomorrow.
Could you implement it? Thanks.

Please add weather extension to extensions.gnome.org

Should be a good idea (and not very time consuming) to add your improved weather extension to the https://extensions.gnome.org website. This website aims to offer all extension for gnome, but now there are no weather extension :(.

Adding weather extension to https://extensions.gnome.org would help all GNOME users have an easy way to install this extension (for example Debian or Ubuntu users), it's to hard for simple users to use git and make to install your extension.

Also it would allow to install/uninstall this extension in one click :)

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.