Zoom: Fix gray shadow during screen sharing

Posted Almost 4 years ago. Visible to the public.

When sharing a screen over Zoom in Ubuntu MATE Show archive.org snapshot , you might notice a dark gray shade.

This shade is caused by the Compton compositing manager, which you probably enabled in MATE Tweak / Windows / Window manager. Zoom draws a green rectangle around your screen to indicate what is being shared, and Compton draws a "shadow" into this rectangle.

Emergency fix

If this happens to you during a meeting, you can quickly "fix" it by stopping Compton from the console:

killall compton

The shadow will disappear, but you won't have GPU compositing for the rest of your session.

Permanent fix

You can tell Compton to not draw shadows around the Zoom window. To do, save the following to ~/.config/marco-compton.conf:

shadow-exclude = [ "name = 'cpt_frame_window'" ];

If you would rather disable all shadows you can alternatively configure:

shadow = false;

Restart your session for the changes to take effect.

Henning Koch
Last edit
Almost 4 years ago
Henning Koch
Keywords
grey, dark, black, ubuntu, shadow, schatten, dunkel, overlay, opacity
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra orga (2020-04-14 12:44)