Skip to content

Instantly share code, notes, and snippets.

View luerhard's full-sized avatar

Lukas Erhard luerhard

  • University of Stuttgart
  • Germany
View GitHub Profile
@qguv
qguv / vscode-wayland.md
Last active November 3, 2024 21:14
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: