You are not logged in.
Pages: 1
Topic closed
Hello i have an issue running code natively on Wayland.
If i add this file https://wiki.archlinux.org/title/Waylan … ation_file code starts as an Xwayland app. If i start it from the command line with code --ozone-platform=wayland --enable-features=WaylandWindowDecorations it starts fine(ish). i use electron 25.
If i add the arguments i use on the command line on the conf file it again starts as an Xwayland app.
Is the wiki wrong or i am doing something wrong. And how can i get it to start as a Wayland app from the app menu.
Thanks in advance.
Edit:
Solved it. The electron version is 27 and not 25. So you rename the file as electron27-flags.conf and if you use --ozeone-platform=wayland --enable-features=WaylandWIndowsDecorations it will work. The --ozone-platform-hint=auto argument mentioned in the wiki doesn't work.
Apologies.
Last edited by 89c51 (2024-02-06 14:21:45)
Offline
I am using it like this and it works for me:
code-flags.conf in the .config folder.
Inside the code-flags.conf is this:
--enable-features=UseOzonePlatform
--ozone-platform=waylandBut I am also using:
"editor.smoothScrolling": true,
"window.titleBarStyle": "custom"That's it.
Last edited by micronetic (2024-02-06 19:20:20)
Offline
Hi, now it seems using
--ozone-platform=waylandwill result in (in my case) Slack opening as a blank, fully transparent, yet interactable window. No combination, inclusion or exclusion changes the behaviour unless I remove that one flag that makes it actually run under pure Wayland (I'm using Sway on Vulkan backend).
Offline
You're necro-ing a 1.5yr old SOLVED thread.
Perhaps consider opening a new topic.
Offline
Closing this old topic.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed