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.

The emblems in Nautilus don't quite fit my needs. How can I add a new one, just for my user account?

share|improve this question

3 Answers 3

up vote 5 down vote accepted

From Nautilus, go to the Edit menu, select Backgrounds and Emblems, click on Emblems, and then on the Add a New Emblem button at the bottom of the dialog.

share|improve this answer
    
Oh, now I feel stupid. I've been hacking away at config files trying to figure this out... –  ændrük May 8 '11 at 18:45
2  
This answer is out-of-date. Newer versions of Nautilus don't support emblems. To work around this, see: askubuntu.com/questions/83226/… –  Flimm Jan 7 '13 at 17:05

You can also set a custom emblem on a file from a script by running this command:

gvfs-set-attribute -t string <filename> metadata::custom-icon file:///home/user/path/to/icon.png
share|improve this answer

The previous answer really create a custom icon for the object, which is not exactly the same thing an emblem is.

The first answer unfortunately does not work anymore for gnome3. I found that, to create an emblem named for example "mymusic", you can add a png 48x48 image called emblem-mymusic.pngin the directory:

~/.icons/hicolor/48x48/emblems

and in the same directory you create a text file, called emblem-mymusic.icon with the content:

[Icon Data]
DisplayName=mymusic

That's it. Now you can set/unset them following the answer to Is there any tweak to bring back emblems in Nautilus?

share|improve this answer

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.