1, enter the personal directory (such as/home/batsing, hereinafter abbreviated into ~); set to show hidden files, or use the command line;
2, enter the ~/.gnome2/nautilus-scripts folder, create a new file, named terminal;
3. Open with a text editor (such as Vim,gedit), enter the following (shell script) and save the exit:
# !/bin/bash " dirname $NAUTILUS _script_current_uri " Exec Gnome-terminal
4. Add the executable property to the text file, command line input: chmod +x terminal
5, with the ls-l command to confirm that it has no executable properties, if any, in any folder right-click on the menu should have a "script" inside there is a terminal; work is done;
6, if not successful, then try again, check the file name has no correspondence, the shell script has no spelling (case, Chinese characters) error, etc.;
Linux Learning Note-ubuntu Add right-click menu to open Terminal