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

Is there a way to invert colors in X. It would be even more useful if the answer was something I could bind to a keyboard shortcut(a command and not a setting that will require a restart if X).

share|improve this question
why do you want to do this? – akira Nov 9 '10 at 0:10
i binded that to <C-M-i> so when i can read large texts on firefox or any other program whose colors i canot invert more easily :) – fakedrake Dec 19 '10 at 10:23
up vote 11 down vote accepted

You need the xcalib package:

xcalib -i -a
share|improve this answer
Unfortunately, this only inverts the colors on one display. – Artefacto Feb 15 '13 at 13:04
xcalib supports the -s, -screen option that may be useful. – cYrus Feb 15 '13 at 15:56

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.