Giter Site home page Giter Site logo

gnome-shell-teatime's Introduction

Please note

This extension is not maintained, anymore. Please contribute to this fork:

https://github.com/zeners/gnome-shell-teatime

It is published as TeaTimer on extensions.gnome.org.


Premise

Before you do anything, please make sure, that you have the following packages installed:

  • libglib2.0-dev
  • intltool
  • gnome-common

The name of the package may vary from distribution to distributon. The first two packages provide m4-files needed for the generation of the configure script. The files in need are:

  • intltool.m4
  • gsettings.m4

They should be located somewhere in /usr/share/aclocal.

Installaton

If everything is in place, run

./autogen.sh

to generate the configure script. If everything worked well, do:

./configure --prefix=/usr && make

To install the extension to your home directory, run:

make local-install

Or to install it for all users you need administrator rights. Thus you've to use something like sudo or become root via su. Using sudo, simply run:

sudo make install

In case you can't find the applet in gnome-tweak-tool, restart gnome-shell (using Alt +F2, enter: r).

If you wish to translate TeaTime to your language, have a look at the directory po.

A handy zip file can be created using:

make zip   # This is the same you get via http://extensions.gnome.org

Thanks to Thomas Liebetraut for the new build system. Get the latest version from: https://github.com/tommie-lie/gnome-shell-extensions-template

Contribution

Patches are welcome. But please make sure the code you contribute is formated properly. Please run beautify-code.sh before sending pull requests. Therefore, you'll need to install the python tool js-beautify, e.g. via pip install jsbeautifier.

gnome-shell-teatime's People

Contributors

chuma avatar codestice avatar dan-boehm avatar ilosamart avatar jspitz avatar jwrdegoede avatar kelunik avatar kgorbi avatar mkoura avatar oleid avatar shlinux avatar tommie-lie avatar typekpb avatar zeners 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

Watchers

 avatar  avatar  avatar  avatar  avatar

gnome-shell-teatime's Issues

Cannot build: "src/schemas/: Is a directory"

I can't get this extension to build and install. The complete output follows; I suspect the following lines:

  • ./configure: line 4326: GLIB_GSETTINGS: command not found
  • /bin/bash: src/schemas/: Is a directory

I'm running UbuntuGNOME 13.10. I already installed Ubuntu package gnome-common and did apt-get build-dep gnome-shell-extensions.

lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ ./autogen.sh 
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.69
checking for automake >= 1.9...
  testing automake-1.13... found 1.13.3
Checking for forbidden M4 macros...
Processing ./configure.ac
Running aclocal-1.13...
Running autoconf...
Running automake-1.13...
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
Skipping configure process.
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
configure: checking if we want internationalization (i18n) support
checking for ./po/Makefile.in.in... yes
configure: WARNING: yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool >= 0.26... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
configure: checking what to do with schemas
configure: will configure schemas
configure: will compile schemas
./configure: line 4326: GLIB_GSETTINGS: command not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing po/fake-it commands
config.status: executing po/stamp-it commands
config.status: executing po/clean-it commands
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make
Making all in po
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
file=`echo de | sed 's,.*/,,'`.gmo \
      && rm -f $file && /usr/bin/msgfmt -o $file de.po
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
LC_ALL=C /usr/bin/intltool-merge  -x -u --no-translations src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in src/schemas/org.gnome.shell.extensions.teatime.gschema.xml
Merging translations into src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.
CREATED src/schemas/org.gnome.shell.extensions.teatime.gschema.xml
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[1]: *** [src/schemas/gschemas.compiled] Error 126
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [all-recursive] Error 1
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make local-install
make local-helper DESTDIR=/home/lstorset/.local/share/gnome-shell/extensions
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
Making all in po
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[2]: *** [src/schemas/gschemas.compiled] Error 126
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [local-install] Error 2
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make zip
make local-helper DESTDIR=/home/lstorset/Downloads/gnome-shell-teatime-master/_build
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
Making all in po
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[2]: *** [src/schemas/gschemas.compiled] Error 126
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [zip] Error 2

