Giter Club home page Giter Club logo

hourglass's Introduction

Hourglass

Hourglass is a simple time keeping application designed for elementary OS.

Author: Samuel Thomas <[email protected]>

Installation

For Users

On elementary OS? Click the button to get Hourglass on AppCenter:

Get it on AppCenter

For Developers

You'll need the following dependencies to build:

  • libgee-0.8-dev
  • libgranite-7-dev (>= 7.1.0)
  • libgtk-4-dev
  • libportal-dev
  • libportal-gtk4-dev
  • meson (>= 0.57.0)
  • valac

Run meson setup to configure the build environment and run ninja to build

meson setup builddir --prefix=/usr
ninja -C builddir

To install, use ninja install, then execute with com.github.sgpthomas.hourglass

ninja install -C builddir
com.github.sgpthomas.hourglass

hourglass's People

Contributors

actions-user avatar albanobattistella avatar aljelly avatar allen-b1 avatar ccarov avatar childishgiant avatar danirabbit avatar dependabot[bot] avatar fatih20 avatar gfavaro avatar lenemter avatar nakotami avatar nathanbnm avatar rottenpants466 avatar ryonakano avatar sgpthomas avatar welaq 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

Watchers

 avatar  avatar  avatar  avatar  avatar

hourglass's Issues

Feature Request: Power States at end of Timer

Hey!

Thanks for developing this little app. It's simple, but super useful.
Don't want to put any pressure on you, but if you would have any motivation to do so, an extremely useful addition would be adding the ability to change the timer result from a timer tone, to automatically putting the computer to sleep, or shutting down, or rebooting, etc.

This is a super basic thing, but surprisingly hard to do if you don't want to write a script or something yourself, and would be a great, and really useful feature!

As said before, if you don't feel the idea fits, or don't have the time or wish, no worries. Just thought i'd throw the concept out there! Thanks for this useful little accessory.

Best wishes!

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.4 release

Timer control influences other instances

I noticed that multiple instances of Hourglass can be opened, but they seem to influence each other sometimes.
For example in the Timer view, when starting timers in multiple instances sometimes pressing Start will start multiple timers, same for pressing stop.
It happens for example when starting timers in 2 instances, the stop and starts afterwards will influence both instances.

I've installed Hourglass 1.1.1 through the AppCenter.

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.7
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.7 release

Keep timer awake when app closes

I notices that an alarm will display a notification even if the app is closed. But when using the timer and close the app, it pauses the countdown and only resume it if I open the app again.

Could it be possible to add the same behavior than the alarm. To continue counting down and display a notification even if the app has been closed?

timer-time is saved to DConf every millisecond

While using the "Timer" functionality, the application writes to the disk every second. This is problematic especially for HDD systems, where no spin-down of the disk can occur and thus power savings get less.

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.5 release

Label timer

I might set a timer and then forget what I set it for. It'd be neat to be able to add a label to it.

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.13 release

Close closes all instances

I noticed that multiple instances of Hourglass can be opened, but they seem to influence each other sometimes.
Closing one instance (by X button in it's header) will also close all other instances.

I've installed Hourglass 1.1.1 through the AppCenter.

Repeating alarms can't be disabled

When disabling a repeating alarm, it re-enables itself immediately.
In the following log, the first toggle event is a non-repeating alarm, it stays off. The second is a repeating alarm, after toggling it gets a refresh event and gets enabled again.

[INFO 11:09:16.140867] Application.vala:153: Hourglass version: 1.1.1
[INFO 11:09:16.140916] Application.vala:155: Kernel version: 4.4.0-127-generic
[DEBUG 11:09:16.141516] Settings.vala:163: Loading settings from schema 'com.github.sgpthomas.hourglass.saved'
[DEBUG 11:09:16.142131] Settings.vala:163: Loading settings from schema 'org.gnome.desktop.interface'
[INFO 11:09:16.142294] Hourglass.vala:104: starting daemon
[DEBUG 11:09:16.151103] [Gtk] Connecting to session manager
[INFO 11:09:16.154706] StyleManager.vala:31: Loaded /usr/share/hourglass/style/text.css
[INFO 11:09:16.155689] StyleManager.vala:31: Loaded /usr/share/hourglass/style/elements.css
** Message: HourglassDaemon.vala:39: Hourglass-Daemon started
** Message: AlarmManager.vala:28: Initiating Alarm Manager

** (process:32356): CRITICAL **: hourglass_daemon_saved_alarms_get_alarms: assertion 'self != NULL' failed
** Message: HourglassDaemon.vala:63: Daemon Activated

** (com.github.sgpthomas.hourglass-daemon:32356): CRITICAL **: HourglassServer.vala:78: Could not aquire service name
[INFO 11:09:17.356804] AlarmTimeWidget.vala:192: toggled
[INFO 11:09:18.168166] AlarmTimeWidget.vala:192: toggled
[INFO 11:09:19.958838] AlarmTimeWidget.vala:134: Refresh

Install appdata.xml

Looks like your app isn't showing on the home page of AppCenter because you never install your appdata.xml

It should be installed to ${DATADIR}/metainfo

Improve look of create/edit alarm dialog

Just a few things that I think would improve the look of the dialog a lot:

  • Fix button label shadows
  • Change Edit and Create button colors from green to blue (like Calendar)
  • Update the color of the delete button (the red color is very slightly different from Calendar)
  • Change "Choose a time:" to "Time:" and "Choose a date:" to "Date:".
  • Change "Edit" button in edit dialog to "Save Changes"
  • Change "Create" button in edit dialog to "Create Alarm"

How the dialog currently looks

image
image

Calendar create event by comparison (from daily build)

image
image

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.15 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.1.1 release

Arch Linux Support

Arch Linux Support

I will support your application in Arch Linux. Please, consider to use 2 branchs: master (stable code), develop (development code).

Please add a section containing the following instruction:

Arch Linux

Arch Linux users can find Hourglass under the name hourglass-git in the AUR:

$ aurman -S hourglass-git

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes

Affects: 1.0.8 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.9 release

Some sort of dismiss for the alarm

Instead of just ringing for a few seconds and then stopping, a ring-until-dismissed would be awesome. I imagine the alarm notification would be urgent and its action when clicked would either dismiss or bring you to the app's alarm tab with a dismiss button. That way if I don't hear the alarm right away, it keeps ringing until I dismiss it. ;)

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.10
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.10 release

