Tuesday, May 11, 2010

Howto Set Default Icon for a File Type (for Gnome on Ubuntu GNU/Linux)

I wanted to change the default icon for one certain file-type on Ubuntu GNU/Linux, because the icon for this file-type would otherwise have the blank paper icon. In this example will use: .torrent files

  1. I have downloaded a .png file of the new icon that I want to use.
  2. Rename that file to: "gnome-mime-application-x-bittorrent.png" (for other file-types change 'x-bittorrent' to the proper name of your application)
  3. Move that file "gnome-mime-application-x-bittorrent.png" to the folder ".icons" in your home folder. In case the ".icons" folder does not exist simply create it there (mkdir ~/.icons)
It worked right away.


Based on the following thread from UbuntuForums: http://ubuntuforums.org/showthread.php?t=355714

1 comment:

Anonymous said...

Hello,

I have a message for the webmaster/admin here at unbreakablemj.blogspot.com.

Can I use part of the information from this post right above if I provide a backlink back to your website?

Thanks,
James