port for gnome 43

It's kind of working with gnome 43, I mean after the simple adding "43" to shell-version in metadata.json let you use it some how. The main thing of alarm you after some time is working. But the settings screen does not work. I would like to continue to use this excellent extension with the last gnome.

3.32 compatibility

If the last pull request is working properly with 3.32, would you please update the GnomeExtensions version - for general public availability.
Thanks in advance!

HiDPI support

From the gnome-shell-extensions webpage:

zwarag: Could you make it svg so that it may scale on HiDPI screens? 
        Otherwise it's a really great Extension.

I'm not sure what's different on HiDPI screens. The tea pot is actually a SVG file, but it's drawn manually using cairo. Need to investigate.

2nd Enter is not working

When I input value and press the main Enter on a keyboard - it works fine, but if I use Enter near numpad - it is not working.

Ubuntu 18.04.1 LTS
GNOME 3.28.2

Buggy icon in Gnome 3.14

I use Gnome 3 on Arch Linux. After update from Gnome 3.12 to 3.14, the top-bar icon of TeaTime looks ugly; see attached picture.
I don't have any other Gnome 3.14 installation to see if it can be reproduced, I just tried fresh install from the gnome extensions site.

teatime-icon

Settings failure under gnome 40

Try to configure the plugin gives the following error:

The settings of extension [email protected] had an error:

Error: No property margin on Gjs_TeaTimePrefsWidget

Stack trace:

_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40
_init@/usr/share/gnome-shell/extensions/[email protected]/prefs.js:28:9
buildPrefsWidget@/usr/share/gnome-shell/extensions/[email protected]/prefs.js:294:15
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

utils.js and prefs.js missing in pack.sh

extension is broken on extensions.gnome.org
No JS module 'utils' found in search path

I think this is because these files are missing in pack.sh and are therefor not in the zip uploaded to extensions.gnome.org

Archlinux / Manjaro update drop gschemas.compiled

When installing the plugin by AUR package, on updating a differently gnome plugin, the pacman update-post-process drop the gschemas.compiled file, as long the source xml file is missing.

How to include the org.gnome.shell.extensions.teatime.gschema.xml into the package to keep the schemas file?

Plenteora of errors after changing settings

This is what I get when opened "Show Settings" (a log from journalctl):

Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): GLib-GObject-WARNING **: unable to set property 'uri' of type 'gchararray' from value of type 'gpointer'
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): Gjs-WARNING **: JS ERROR: ReferenceError: uri is not defined
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveSoundFile@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:250
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:170
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._init@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:63
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: buildPrefsWidget@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:282
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:102
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: main@resource:///org/gnome/shell/extensionPrefs/main.js:278
Aug 04 16:28:06 assam gnome-session[1620]: @<main>:1
Aug 04 16:28:06 assam gnome-session[1620]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3200003 (GNOME Shel)
Aug 04 16:28:06 assam gnome-session[1620]: Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): GLib-GObject-WARNING **: unable to set property 'uri' of type 'gchararray' from value of type 'gpointer'
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): Gjs-WARNING **: JS ERROR: ReferenceError: uri is not defined
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveSoundFile@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:250
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:170
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveFullscreenNotifications@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:220
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:165
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._init@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:63
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: buildPrefsWidget@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:282
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:102
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:112
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: main@resource:///org/gnome/shell/extensionPrefs/main.js:278
Aug 04 16:28:06 assam gnome-session[1620]: @<main>:1
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): GLib-GObject-WARNING **: unable to set property 'uri' of type 'gchararray' from value of type 'gpointer'
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): Gjs-WARNING **: JS ERROR: ReferenceError: uri is not defined
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveSoundFile@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:250
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:170
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveGraphicalCountdown@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:229
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:167
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._init@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:63
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: buildPrefsWidget@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:282
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:102
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:112
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: main@resource:///org/gnome/shell/extensionPrefs/main.js:278
Aug 04 16:28:06 assam gnome-session[1620]: @<main>:1
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): GLib-GObject-WARNING **: unable to set property 'uri' of type 'gchararray' from value of type 'gpointer'
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): Gjs-WARNING **: JS ERROR: ReferenceError: uri is not defined
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveSoundFile@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:250
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:170
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveUseAlarm@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:238
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:168
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._init@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:63
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: buildPrefsWidget@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:282
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:102
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:112
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: main@resource:///org/gnome/shell/extensionPrefs/main.js:278
Aug 04 16:28:06 assam gnome-session[1620]: @<main>:1
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): GLib-GObject-WARNING **: unable to set property 'uri' of type 'gchararray' from value of type 'gpointer'
Aug 04 16:28:06 assam gnome-session[1620]: (gnome-shell-extension-prefs:22709): Gjs-WARNING **: JS ERROR: ReferenceError: uri is not defined
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._saveSoundFile@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:250
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._refresh@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:170
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: TeaTimePrefsWidget<._init@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:63
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: buildPrefsWidget@/home/newman/.local/share/gnome-shell/extensions/[email protected]/prefs.js:282
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:102
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:112
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245
Aug 04 16:28:06 assam gnome-session[1620]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
Aug 04 16:28:06 assam gnome-session[1620]: main@resource:///org/gnome/shell/extensionPrefs/main.js:278
Aug 04 16:28:06 assam gnome-session[1620]: @<main>:1

