3

I had the shortcut for "open terminal here" working in 16.04 using

(gtk_accel_path "<Actions>/ExtensionsMenuGroup/TerminalNautilus:OpenFolderLocal" "F12")

in the ~/.config/nautilus/accels. After the update to 16.10 the shortcut stopped working.

Does anyone knows if the accelerator changed or if there is another way of setting it?

How can I debug the problem to figure it out?

Update: Tested this on another computer with 16.10 upgraded from 14.04 and it is not working either.

adn
  • 261

1 Answers1

2

As stated by David Foerster Nautilus doesn't support the accel map anymore (currently I'm testing on Ubuntu 17.10).

I found the answer on https://askubuntu.com/a/696901/44054

Just a note, the script on ~/.local/share/nautilus/scripts must have no extension. If you put an extension it won't work (at least in my case it didn't). Also, remember to make it executable.

Solution

(In case the link and the solution is broken)

So in my case it was a

echo "#! /bin/sh
gnome-terminal" > ~/.local/share/nautilus/scripts/Terminal

chmod +x ~/.local/share/nautilus/scripts/Terminal

Then, I just created

echo "F12 Terminal" > ~/.config/nautilus/scripts-accels

Then, after restarting nautilus, the terminal is opened through that script by pressing F12.

adn
  • 261