Visual Studio Code: Difference between revisions
imported>JohannesRudolph m fix path to script |
imported>Jessestricker Add information about usage with Wayland |
||
Line 52: | Line 52: | ||
$ code | $ code | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Wayland == | |||
If you are running Wayland, you may see a blank screen when starting vscode. | |||
To fix this, set the environment variable <code>NIXOS_OZONE_WL=1</code>: | |||
* temporary fix: run via the terminal: <code>$ NIXOS_OZONE_WL=1 code ...</code> | |||
* permanent fix: add to your NixOS configuration: <code>environment.sessionVariables.NIXOS_OZONE_WL = "1";</code> | |||
[https://github.com/NixOS/nixpkgs/commit/b2eb5f62a7fd94ab58acafec9f64e54f97c508a6 Source] | |||
== Managing extensions == | == Managing extensions == |