And this when I enable or disable virtually any True/False setting in the Settings window (in this case I disabled alarm sound):

Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_file_chooser_get_action: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_image_set_from_surface: assertion 'GTK_IS_IMAGE (image)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_file_chooser_get_action: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_get: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_iter_next: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_filter_refilter: assertion 'GTK_IS_TREE_MODEL_FILTER (filter)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_iter_nth_child: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_filter_convert_child_iter_to_iter: assertion 'GTK_IS_TREE_MODEL_FILTER (filter)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): GLib-GObject-WARNING **: invalid (NULL) pointer instance
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): GLib-GObject-CRITICAL **: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_combo_box_set_active_iter: assertion 'GTK_IS_COMBO_BOX (combo_box)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): GLib-GObject-WARNING **: invalid (NULL) pointer instance
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): GLib-GObject-CRITICAL **: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: _gtk_file_system_get_info: assertion 'GTK_IS_FILE_SYSTEM (file_system)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_image_set_from_surface: assertion 'GTK_IS_IMAGE (image)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_get: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_iter_next: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_iter_nth_child: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam gnome-session[1620]: (gnome-shell-extension-prefs:22851): Gtk-CRITICAL **: gtk_tree_model_get: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
Aug 04 16:31:22 assam kernel: gnome-shell-ext[22851]: segfault at 39fb39629f00 ip 0000003f75639692 sp 00007fffc2f5f0d0 error 4 in libgio-2.0.so.0.4000.0[3f75600000+16d000]
Aug 04 16:31:23 assam abrt-hook-ccpp[22867]: Saved core dump of pid 22851 (/usr/bin/gnome-shell-extension-prefs) to /var/tmp/abrt/ccpp-2014-08-04-16:31:22-22851 (100052992 bytes)

This is Fedora 20 with GNOME 3.12. Extension version seems to be 13 (the recent one from extensions.g.o).

Request for port

Could you please make a port for Mint 19.1 Cinnamon (a panel applet)? It would be highly appreciated!

3.18, please

Hi,
I used to use your app too much. Kindly consider updating it for 3.18

make check broken -- was: Build broken due to missing entry in po/POTFILES.skip

Hi, I'm in the process of packaging gnome-shell-teatime for Debian.

