Jul 22, 2016

Nautilus Terminal Extension For Ubuntu 16.04 (Xenial Xerus)

Nemo Terminal is an embedded terminal for Nemo file manager, that was forked from the old Nautilus Terminal. Since it was forked in 2013, it has received various improvements and bug fixes. 

Because the old Nautilus Terminal extension no longer works in Ubuntu 16.04, I decided to get Nemo Terminal to work with Nautilus:

Nautilus Terminal Ubuntu 16.04 Xenial Xerus
The new Nautilus Terminal (Nemo Terminal ported to Nautilus) in Ubuntu 16.04

Among its features are automatic folder navigation (it follows the Nautilus folder navigation - the other way around does not work), even on GVFS mounted volumes, as well as drag and drop acquisition of filenames from Nautilus.

Getting Nemo Terminal to work with Nautilus was as simple as replacing all instances of "Nemo" with "Nautilus". However, since I'm not a software developer, I can't fix any bugs that you may encounter. I will integrate any fixes that are added to Nemo Terminal though, as long as Nautilus still supports it.

In my test, the extension worked pretty much the same in both Nautilus and Nemo. This includes both its features and... bugs.

For instance, there's a bug (?) that prevents the terminal from closing (via F4) after it was just opened, unless you navigate to a different folder, as well as a bug with the terminal context menu when there are multiple tabs open (this one is actually more severe in Nemo).

Compared to the old Nautilus Terminal extension, the one I re-ported from Nemo to Nautilus comes with improvements such as:
  • all settings are stored in dconf;
  • can enter a folder path in the terminal by dragging the folder onto it;
  • support for terminal following Nemo to GVFS mountpoints;
  • changed default shell from bash, to user shell;
  • Vte 2.91 support;
  • various bug fixes.

The extension can be configured using Dconf Editor. To install it, use the following command:
sudo apt install dconf-editor

Once installed, launch Dconf Editor, navigate to org > gnome > nautilus > nautilus-terminal. Here you can configure if the terminal should be hidden or visible when launching Nautilus (I set it to be hidden by default), default terminal height, the hotkey to open the terminal (F4 by default) and more:

Note that only the "Terminal follow Nautilus" follow mode works right now (in both Nemo and Nautilus).

Install Nautilus Terminal in Ubuntu 16.04 (Xenial Xerus)

To install Nautilus Terminal in Ubuntu 16.04 (w/ Unity or GNOME), you can use the main WebUpd8 PPA. Add the PPA, install Nautilus Terminal, and restart Nautilus using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install nautilus-terminal
nautilus -q
If you don't want to add the PPA or don't use Ubuntu, you can grab the deb or source from HERE.

To open the terminal, focus Nautilus and hit F4.

via Web Upd8 - Ubuntu / Linux blog http://ift.tt/2a5eKLs