How does one change the terminal that Gnome Files uses when opening a directory in terminal using “Open in Terminal”? I’m trying to change the default to foot.
All my searching has led to
sudo update-alternatives --config x-terminal-emulator
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/gnome-terminal.wrapper 40 auto mode
* 1 /usr/bin/foot 20 manual mode
2 /usr/bin/footclient 10 manual mode
3 /usr/bin/gnome-terminal.wrapper 40 manual mode
4 /usr/bin/koi8rxterm 20 manual mode
5 /usr/bin/lxterm 30 manual mode
6 /usr/bin/uxterm 20 manual mode
7 /usr/bin/xterm 20 manual mode
which I can select foot. But Gnome Files does not seem to respect this.
I’ve also tried directly editing
gsettings set org.gnome.desktop.default-applications.terminal exec foot
where the default exec option is x-terminal-emulator
. This also does not work.
There’s no GNOME-supported way to do it, but there is this Nautilus extension allowing you to open any terminal (appropriately called nautilus-open-any-terminal).
Fun fact: the ability to open GNOME Terminal from Nautilus is also an extension.
Interesting. I’ve just looked this up 2 days ago. It seems there is no longer an option in Gnome that it will respect (since 43) and as far as I can see the open in terminal is a Nautilus (gnome-Files) extension and there are other plugins that provide the functionality to change that.
“Open in terminal” is a functionality provided by a plugin for Gnome Files that is installed with a package manager. As far as I am aware, there is one alternative plugin that provides “Open in Tilix”. This means it is not easily user configurable.