Friday, April 23, 2010

Default negative windows in Gnome Compiz Negative

Make sure to use the OR operand (|) and NOT the AND operator (&) when attempting to set the default negative windows for Compiz Negative.

AND will try to match ALL criteria which will inevitably fail, while OR matches ANY of the criteria.

I have not looked at the underlying code, but I suspect to set up the AND operator, all active windows must be defined, including those open windows that should not default to negative. This seems to be what the "Inverted" checkbox should be used for.

Example OR operator:

class=Ccsm | class=Pidgin | class=Rhythmbox | class=Firefox | class=Nautilus | class=Gedit | class=Eclipse | class=Evolution




Alternatively, if you do not want to define all negative windows, you can specify only those windows that should not be negative, and use the "Toggle Screen Negative" in conjuction with Exclude Windows Input.

For example, specify that the dock, desktop background, and Totem video player should not turn negative when the super-m key is pressed, enter the following into Exclude Windows:

type=Desktop | type=Dock | class=Totem