Okay, I think I managed to work out a solution to this. What I think
happens is that this extension adds two separate action (one a
background action, that you can invoke via the File menu if you are
selecting nothing; and a file action, that you can invoke when you
select a folder). The problem is that the extension assigns both actions
the same action type, which I think confuses Nautilus. I made a patch to
call the file version of the action something different. The patch seems
to work fine for me.

Here are some instructions for users who want to try this:

First, install the build dependencies for the extension:

sudo apt-get build-dep nautilus-open-terminal

Then, fetch the source:

mkdir nautilus-open-terminal
cd nautilus-open-terminal
apt-get source nautilus-open-terminal
cd nautilus-open-terminal-0.18

At this point, download my patch and put it into that folder (nautilus-
open-terminal/nautilus-open-terminal-0.18/). Then do this:

patch -p1 < openterminal_patch.diff 
dch -l custom "Open terminal with folder selected fix."
dpkg-buildpackage -b -us -uc -rfakeroot

After the package has built, you just install it in your favourite way.
>From the command line it'll be (the .deb file might be different if
you're not on 64 bits):

dpkg -i ../nautilus-open-terminal_0.18-1custom1_amd64.deb

Now you have to restart nautilus. I do it by issuing this:

killall -9 nautilus
nautilus

The nautilus should now have the fixed open terminal extension.

** Patch added: "openterminal_patch.diff"
   http://launchpadlibrarian.net/51243659/openterminal_patch.diff

-- 
Open terminal menu shortcut becomes invalid when a folder is selected
https://bugs.launchpad.net/bugs/521029
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to