I have a .desktop
launcher in ~/.local/share/applications
. I have specified an Icon
there. This icon is visible in the "Activities launcher". But when i select it, the icon is not used in the Dock.
With Unity, the icon from the .desktop
file was used.
How to configure Gnome to use the icon from the .desktop
file in the Dock?
GNOME uses the application launchers found in the
~/.local/share/applications
directory. If you move your application launcher there, it should change the icon in both the applications dashboard and the dock. Desktop launcher files placed here will override desktop launchers in/usr/share/applications
by the same file name for your user only.As an example, I changed the icon for Google Chrome to the 2048 logo. It appears in both the application dashboard and dock:
--
Contents of
~/.local/share/applications/google-chrome.desktop
: