vscodium: Can't run in wayland
Describe the bug
Can’t run in wayland with this flags
codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
ms-vscode on the other hand does work normally
Please confirm that this problem is VSCodium-specific
- This bug doesn’t happen if I use Microsoft’s Visual Studio Code. It only happens in VSCodium.
Please confirm that the issue/resolution isn’t already documented
- I checked the Docs page and my issue is not mentioned there.
To Reproduce Steps to reproduce the behavior:
- install as snap
- try to open as wayland
codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
Expected behavior vscode wayland window
Screenshot
Desktop (please complete the following information):
- OS: Ubuntu 23.04
- Architecture: x86_64
- Version: 1.82.2
- App Manager: Snap
- Sandboxed: Snap (classic mode)
Additional context Both vscode and vscodium print two warning messages but vscodium refuses to pop up.
About this issue
- Original URL
- State: open
- Created 9 months ago
- Reactions: 15
- Comments: 24 (1 by maintainers)
similar issue here when vscodium is run in native wayland, it just immediately closes
Have you tried with the setting (VSCodium’s
settings.json
)"window.titleBarStyle": "custom"
? (from https://github.com/microsoft/vscode/issues/184124)Same issue here. Suddenly vscodium not working any longer.
Tried re-installing after a purge with apt, tried previous version, all to no avail.
Running debian KDE under wayland on x64.
Any way around this? Or do I need install another IDE?
I found the answer: running from the console with the follwing as suggested by Master811129] above works for me. “codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland”
I also changed the menu accordingly and that works as well!
Thanks @Master811129
It looks like the Issue has been fixed for me in
1.87.0
.upstream VSCode doesn’t have this issue so what is it doing differently? apart from telemerty 😂
Using custom title bar style solved the problem for me. I also use the
--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
start options.@daiyam Yes I tried it in both
native
andcustom
. It didn’t change anything. same issueA similar issue here in arch with flatpak version, however vscodium on arch repo work great
but my warning is:
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Desktop
You can edit the .desktop file. They are located in
/usr/share/applications
. Then in the file, in front of Exec, you can see the command that is executed to launch the app. You can add the flags before the %F. Also, lower in the file there’s another Exec that is for new windows, I believe you need to change it here too.Been having this issue for a while now, first on Arch, then on NixOS