Hi!

Here's how you change desktop icons manually.

You make an "~/.icons" directory an you put your replacement icons in
it.  The paths of the replacement icons should mirror the ones in
"/usr/share/icons".

You have an icon theme set.  By default is set to "trisquel".  You
should check your selected icon theme with the command:


gsettings get org.gnome.desktop.interface icon-theme


In the file /usr/share/icons/trisquel/index.theme there's a line that
says "Inherits=gnome-brave,gnome".  That means, that any icon not
found in "trisquel" is taken from either the "gnome-brave" or "gnome"
icon theme directories.  Also, "gnome-brave" inherits from
"gnome-colors-common".

To overwrite desktop icons you must mirror chosen icon filepaths from
the directories "trisquel", "gnome-brave", "gnome-colors-common" and
"gnome", which are found in "/usr/share/icons".  For example, if you
want to set your own video files icon, make the following files:


  ~/.icons/gnome/16x16/mimetypes/video-x-generic.png
  ~/.icons/gnome/22x22/mimetypes/video-x-generic.png
  ~/.icons/gnome/24x24/mimetypes/video-x-generic.png
  ~/.icons/gnome/32x32/mimetypes/video-x-generic.png
  ~/.icons/gnome/48x48/mimetypes/video-x-generic.png


The above overwrite the files:


  /usr/share/icons/gnome/16x16/mimetypes/video-x-generic.png
  /usr/share/icons/gnome/22x22/mimetypes/video-x-generic.png
  /usr/share/icons/gnome/24x24/mimetypes/video-x-generic.png
  /usr/share/icons/gnome/32x32/mimetypes/video-x-generic.png
  /usr/share/icons/gnome/48x48/mimetypes/video-x-generic.png


An icon typically has several symbolic links to it, so the same icon
may have different names for different uses.  I found the above files
are used for video file icons by looking trought the icon directories,
and testing with different filenames.

When you change an icon image you may need to refresh the window or
the desktop.

See also https://live.gnome.org/GnomeArt/Tutorials/IconThemes for more
in dept explanation on working with icon themes.

Reply via email to