Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following in my .screenrc file

hardstatus string '%{= kw}[%{r} %d/%m/%Y %C %A %{w}] [%= %{= kw}%-Lw%{= kW}%{r}%n:%t%?%?%{= kw}%?%+Lw%?%?%= ] [ %{r}%l%{w} ]%{w}%{w}'

and the statusbar shows up as

[ 30/12/2010  8:24 PM ] [                                       0$ bash  1-$ bash  2:bash                                        ] [ 0.00 0.03 0.04 ]

I want it like this instead:

[ 30/12/2010  8:24 PM ] [                                       0:bash  1:bash  2:bash                                        ] [ 0.00 0.03 0.04 ]
share|improve this question
Is this gnome panel, byobu, what? – digitxp Dec 30 '10 at 15:03
Neither. It's GNU screen – subhashish Dec 30 '10 at 15:10

Try this:

hardstatus string '%{= kw}[%{r} %d/%m/%Y %C %A %{w}] [%= %{= kw}%-w%{r}%n:%t%{= kw} %+w%= ] [ %{r}%l%{w} ]'

The main thing is to remove the "L" in both places. It is what causes the status characters to be displayed. The colon will only be displayed on the current window. I removed a few extraneous things, too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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