I've switched from GNU Screen to tmux. They're both similar, except that tmux is still maintained.

GNU Screen has a C-a _ ("silence") command. This command makes GNU Screen monitor the current window and alert me when there's been 30 seconds of inactivity. This is quite useful: for example, GNU Screen can watch a long apt-get dist-upgrade process and alert me when dpkg has a question for me.

Does tmux have an equivalent command? I tried searching the Web but didn't find an answer.

1 Answer 1


The manpage reveals the answer. You will need tmux 1.4 (released Dec. 2010) or better.

Press Ctrl+B then enter the command:

:setw monitor-silence 30

To identify all quiet windows in the session, apply the setting to all windows:

:setw -g monitor-silence 30

  • 6
    To stop monitoring for silence: :setw monitor-silence 0
    – Matthew
    Dec 7, 2015 at 19:43
  • While the effect is the usually same, the typical way to unset an option is -u, e.g. :setw -u monitor-silence. In this way it won't override any change in globally configured monitor-silence.
    – Wade
    Mar 9, 2021 at 18:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.