In programs made with Electron (eg MongoDB Compass / or my Electron program, etc.), the screen is black or white.
This can be fixed via the "--disable-gpu-compositing" argument to each program. But it's too inconvenient.
I put the argument in ~/.config/electron-flags.conf but it doesn't work. (looking at strace -f
, that file is not read.)
- Is there a way to apply arguments to all electron programs or disable GPU?
- Is there a way to run Electron in Wayland? However, the programs cannot be modified. Because it wasn't made by me.