Hourglass creates duplicate alarm after editing the alarm

How to reproduce:

  1. Add a alarm
  2. Edit it & set a different time. It will create a new alarm with same name. Close Hourglass gui.
  3. Wait until it's fired. Open Hourglass.
  4. You will see a duplicate of original alarm along with the new alarm.

Version: git+master

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.7 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.12 release

Persistent Notification through indicator-messages ?

As of now if user misses a notification, there is no way to get it back. . Both Elementary and Unity uses indicator-messages. It would be nice if hourglass can integrate with that. It would also help other DE (like Mate, Solus) to integrate with desktop better.

Workflow:

A) When timer's time elapses, it creates a simple notification in the indicator. And indicator-messeges turns blue.

B) When user click the message it simply bring app in focus. The notifications from indicators are removed automatically.

Messeging-Menu API:

https://developer.ubuntu.com/api/devel/ubuntu-13.10/python/MessagingMenu-1.0.html#MessagingMenu.Message

A simple example:

http://bazaar.launchpad.net/~indicator-applet-developers/indicator-messages/trunk.16.10/view/head:/libmessaging-menu/client-example.py

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes

Affects: 1.0.7 release

Invalid Desktop file

AppCenter Dashboard ran desktop-file-validate on your project's .desktop file and received the following errors:

repository/data/com.github.sgpthomas.hourglass.desktop: error: value "1.0.1" for key "Version" in group "Desktop Entry" is not a known version
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "GNOME;GTK;Utility;Productivity" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "Timer;Time;Clock;Hourglass;Alarm" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character


For more information, see the Desktop Entry Specification

Affects: 1.0.3 release

Invalid Desktop file

AppCenter Dashboard ran desktop-file-validate on your project's .desktop file and received the following errors:

repository/data/com.github.sgpthomas.hourglass.desktop: error: value "GNOME;GTK;Utility;Productivity;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Productivity"; values extending the format should start with "X-"


For more information, see the Desktop Entry Specification

Affects: 1.0.6 release

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.2 release

timekeeping

has anyone else noticed, that the time keeping in this app is wrong? 55second shown in this app is in reality one whole minute. so 5 real minutes is indicated as 4min25sec in Hourglass! how the hell is this possible???
I hope this will be taken off the AppCentre. just horrible.

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.6 release

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.11
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.11 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.10 release

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Package is not valid reverse domain name scheme

Affects: 1.0.3 release

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.8
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.8 release

Invalid Desktop file

AppCenter Dashboard ran desktop-file-validate on your project's .desktop file and received the following errors:

repository/data/com.github.sgpthomas.hourglass.desktop: error: value "1.0.4" for key "Version" in group "Desktop Entry" is not a known version
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "GNOME;GTK;Utility;Productivity" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "Timer;Time;Clock;Hourglass;Alarm" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character


For more information, see the Desktop Entry Specification

Affects: 1.0.5 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.11 release

Invalid Desktop file

AppCenter Dashboard ran desktop-file-validate on your project's .desktop file and received the following errors:

repository/data/com.github.sgpthomas.hourglass.desktop: error: value "1.0.4" for key "Version" in group "Desktop Entry" is not a known version
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "GNOME;GTK;Utility;Productivity" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
repository/data/com.github.sgpthomas.hourglass.desktop: error: value "Timer;Time;Clock;Hourglass;Alarm" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character


For more information, see the Desktop Entry Specification

Affects: 1.0.4 release

Changelog issues

Apphub had some issues with your changelog. We tried to fix them as best we can,
but you should take a look just in case.

1.0.7
  • No documented changes
1.0.8
  • No documented changes
1.0.9
  • No documented changes

Affects: 1.0.14 release

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.9
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.9 release

Failed to build with liftoff

Apphub failed to build with liftoff. Here is the log:

dpkg-checkbuilddeps: error: syntax error in debian/control at line 18: block lacks the 'Package' field
W: Unmet build-dependency in source
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.sgpthomas.hourglass
dpkg-buildpackage: source version 1.0.2
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by sgpthomas <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: error: syntax error in flightcheck/debian/control at line 18: block lacks the 'Package' field
dpkg-buildpackage: error: dpkg-source --before-build flightcheck gave error exit status 25

Affects: 1.0.2 release

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.