Due to the generic code
name, the Numix team have decide not to use the code.desktop
icon provided by the VS Code package.
So it's icon is configured as a common text editor by default.
How to fix it?
Due to the generic code
name, the Numix team have decide not to use the code.desktop
icon provided by the VS Code package.
So it's icon is configured as a common text editor by default.
How to fix it?
Here's a one liner that will achieve what these guys are saying for you. I've aliased this in bash because I have to execute this every FREAKING time vscode updates...
Looks like that the Numix team has provided an alternative icon with the name of
vscode.desktop
, in order to fix it we need to:code.desktop
to the local user directory:cp /usr/share/applications/code.desktop ~/.local/share/applications/vscode.desktop
vscode.desktop
and rename allIcon
properties fromIcon=code
toIcon=vscode
.The result should be something like this:
If you're absolutely sure Visual Studio Code will be the only 'code' executable,
just copying the vscode.svg icon seems to be a better solution
as it'll also theme the icon if you launch vscode via terminal command: code.
This little script should do the job. Since a copy is placed in
.local/share
, it shouldn't be changed when apt upgrades. (Here the Numix-Icon-Circle is choosen.)go to :
and change
to