9
4
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).
9
4
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).
14
You need the xcalib
package:
xcalib -i -a
And to revert the inversion, just repeat the very same command. – Joachim W – 2019-03-21T09:50:02.963
Unfortunately, this only inverts the colors on one display. – Artefacto – 2013-02-15T13:04:24.577
1xcalib
supports the -s, -screen
option that may be useful. – cYrus – 2013-02-15T15:56:36.603
1
If you are like me and you have tried xcalib but you have encountered an error like this on debian:
xcalib: unsupported ramp size
Then you could use an alternative like: xrandr-invert-colors.
First clone the repository
git clone "https://github.com/zoltanp/xrandr-invert-colors.git"
After that you can install the build-essential package and you can compile the code with that commands:
sudo make deps-apt
make
sudo make install
After that inverting colors on the screen is simple as:
xrandr-invert-colors
why do you want to do this? – akira – 2010-11-09T00:10:29.737
2i 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 – 2010-12-19T10:23:48.317