Changed icon for application, but it still starts with the old one

so I am trying to change my icons for specific applications.

In my case I changed the chromium icon to a custom one. I copied the chromium.desktop from the snap directory to ~/.local/share/applications changed the icon entry to my path icon path. The icon in the application menu appears and it works, but the old icon persists also which is not that bad because I don't use the application menu.

The thing is now when I click my new icon chromium opens, but with the old icon. Meaning the old icon and the new icon are now in my dock. (btw the same for vscode)

What am I missing?

P.S.

I am using gnome with ubuntu 18.04

1 Answer

Seems like I found the right folder. Snaps have their own desktop directory.

/var/lib/snapd/desktop/applications

Changed the icon their et voila everything works fine.

Still not very clear for me why the .local hasn't overwritten the old entry, or why it starts the "old" application but okay fine by me.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like