Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
1  
I really don't understand the question. Could you reformulate and explain it differently? –  Hanynowsky Oct 28 '12 at 2:34
1  
@Hanynowsky its a feature found in Xubuntu/xfce. –  Suhaib Oct 28 '12 at 3:42
    
It's actually a feature that plugs into nautilus, so ordinary Ubuntu works, as well as many others that use nautilus. –  tudor May 8 '13 at 2:10

2 Answers 2

up vote 135 down vote accepted

You have to install the Install nautilus-open-terminalnautilus-open-terminal package :

sudo apt-get install nautilus-open-terminal

Then:

nautilus -q

in order to reset Nautilus

Result

share|improve this answer
    
thanks,sir it works –  Sagar Nikam Nov 3 '12 at 7:53
2  
I notice that in 13.04 raring ringtail it has disappeared from the "Files" menu and is now only available in the right-click menu. :-( –  tudor May 8 '13 at 2:09
    
Any idea on how to make it use the normal terminal settings? The terminal it opened didn't have the normal colors and settings. –  snapfractalpop Dec 3 '13 at 18:06
    
@snapfractalpop Do you verify that the terminal it opens is the one you expected? There is not one terminal program only on an Ubuntu install (at least gnome-terminal and xterm). –  air-dex Dec 4 '13 at 1:57
3  
Works for 14.04 too. –  Thorbjørn Ravn Andersen May 1 at 7:26

Here is my script to open terminal in the current directory,

I built my own after the open-terminal plugin stopped working for me

#!/bin/bash
##################################
# A nautilus script to open gnome-terminal in the current directory
# place in ~/.gnome2/nautilus-scripts
##################################
#                                       Remove file:// from CURRENT_URI
gnome-terminal --working-directory=`echo "$NAUTILUS_SCRIPT_CURRENT_URI" | cut -c 8-`

PS: Here is some bonus info

Assigning a shortcut to the script

  • Add executable script to ~/.gnome2/nautilus-scripts
  • Wait some time - nautilus regenerates accels file
  • 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" "")

  • Remove comment (semicolon) and specify shortcut like this:

(gtk_accel_path "<Actions>/ScriptsGroup/script_file:\\s\\s\\shome\\sgautam\\s.gnome2\\snautilus-scripts\\sopen-terminal" "<Primary><Shift>t")

  • Save file.
  • Logout - login.
share|improve this answer
    
Will it work on nautilus-GTK3 ? –  Tachyons Feb 3 '13 at 14:22
    
Not sure, I am using it on plain ubuntu 12.04 x64, give it a shot . –  mataug Feb 3 '13 at 14:42
    
In 14.04, Gnome 13.12, the script works, but the shortcut assignment method does not. –  Rasmus Jun 17 at 11:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.