Using Nautilus emblems like color labels on Mac OS X
Friday, May 6, 2011 10:32:56 PM
I read an interesting post about setting up emblems via a shell script and i combined it with Nautilus Actions (get the bug fix release 2.30.3 for Lucid here).
The basic idea is creating a submenu "Emblems" in Nautilus Actions and add there a commands for any emblem you need:
No Emblem ------------------------------------- Path: gvfs-set-attribute -t stringv Parameter: %M metadata::emblems NONE Important ------------------------------------- Path: gvfs-set-attribute -t stringv Parameter: %M metadata::emblems important
Emblem names for your actions can be retrieved by set them in Nautilus in the usual way (menu Edit > Backgrounds and Emblems) and read out them out via shell with:
gvfs-info -a metadata::emblems /Your/Folder/Or/File/Name
After saving it you get them on your Nautilus context Menu for files and folder. There are just two small issues: 1: You must refresh the view of Nautilus after you setted up an emblem to see it in Nautilus. 2: Custom icons are not shown in Nautilus Actions editor but in Nautilus
Here are screenies of my actions and emblems. I disabled the the submenu auf Nautilus Actions in their preferences and created my own submenus.
BTW: Using emblems in Nautilus in the usual way (menu Edit > Backgrounds and Emblems) you can add custom emblems like i did for colors.








Unregistered user # Monday, July 11, 2011 10:33:00 AM
Unregistered user # Monday, November 21, 2011 8:55:45 PM