
Select the icon theme using the appropriate configuration tool for your desktop environment or window manager.Īccording to this document file managers using GVFS (like GNOME Files or Thunar) can display icons for custom locations, like NFS shares.
GTK3 STOCK ICONS UPDATE
Optional: run gtk-update-icon-cache -f -t ~/.icons/ to update the icon cache.

Move the extracted folder containing the icons to either ~/.icons or ~/.local/share/icons (user only) or to /usr/share/icons (systemwide).Then navigate to the directory which contains the icon pack and extract it.Many different icon themes can be downloaded from the following sites: and. Firstly, find and download your desired icon pack.
GTK3 STOCK ICONS INSTALL
If you cannot find a package for the icon theme you are looking for, you will need to install it manually. Official repositories - "icon-theme" search.Tip: It is recommended to install the hicolor-icon-theme package as many programs will deposit their icons in /usr/share/icons/hicolor and most other icon themes will inherit icons from the Hicolor icon theme. Xdg-icon-resource install -size 128 -context mimetypes application-x-keepass.png This command illustrates the method:Ĭreates a custom icon for keepass database files (*.kdb) # grep kdb /usr/share/mime/globs | egrep -o '.+\/+' | tr '/' '-'Īpplication-x-keepass # rename your icon according to this output def loadplugin(self, pdata): if not self.isloaded(pdata.id): load stock icons before import, only gui needs this if pdata.icons: if pdata.icondir and. Calling an icon according to the definition found there and copying it to ~/.local/share/icons will cause the file manager to display the custom mime type icon. Instead definitions from /usr/share/mime/ are used. Icons aren’t really using GdkPixbuf any more, as they are not great for caching and for rendering without unnecessary copying and compositing. Today's file managers do not rely on the traditional mime type which file -mime outputs. $ xdg-icon-resource install -size 128 archuser-example.png # add as normal icon $ xdg-icon-resource install -size 128 -context emblems archuser-example.png # add as emblem With this method, custom emblems can also be added. edit the image widget you just created to add an image using the right panel (select file name in edit. choose icon widget in edit image on the right tool button properties panel to add an image widget to your button.

select the widget you want to apply the image to in glade. This will resize and copy the icon to $HOME/.local/share/icons/. Make sure the icon image you want to use is in yourapp/data/media.

To append a custom icon to an existing icon theme xdg-icon-resource can be used.