The build process fails for me:

    srcdir=. /usr/bin/intltool-update -m
    The following files contain translations and are currently not in use. Please
    consider adding these to the POTFILES.in file, located in the po/ directory.

    src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in.in

    If some of these files are left out on purpose then please add them to
    POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
    of left out files has been written in the current directory.
    if [ -r missing -o -r notexist ]; then \
          exit 1; \
        fi
    make[2]: *** [check] Error 1

This is fixed by adding src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in.in to po/POTFILES.skip.

Please review and merge branch bugfix/add-POFILES-missing in my repo: git://gaffer.ptitcanardnoir.org/gnome-shell-extension-teatime

Textbox theming

I'd prefer to remove the current stylesheet, I think every theme should define a standard textbox design. With the current approach, TeaTime's textbox isn't consistent with other textboxes if the user uses a custom theme.

Overlay not closable

Sometimes, the overlay is not closable and requires a gnome-shell restart.
I've currently no idea when that happens.

TeaTime stopped working on gnome-shell 3.32

Many gnome shell apps, including TeaTime, stopped working under gnome-shell 3.32. There is something the 3.32 upgrade requiring ES6 standards.

Here is a change in the Arc-Menu project that addresses it:
https://gitlab.com/LinxGem33/Arc-Menu/commit/e64ff70ea2d5699c31c9245f06bbb09ef09b2d2d

There is a note about backwards compatibility issues for systems that have gnome-shell < 3.32 in Arc-Menu's readme: https://gitlab.com/LinxGem33/Arc-Menu/blob/master/README.md

"Requiring St, version none: Typelib file for namespace 'Clutter', version '0' not found"

When clicking "Show settings" in the menu or the settings button from extensions.gnome.org, I get the following in a textbox popup:

Error: Requiring St, version none: Typelib file for namespace 'Clutter', version '0' not found

Stack trace:
  @/home/lastorset/.local/share/gnome-shell/extensions/[email protected]/prefs.js:10:7
  Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:74:13
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:89:31
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:399:5
  @<main>:1:49

I have /usr/lib/gnome-shell/St-1.0.typelib.

This may be introduced with Ubuntu GNOME 17.04. I can reproduce on the Ubuntu GNOME 17.04 live CD.

port for gnome 42

hi i just installed ubuntu 22.04 and am missing teatime, its marked as outdated in the gnome extension. could you please port it? regards.

Remove "Timer set!" notification

I think "Timer set!" notification should be removed, because it occurs immediately after I set the timer, so do know the timer was set, hence I don't need to be reminded that the event again.

can't update on ubuntu 16.04

hi, tried to update the extension in ubuntu 16.04 with firefox the usual way. but instead of updating the extension gets removed. when switch it on and clik 'install' it takes some time and it goes back to off. nothing installs. i need my theatimer back!

Add keyboard shortcuts

Hey,

I think, that the following features would make this extension even more useful:

  1. Implementing a way to stop the current countdown
  2. A configurable sound should play at the end of a countdown
  3. A shortcut to open the extensions' time input window, that will allow you to type in the desired countdown time afterwards and press enter, so that a new countdown will start.

Best wishes!

TeaTime breaks gnome shell localization

If the TeaTime extension is installed, parts of the gnome shell calendar are not localized. The date order for instance is wrong, and the weather forecast contains a mix of localized and non-localized strings. See screenshots below for the problem.

I have narrowed down the problem to line 25 of utils.js:
Gettext.textdomain(domain);
If this is commented out, the problem disappears (but of course at the cost of an un-localized tea timer).

The following screenshot shows the correct German localization (the offending line commented out):

shell-correct

The one below displays the wrong localization TeaTime causes (check out the date format and the weather forecast):

shell-wrong

Teatime leaves open sink

Hi, this extension is pretty usefull!

One minor thing I noticed is whenever sound is played there is a sink left open which can be viewed in pavucontrol or similar programs. This occurs for every timer, each time creating new sink.

As I am using Volume mixer extension, this can get pretty messy.

Is it possible to fix this?

Keep up the great work people! :)

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.