Run Electron on Wayland

ยท
1 min read
notes
#wayland #electron

How to run Electron-based app without crashing on Wayland

May be works, may be not. But it sure make my laptop stable.

Terminal window
${ELECTRON_APP}$ --enable-features=WaylandWindowDecorations,AllowQt --ozone-platform=wayland --gtk-version=4

Example Google Gravity:

Terminal window
antigravity . --enable-features=WaylandWindowDecorations,AllowQt --ozone-platform=wayland --gtk-version=4