Adding automaticly an option to the context menu
luciano de souza
luchyanus at gmail.com
Mon Dec 22 10:54:13 UTC 2014
I have created a very simple script to rename sound track name files.
It works as a console application. The problem is that the user does
not have any knowledge about commands of terminal.
The script processes the files of a specified directory. So if I have
an option to call the script from the context menu, it would be
I have installed nautilus-actions. By means of it, if I correctly
understood, I can create context menu options.
However, I didn't like the user had to do this configuration. I want
to build a deb package storing my script in /usr/share/pizzicato.
"Pizzicato" is the name of the script writen in Python.
So if I don't want to send work to the user doing, does someone know
how to create the context menu option via shellscript?
In thm the context menu, I want to have: "Rename files with
Pizzicato". This options will call: "/usr/bin/pizzicato/pizzicato.py
$dirname". $dirname should be a variable informed by the OS containing
the selected directory.
Does someone know how to do it?
Luciano de Souza
More information about the ubuntu-users