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

My friend provided me with a rather detailed .screenrc which I put into my ~/ directory. I am pretty confident when I run screen it isn't utilizing the edits in the file.

  • How could I confirm whether I'm using it or not?
  • How can I make sure my system uses the ~/.screenrc file?
share|improve this question
up vote 6 down vote accepted

$HOME/.screenrc should be the compiled-in default. You can also specify it on the command-line:

$ screen -c ~/.screenrc

You can also set it with an environment variable:

$ export SCREENRC="~/.screenrc"

As for confirming that it's being read/used, try putting these two into your screenrc:

hardstatus on
hardstatus alwayslastline

If it comes up listing all of your windows on the bottom line, your screenrc is being read.

share|improve this answer
confirmed. Thanks so much! – mjb Sep 6 '11 at 15:43

Brightlancer's answer is useful, but based on some limited experience I can add:

If there is an error in your .screenrc file, it appears that screen ignores the file silently.

This could explain the cause. You may like to start with an empty file and add the lines slowly to find out the offending lines.

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.