GNOME Bugzilla – Bug 694807
Desktop Notifications of Completed Commands
Last modified: 2013-03-10 17:21:23 UTC
After executing commands that take a long time to complete, some users switch windows and start working on something else. They then have to manually check the terminal window to see if the command has completed, and sometimes it takes them long to realize that they had left something running in the terminal which has completed long ago, and that they could have given the next command earlier. This could be avoided if gnome-terminal could present a desktop notification of a command's completion, so that the user wouldn't have to keep on checking the command's status.
I'm interested in working on this.
Why does this need to be a g-t feature, when you can just as well use the shell to do this? E.g. $ foobar && zenity --notification --text "foobar done!"
It'd be nicer if this comes as built-in feature with the terminal. The user won't have to type the extra part (and most of them don't). Also, this would only be activated for commands that are taking a long time to run, and not for each and every simple command.
You could also have a PROMPT_COMMAND in the shell that emits the notification if the time since the last prompt is greater than some value, etc...
*** This bug has been marked as a duplicate of bug 557593 ***