Desktop Notifications for AMC (Feature #132)


Added by Anirvan Sarkar over 11 years ago. Updated over 9 years ago.


Status:Closed Start date:01/18/2013
Priority:Normal Due date:
Assignee:Alexis Bienvenüe % Done:

100%

Category:-
Target version:1.3.0

Description

AMC takes quite some time in processing Automatic Data capture and Annotations of papers. During this time I do some other work which usually involves me browsing the Internet!!

The thing is I have to repeatedly stop my work and check whether the data capture and annotations have been completed or not. It will be better if AMC has some sort of a Desktop Notification system which notifies us when the data capture and annotations have been completed similar to when Firefox shows a notification when all Downloads have been completed.


annotate-notification.sh - Script to generate a notification when annotations have been completed. (153 Bytes) Anirvan Sarkar, 01/18/2013 03:17 pm

auto-data-capture-notification.sh - Script to generate a notification when Automatic Data Capture have been completed. (163 Bytes) Anirvan Sarkar, 01/18/2013 03:17 pm

annotate-notification.pl - Perl script to generate a notification when annotations have been completed. (249 Bytes) Anirvan Sarkar, 01/18/2013 03:32 pm


History

Updated by Anirvan Sarkar over 11 years ago

After some searching on the internet I have found that the notify-send command can be used to create a Desktop Notification. I have attached a sample shell script which can be used to generate the notification.

Updated by Anirvan Sarkar over 11 years ago

Here is a perl version of the notification system which generates the same output. It maybe helpful for you. I have attached a perl script which implements this to generate notifications.

Updated by Alexis Bienvenüe over 11 years ago

Applied in changeset r1291.

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Alexis Bienvenüe over 11 years ago

Thanks! I commited your second idea with Gtk2::Notify.

Updated by Pieter Van den Hombergh over 11 years ago

Alexis Bienvenüe wrote:

Thanks! I commited your second idea with Gtk2::Notify.

Maybe make a note in the change log, because of the dependency change. This version (subversion 1300) would not install without previously installing libgtk2-notify-perl (test on ubuntu 10.04.1 LTS).

Updated by Pieter Van den Hombergh over 11 years ago

The notification works.

In my case, I would like it for all the processing tasks, including the Update documents conmmand.

Because we tend to use a different machine to process all our exams on, an audible notification would help too. This would require a notification sound file option in the settings. (Full path).

Updated by Alexis Bienvenüe over 11 years ago

Pieter Van den Hombergh wrote:

This version (subversion 1300) would not install without previously installing libgtk2-notify-perl

It should install and run without installing Gtk2::Notify (but then the notification simply does not show).

Updated by Alexis Bienvenüe over 11 years ago

Since revision r1302, you can choose for which action AMC will issue notifications, and you can add a notification command (something like "play /path/to/sound_file" should make AMC talk to you)

Updated by Anirvan Sarkar almost 11 years ago

Thank you for implementing this feature. I liked the option of a notification command. Now one can also listen to the notifications using the command "espeak ' %m'".

There is one thing which I noticed. The notification for completed annotations is shown even when annotated pages are being grouped together.

Maybe you can show the notification after the student papers have been grouped.

Updated by Alexis Bienvenüe almost 11 years ago

The notification for completed annotations is shown even when annotated pages are being grouped together.

You're right. This should be fixed with revision r1377.

Updated by Alexis Bienvenüe almost 11 years ago

  • Target version set to 1.3.0

Updated by Anonymous about 10 years ago

Applied in changeset hg:e91738a02747.

Updated by Anirvan Sarkar over 9 years ago

  • Assignee set to Alexis Bienvenüe
  • Status changed from Resolved to Closed

Also available in: Atom PDF