GNOME Bugzilla – Bug 501986
Monitor for activity / inactivity
Last modified: 2008-03-31 22:05:03 UTC
In the KDE-Terminal "konsole" there is a feature "Monitor for activity / inactivity" which - I think is very useful. Imagine that you enter a command, that takes quite a while to finish. You switch to another window and then maybe just forget the command. So the Gnome-Terminal should alert us, that the command has been finished. There are to types of commands: Some do many output and they are finished, when output stops, others don't output anything and they are finished when they return to the shell-prompt. I think this feature should be require as few as configuration effort as possible. So maybe it is possible to auto-sense whether to monitor for inactivity or for activity when the gnome-terminal-window loses focus. Basic program logic: 1. gnome terminal loses focus 2. monitor terminal activity for about 5-10 seconds. 3. if there is any activity: monitor for inactivity, otherwise: monitor for activity 4. if the monitored event occurs, make the terminal window blink Another approach would be, just to change the terminal's window-icon according to the current activity state. For activity: some red blinking thing (if the terminal-window does not have focus)
Agreed. I was checking konsole the other day and found this interesting. I prefer the tag coloring (like pidgin for example) plus a per-tab feature to notify using a bubble.
Created attachment 102276 [details] [review] Make gnome-terminal blink (urgent) on change in background
Here is some first patch, just to inform you that I'm working on it (but help is appreciated, as this is my first try in GNOME-Development) I connected the signal for changes in the terminal and set the Window to urgent (make it blink in the task bar) when the window is currently not active. The urgent-state is not yet reset when the gnome-terminal gets back the focus. Additionally the logic for watching a command with output (like "find /") for finishing is not implemented.
Created attachment 102279 [details] [review] new patch, reset urgent state on window-focus, I'm currently working on monitoring inactivity
Dup of bug 132173 ?
Created attachment 108150 [details] [review] Updated Patch for 2.23.0/rev2524 Just an Update for the latest GT >> Dup of ... Two different approaches for the same thing ... could be marked as dup
*** This bug has been marked as a duplicate of 132173 ***