Thanks for the support for this wishlist item!

I think automatic notification is better than an "alert" alias, as long
as it only happens when you are not using the terminal, as my proposed
code does.

The system is not noisy at all (since, again, you don't get notification
if the terminal is focused) and can be quite useful in practice,
especially to tell you when "make" finished.

Adding a success/failure icon seems useful, and perhaps the latest
output line could also be provided, but I'm not sure application-
specific code is otherwise really useful (any example?)

And yes, it is probably much better to integrate this mechanism in
gnome-terminal and konsole, since that will work fine for remote and
chrooted shells and avoids the kludge of spawning a process to determine
if the terminal is active or not on every prompt.

On the other hand, the bash solution will work in any terminal that
provides the WINDOWID variable with the X window ID of the terminal
window or any child of it.

-- 
[PATCH] Add desktop notification of completed commands
https://bugs.launchpad.net/bugs/315932
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to