Where is Nautilus icon file located and how is it chosen?

Posted by Steve on Ask Ubuntu See other posts from Ask Ubuntu or by Steve
Published on 2012-09-02T00:55:42Z Indexed on 2012/09/11 9:50 UTC
Read the original article Hit count: 270

Filed under:
|
|

When I plug my Garmin Nuvi 265 GPS device into my computer via a USB cable, it mounts as a drive with a blue triangle icon instead of the default gray hard drive icon. HOW does Nautilus know how to do this? After much laborious searching, I found that the icon info is stored in ~/.gconf/apps/nautilus/desktop-metadata/GARMIN@46@volume/gconf.xml -- but only when a custom icon is selected.

So

  1. Where is this blue icon file?
  2. Why does Nautilus use it instead of the plain drive icon?
  3. Is there a way to have give each of my drives a custom icon -- so that when I stick in my various flash drives, they have a distinctive icon (i.e. a 'favicon.ico' file on root or such?)

Using Gnome 2.30.2 on Ubuntu 10.04.

© Ask Ubuntu or respective owner

Related posts about gnome

Related posts about nautilus