numixproject / numix-icon-theme-circle

Linux packaging for Numix Circle
GNU General Public License v3.0
889 stars 90 forks source link

Visual Studio Code is showing wrong icon #98

Closed AbelVM closed 6 years ago

AbelVM commented 6 years ago

While the right icon is available in the repo at https://github.com/numixproject/numix-icon-theme-circle/blob/master/Numix-Circle/48/apps/visualstudiocode.svg, Ubuntu is displaying the text editor one. You can see the duplicate in the dock: image

And the icon in the activities: image

palob commented 6 years ago

No, this is Visual Studio Code calling their icon code instead of something meaningful like vscode.

AbelVM commented 6 years ago

:thinking:

And is there any way to fix this from my side? Do I need to wait for un update of Numix?

I'm tired of opening Gedit when I need VS Code, and the other way around :disappointed:

palob commented 6 years ago

Find the .desktop file in /usr/share/applications/, copy it to ~/.local/share/applications/, open it in an editor an edit the icon line so it reads Icon=vscode.

burawi commented 6 years ago

@palob This changes will be overwritting in any update of vscode. Is there any way to make it permanent ?

palob commented 6 years ago

You can copy the modified launcher and call it like whatever you like. In the original one you need to add NoDisplay=true so as not to get 2 icons.

sagarpanchal commented 5 years ago

Find the .desktop file in /usr/share/applications/, copy it to ~/.local/share/applications/, open it in an editor an edit the icon line so it reads Icon=vscode.

I do that after every update of vscode. LOL

palob commented 5 years ago

As I said, copy the launcher and add the line NoDisplay=true in the original one and your icon will survive the updates.