Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Examples: special network share or flash drive,so I can easily identify them.

Ubuntu 11.04 Gnome Classic.

UPDATE: By "special network share" i mean network shares which are "permanently" mounted using the fstab e.g. in my case samba shares on my home server. I have one for music and one for other stuff.
It would be totally fine for me if the icon is on the share or drive and some (hidden) auto-loaded configuration file knows where it is.

share|improve this question
    
If you just want to change the icon, e.g. of the Dropbox folder, you can right click it from nautilus and under the Basic tab, click in the folder icon and navigate to an image file of your choice.... I don't know if that'll work with removable devices, I ain't got none here. –  henrique Jun 9 '11 at 3:09
    
Would you mind elaborating more about what do you mean by "special network share"? –  Nano Taboada Jun 9 '11 at 6:21
1  
@henrique: That "works". But when i change the icon of the desktop link it doesn't change in nautilus. And smaller "appearances" like in the panel or the nautilus sidebar don't change as well. –  dAnjou Jun 9 '11 at 9:29
add comment

2 Answers

There is a little trick that I learned from cleaning Windows viruses off people's flash drives that might just work for you.

If you create an autorun inf file with an icon linked inside, it will use that custom icon for the drive. Now, the one thing I can't help with (immediately) is the syntax (but I will update my answer later with an example).

I also am not sure if it will work on networks, but it will definitely work for removable media.


Edit (by George Edison): you can do this by creating a file named 'autorun.inf' in the root directory of the medium with the following contents:

[autorun]
icon=autorun.ico

...where 'autorun.ico' is the filename of an icon file relative to the 'autorun.inf' file.

share|improve this answer
add comment

I think you can just right click the icon, go to Properties> When properties window comes up, click on the icon in that window> Navigate to the new icon you want to use, choose it and click Open. That will now be the icon for that device. Even for removable flash drives/external drives. As long as you keep the icon in the same place (i just use my home folder).. It will always appear for that device when it's mounted.

Hope that helps.

share|improve this answer
    
Nope, doesn't help. See my comment on the question above. (Besides: henrique answered the same like you a week ago ;)) –  dAnjou Jun 15 '11 at 11:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.