Skip to content

Conversation

@vchernin
Copy link

@vchernin vchernin commented Jul 4, 2021

You can run vscode in native Wayland, but it only works if the socket is enabled.
When the socket is enabled run: flatpak run com.visualstudio.code --enable-features=UseOzonePlatform --ozone-platform=wayland
Note window decorations currently won't be present in GNOME when running in native Wayland.

You can run vscode in native Wayland, but it only works if the socket is enabled.
When the socket is enabled run: `flatpak run com.visualstudio.code --enable-features=UseOzonePlatform --ozone-platform=wayland`
Note window decorations currently won't be present in GNOME when running in native Wayland.
@flathubbot
Copy link
Contributor

Started test build 52527

@flathubbot
Copy link
Contributor

Build 52527 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/50517/com.visualstudio.code.flatpakref

@barthalion
Copy link
Member

If you need to pass a non-standard flag to actually make it work on Wayland, it means it's not supported by default in my book. It's fine to keep this PR open until ozone is actually enabled upstream, but you can't really claim it works under Wayland.

@nedrichards
Copy link
Member

Yes, it's no harder for the user to pass --socket=wayland than it is the other flags.

@ghost
Copy link

ghost commented May 20, 2022

This PR needs to be merged, code-oss already has the --socket=wayland flag.
We need wayland support for the Visual Studio Code package, please reconsider merging this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants