Navigation: Nautilus / Development

Extensions

In this page we'll look at what exactly a Nautilus extension is (the interface etc.). Extensions allow you to go beyond the standard shell script interface and implement do things like add emblems, context menuitems, additional list columns and property pages. For an extensive introduction next to this article see Nautilus Extensions.

The basics of a Nautilus extension

A Nautilus extension can implement a couple of providers (interfaces), namely:

Each of these providers come with their own set of functions one has to implement which in turn Nautilus will call to get 'things done'. We'll take a look specifically at NautilusInfoProvider.

NautilusInfoProvider

When implementing the NautilusInfoProvider interface one has to implement the update_file_info function.

Example extensions

These are a couple of simple examples from the nautilus-python repository.

Installing extensions

See also

Nautilus/Development/Extensions (last edited 2009-04-17 15:16:40 by BrucevanderKooij)