Nautilus actions is an extension for Nautilus, the GNOME file manager. It allows the configuration of programs to be launched on files selected in the Nautilus interface.
Each time you right-click on one or several selected files in nautilus, nautilus-actions will look at its configured actions to see if a program has been setup for this selection. If it is the case, it will add an item in the menu that allow you to execute the program on the selected files.
Nautilus Actions is available in Ubuntu Software Center, and it can be launched at System -> Preferences ->Nautilus Actions Configuration.
You can alternatively download the latest version from its homepage if you’d like to.
Nautilus-actions doesn’t provide any config by default except an item to configure your actions. Its configuration is stored into GConf since v0.99, so it offers the possibility for other software that manage files to add their configs into the Nautilus-actions GConf entry and automagically integrates smoothly to nautilus without any additional code. It is also possible to import a foreign config, downloaded over the Net for example, into Nautilus-actions throught NACT, its configuration tool.
The config has three main parts :
- The item menu configuration
- This part define the label, the tooltip and the icon of the Nautilus’ menu item when it appears
- The command configuration
- In this part, you define the command to launch (eg. /usr/bin/gnome-terminal) and the parameters. In the parameters, you have the possibility to add informations from Nautilus throught the use of simple tokens (eg. %f add the currently selected file, %d the current directory, etc.)
- The selection test configuration
- This is the most important part. This is a series of test that will be used on the selected files to determine if the menu item should appear or not. You can define a file pattern to match the selected files with jokers *?. You can defines if you want only files, only folders or both. You can define if you want to launch your program on local files, FTP files, SSH files, etc.
The config files can be stored in an GConf schemas description file easily generated with the “Export” option of NACT so you can easily shared them with your friends. NACT is the the GUI that allow you to create very easily any kind of custom actions. You can see what it looks like in the.