0

I'm running Kubuntu 14.04. I have an icon on my desktop that I would like to reuse somewhere else. The properties of the icon show the graphic, but not where the actual graphic file is located. How can I find it?

I note that it would be very nice if each desktop file somehow provided the location of its icon, not just the picture.

Paul A.
  • 2,141
  • You see the .desktop link files are stored in location /usr/share/applications /usr/share/icons – Ramesh Chand Feb 15 '16 at 05:28
  • The icon I'm looking for is not in either of those locations. But even if it was, I would expect to see the location of the icon by clicking on the icon in the desktop properties. – Paul A. Feb 15 '16 at 05:35

1 Answers1

0

Icon file paths

The KDE is following the Freedesktop icon theme specification https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html . Directory layout: https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout . From the Askubuntu: Where are icons stored? .

KDE4/Plasma4

Right clicking the desktop icon show an option to look the desktop file.

Either Properties > preview (Folder desktop).

enter image description here

or Icon Settings > properties (Default desktop).

enter image description here

If the icon can be found from the default locations then only the icon name will be shown.

enter image description here

If the icon is not at the default places then the whole path will be shown.

enter image description here

Finding things

Ubuntu find https://help.ubuntu.com/community/find

locate - list files in databases that match a pattern, i.e. find inside updatedb's list

Ubuntu finding files https://help.ubuntu.com/community/FindingFiles

Command:

locate name.png

should show the location of the icon name.png - here it does.

user26687
  • 14,934