compiz-cms icon indicating copy to clipboard operation
compiz-cms copied to clipboard

Firefox plugins are not color-corrected

Open patrakov opened this issue 9 years ago • 1 comments

To reproduce:

Install Firefox (or maybe Iceweasel) Install Compiz and Compiz-CMS Set the correct color profile for colord Notice that Firefox is, by default, excluded from color-correction by Compiz-CMS Configure Firefox to do full color correction by itself Install Pipelight Visit a site with something Flash-based

Result: Flash applet is not color-corrected.

Would it be possible to add a special rule that detects pipelight (or, for that matter, any other Firefox plugin, including Adobe Flash) and color-corrects it?

patrakov avatar Jan 03 '16 19:01 patrakov

compiz-cms determines whether to color-correct or not on a per-window basis. It is unlikely (but possible) that pipelight opens its own window "in front" of firefox, in this case you could add a rule for that kind of window. You can use wmctrl -lx to get a list of windows and their classes:

$ wmctrl -lx
0x02000006  0 gnome-terminal-server.Gnome-terminal  archachatina [gebner:~] $  (screen 8 on archachatina)
0x02400017  0 emacs.Emacs           archachatina [email protected]
0x03200007  0 evince.Evince         archachatina Robinson Voronkov - Handbook of automated reasoning I.djvu
...

In your case however, I'd let compiz-cms color-correct firefox as well, then usually all plugins are automatically corrected as well.

gebner avatar Jan 04 '16 07:01 gebner