[solved] vscode only showing black interfaces with no content

kawlb@sh.itjust.works to Linux@lemmy.ml – 38 points –

Suddenly I see only the shades of the GUI any Idea how to fix this? using Plasma x11

8

Try running it from the command line with code --disable-gpu.

If that works, you can update the desktop shortcut files (exec section) with the same added parameter.

I recently ran into something similar (opensuse slowroll//kde)

Ref: stackoverflow/Google for the --disable-gpu argument, the desktop file editing - I did for convenience.

Here's how you can find . desktop files

Desktop file reference.- easy format

First, thank you! Sadly, this didn't help. In ended up deleting (renaming) ~/.config/Code which helped. Luckily enough all the plugins survived because they are installed under ~/.vscode

That's interesting. I am on GNOME/Wayland and the above flag helped.

This happened to new do I switched to Codium and never looked back

Actually, while figuring things out, I did also install Codium and copied the extensions folder from VSCode to the codium folder... Works like a charm - might stay there for the peace of mind.