Invert application colors in X11

I am aware of the inversion of the X11 window using the following command

xcalib -invert -alter

However, I could not find a command to invert the colors of a single application.

I tried to invert the colors of the application by running the application inside Xephyr or Xnest and trying to execute the xcalib command inside this, but it did not respond:

DISPLAY=:1 xcalib -invert -alter
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1".
Error - Unable to query gamma ramp size

Then I found out that Xnest can be started using XFree86-VidModeExtension and tried to do the following:

Xnest -ac -br +extension "XFree86-VidModeExtension"

Then I tried the xcalib -invert -alter command on the display: 1 again. Failed

I run the ubuntu virtual machine inside Virtualbox and run the dwm window manager in it

Is there a way to run xcalib inside nested X

+5
source share
1 answer

compiz can invert the colors of individual windows.

+1
source

All Articles