read
To invert the entire screen you can use the program xcalib:
xcalib -invert -alter
From the xcalib man page
xcalib loads 'vcgt'-tag of ICC profiles to the X-server using the XVidMode Extension in order to calibrate your display.
That means it does not depend on compiz being used.
You can install it using sudo apt-get install xcalib. To make it more convenient assign a keyboard shortcut opening the Keyboard settings.
Keyboard Settings for adding manual shortcut
There, navigate to shortcuts. Add a custom shortcut by pressing the plus button, add the name and the command. It will be disabled by default, so assign a shortcut by clicking on Disabled and perform the wanted shortcut, e.g. meta + i
Before:
before
After xcalib -invert -alter was launched (mapped to <meta-i>:
after
Pressing it again restores to the normal not inverted screen.



Source
Blog Logo

Daniel Gomez Rico


Published

Image

MakinGIANTS

The findings and tips records of an Android-iOS-TheWholeShabang group

Back to Overview