On Prefix t (by default Ctrl+b t), tmux displays the time, and it looks something like this:

Terminal showing 17:45 with large fonts and tmux bottom bar

Is there any way to configure this, e.g. to show the seconds, too?

I tried setting export LC_TIME="%H:%M:%S", but it didn't help. Everything I found was about tweaking the time and date format in the status bar.

  • 1
    Searching for "clock" in the official manual does not indicate this is possible for now, so probably the answer is "no". As a workaround run tty-clock -cs in the pane. Commented Feb 17 at 17:49
  • If you would be happy with just minutes and seconds, you could edit a copy of the tmux binary and replace the string %H:%M with %M:%S. You need to keep the same number of characters.
    – meuh
    Commented Feb 18 at 13:12

1 Answer 1


Taking a look at the source, the string that's used is hardcoded.


So it's just a "small matter of programming" to let this be configurable.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .