Gnome-Terminal is terrible.
It's buggy and whenever Gnome-Shell restarts or resumes from suspend, all Gnome-Terminal windows become unusable and can't be closed. There's an old ticket opened for it, but it'll likely never be fixed.
In the meantime, I've been trying to use other terminal packages. Unfortunately, Gnome-Shell still thinks Gnome-Terminal is what it should use whenever I select "open in terminal" in various menus. If I uninstall Gnome-Terminal, these menus disappear. What's the easiest way to keep the menus, but make my preferred terminal window open instead?
Or you may simply use:
sudo update-alternatives --config x-terminal-emulator
as per comment; to update it on per user basis check https://serverfault.com/questions/631447/how-to-use-update-alternatives-per-user
On Ubuntu / LinuxMint to set the terminal emulator app for Nemo's
executing the following allowed me to set
terminator
as defaultDepending on your distro's Desktop/xserver setup and which file explorer you use, you might have to replace
org.cinnamon.desktop
withorg.gnome.desktop
or maybe evenorg.kde.desktop
.Suggestions can be found by calling gsettings:
For LinuxMint19&Nemo, the cinnamon-variant worked straight away, without even logging out.
(came from https://unix.stackexchange.com/questions/336368/how-to-configure-nemos-right-click-open-in-terminal-to-launch-gnome-terminal)
I wouldn't recommend symlinking another terminal app to gnome-terminal. If any other application in the system is trying to invoke gnome-terminal with specific parameters this might fail. On top of that symlinking might cause issues with package/system upgrade.
Simply keep your favorite terminal app (terminator/tilda/guake etc) in ubuntu dock/start menu. The other option is to configure nautilus file manager to open your favorite terminal. I presume this is the most likely use case for most people anyway.
Ideally, there'd be an option under Details->Default Applications, but there's currently no option for "terminal".
My workaround was to install Terminator, or any other of the many GUI terminal packages which does suffer the gnome-terminal bug, and then symlink it to /usr/bin/gnome-terminal, e.g.
The two binaries don't have identical parameters, but so far they seem to be similar enough that all my terminal launchers (nautilus-open-terminal, Eclipse, etc) all seem to pick it up seamlessly.
I was able to solve this by modifying the GNOME Application in
/usr/share/applications/
./usr/share/applications/org.gnome.Terminal.desktop
gnome-terminal
withx-terminal-emulator
. That way, when you use update-alternatives to change the destination of x-terminal-emulator, the application will update automatically.So far this solution has worked quite well for me. It has the caveat that the application will show up as your terminal of choice, rather than GNOME Terminal, on the dock - you will have to observe what I mean for yourself.
In my case, I use alacritty. To enable CTRL+N functionality I had to configure alacritty similarly to here.
You can also use nautilus-python extensions. Just install
nautilus-python
and save this script as~/.local/share/nautilus-python/extensions/OpenInTerminal.py
.