Linux for Designers

a blog by Eckhard M. Jäger

Using Nautilus emblems like color labels on Mac OS X

, , , , , ,

Many people often ask about an easy way using Nautilus emblems like color labels on Mac OS X. Same at work while we have a lot of Mac users and our web development team using Ubuntu Linux.

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.

Get a presentation stick running on UbuntuBlueGriffon 1.0 will be available on 10. May

Comments

Unregistered user Monday, July 11, 2011 10:33:00 AM

Carlo Bertini writes: Many thanks !!! WaYdotNET

Unregistered user Monday, November 21, 2011 8:55:45 PM

Paul Prevoo writes: need help to get this working please I use Macbuntu

Write a comment

New comments have been disabled for this post.