You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature Request]: environment variable to enable wayland support and get rid of individual --enable-features=UseOzonePlatform --ozone-platform=wayland flags #30897
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
Currently Wayland support in Electron needs to be turned on on per-app basis with --enable-features=UseOzonePlatform --ozone-platform=wayland flags.
This is very inconvenient: we have to repeat this chore for every single Electron app, we need to take care of CLI aliases, etc, etc.
Without these flags Electron apps look blurry and are almost unusable when fractional scaling is on.
Proposed Solution
Electron should read these options from an environment variable, like ELECTRON_OPTS, this way the user would be able to turn on Wayland support globally.
Alternatives Considered
Alternatively Electron may support environment variables like
ELECTRON_OZONE_PLATFORM ELECTRON_ENABLE_FEATURES
Additional Information
No response
Odomontois, Parabellum1905y, svrana, ilkecan, nrdxp and 79 moreparcelcat, dragove, dryya and maymage