FS#70912 - [code] Enable startup flags for Wayland
Attached to Project:
Community Packages
Opened by Áron Ricardo Perez-Lopez (CyanoKobalamyne) - Sunday, 16 May 2021, 20:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 28 April 2023, 06:01 GMT
Opened by Áron Ricardo Perez-Lopez (CyanoKobalamyne) - Sunday, 16 May 2021, 20:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 28 April 2023, 06:01 GMT
|
Details
Description:
Electron 12 (and VS Code, as of 1.56) works on Wayland if the --enable-features=UseOzonePlatform and --ozone-platform=wayland flags are passed to the binary at runtime. It would be nice if the startup script detected if it was running on Wayland (e.g. via checking for WAYLAND_DISPLAY) and added the necessary flags. Right now, this can be done manually on the terminal, but launching via the provided desktop file doesn't work at all. Additional info: * code 1.56.2-2 * upstream issue: https://github.com/microsoft/vscode/issues/109176 Steps to reproduce: * launch code on Wayland * crashes before showing a window with a core dump |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 28 April 2023, 06:01 GMT
Reason for closing: Not a bug
Additional comments about closing: Please use the per-user flags option as per the Wiki. See also FS#74607
Friday, 28 April 2023, 06:01 GMT
Reason for closing: Not a bug
Additional comments about closing: Please use the per-user flags option as per the Wiki. See also
With this method, all electron12 applications use native wayland, no matter how you launch them.