VSCodium: Difference between revisions

imported>Mic92
add missing parentheses
imported>Onny
Add troubleshooting section on issues with Wayland
Line 83: Line 83:
# needed for rust lang server extension
# needed for rust lang server extension
programs.vscode.package = pkgs.vscodium.fhsWithPackages (ps: with ps; [ rustup zlib ]);
programs.vscode.package = pkgs.vscodium.fhsWithPackages (ps: with ps; [ rustup zlib ]);
</syntaxHighlight>
== Troubleshooting ==
=== Issues running Vscodium on Wayland ===
In case of a broken graphical interface while running Vscodium on [[Wayland]], removing following cache directories might resolve the issues:
<syntaxHighlight lang="console">
$ rm -r ~/.config/VSCodium/GPUCache ~/.config/VSCodium/Crashpad
</syntaxHighlight>
An other workaround is to run Vscodium without GPU acceleration
<syntaxHighlight lang="console">
$ codium --disable-gpu
</syntaxHighlight>
</syntaxHighlight>