I have search on google but I don't have found anything about the meas of this two plugins: Inactivity watch and Activity watch.
Anyone can explain me how it works?
I have tried to activate/deactivate it but I can't see anything.
I have search on google but I don't have found anything about the meas of this two plugins: Inactivity watch and Activity watch.
Anyone can explain me how it works?
I have tried to activate/deactivate it but I can't see anything.
This new plugin was developed as described in this bug-report.
"Watch for silence" is useful in the following scenario: Suppose you
have a long-running job that produces output while it is running, for
example building some software. Then it would be cool to select the
"Watch for silence" action. This would continuously monitor activity
in the terminal, and when no output arrives for some configurable
time, it would mark the window as urgent so that it flashes in the
Gnome taskbar.
"Watch for activity" complements "watch for silence" and is useful for
long-running jobs that seldom produce output, and you want to be
alerted when output happens. Perhaps "tail -F /some/log/file | grep
SomePattern" is a typical example.
Looking at the plugins source-code (/usr/share/terminator/terminatorlib/plugins/activitywatch.py
), it is actually not configurable - it is hard-coded to display a notification 10 seconds after a file was last updated. Once this notification has been displayed, no further notifications are shown until the next file update.
When monitoring a log file, it is sometimes useful to be prompted when it has been updated.
A notification is sent whenever the file has been updated.
N.B. once a notification is displayed, another notification is not sent for another hard-coded 10 seconds, thus you dont have a continual stream of notifications being displayed for a continually updated file.
Perhaps slightly confusing, the inactivitywatch and activitywatch plugins are displayed not by their plugin names.
Right-click a terminator pane - you can individually set to either watch for silence or watch for activity or both.