I am working on Ubuntu 12.04 64bit.
I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet.
I am working on Ubuntu 12.04 64bit.
I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet.
You have to install the nautilus-open-terminal package from the universe repositories for Ubuntu versions up to Ubuntu 15.04:
If you want to install it with apturl, use this URL: apt://nautilus-open-terminal
Then:
In order to restart Nautilus
In Ubuntu 15.10, the functionality is already included in
nautilus
!nautilus-open-terminal
andnautilus-actions
packages are available in Universe repository of Ubuntu 14.04. So run the below commands to enable universe repository and also to install above mentioned packages.Finally run
nautilus -q
command to quit nautilus.Now you can be able to seeOpen in terminal
option on right-clicking.Here is my script to open terminal in the current directory,
I built my own after the open-terminal plugin stopped working for me
PS: Here is some bonus info
Assigning a shortcut to the script
Edit file ~/.gnome2/accels/nautilus
Find line similar to this one:
; (gtk_accel_path "<Actions>/ScriptsGroup/script_file:\\s\\s\\shome\\sgautam\\s.gnome2\\snautilus-scripts\\sopen-terminal" "")
(gtk_accel_path "<Actions>/ScriptsGroup/script_file:\\s\\s\\shome\\sgautam\\s.gnome2\\snautilus-scripts\\sopen-terminal" "<Primary><Shift>t")
Just use:
and Logout/Login or reboot.
I have just installed Ubuntu 14.04 Desktop edition today 07-18-2014, and all I had to do to get the command line option in Nautilus was the following in a terminal:
You'll need to install
nautilus-admin
(make sure to install the additional files) to have the right click option and others as well, sincenautilus-open-terminal
is no longer maintained.If you are using Ubuntu
18.04
or newer:I used @Gautam's solution until I found it will not work (I mean a script itself) if path contains non-ascii characters because it's URL encoded.
Here is my little fix which is working at least for me. So, the script should look like this:
According to
gnome-terminal
docs, when you execute this:gnome-terminal
will usepath/to/dir
as working directory, which explains why that script works.Do
and try again.
Or
cd $PWD