Monitor for activity / inactivity
Submitted by self
Link to original bug (#501986)
Description
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:
- gnome terminal loses focus
- monitor terminal activity for about 5-10 seconds.
- if there is any activity: monitor for inactivity, otherwise: monitor for activity
- 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)
Resolution: RESOLVED DUPLICATE