HOW TO add entry to right click menu
In Ubuntu you can add a custom entry to right-click-menu. For example I'll explain how to add an entry that will convert *.flac audio file to *.mp3 one. Entry will be visible whenever you click on an *.flac audio file but not when you click on a *.txt file for example.
First you will need to install some applications:
sudo apt-get install nautilus-actions
After you have installed it press Alt+F2 and type:
nautilus-actions-config

To add new menu, obviously, click on
Add button. A new window will appear.
If you want to add right click menu entry for converting *.flac to *.mp3 please read
this howto first to see how to install audio-convert. It's short so don't worry about that. If you wish to add another application to right click menu follow the rest of howto and use the name of desired application instead of
audio-convert.
Under Label write the name under which your application will appear, and if you wish add an icon.

Save the icon on your computer and where it says Icon: click on Browse and navigate to the icon.
Under Path: write
audio-convert , under Parameters:
%M And under Tooltip: you can write something like
convert flac to mp3. It should look something like this now.
Next, click on Conditions tab, and under Filenames: write
*.flac. This will ensure that the entry will only appear if the selected file is a *.flac file. Unselect the option
Match case and also select the option
Appears if selection has multiple files or folders. The Conditions tab should look like this now.
On Advanced Conditions tab you can select all of the options. Click OK, and close the
Nautilus-Actions.
Restart the Nautilus by pressing
Alt+F2 and typing
nautilus -q and then press
Alt+F2 again and type
nautilus.
You should have a new option if you right-click on any *.flac file. For some reason my icon doesn't work. If you have any suggestion please leave a comment.
You can leave a comment at the homepage.