Skip to content

Instantly share code, notes, and snippets.

View mushsoooup's full-sized avatar

Chepy mushsoooup

View GitHub Profile
@qguv
qguv / vscode-wayland.md
Last active June 1, 2024 22:09
Visual Studio Code: Enable native Wayland support

Native wayland support is now working consistently for me in VSCode, giving much better text rendering. Unfortunately, it's still hidden behind some command-line flags.

By adding some files to /usr/local/*, you can ensure that VSCode always launches with these flags.

Adding launch flags to VSCode

Assuming that the VSCode launcher is /usr/bin/code-oss (as is the case in Arch):

  1. Create /usr/local/bin/code-oss with the following content: