5

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.

top 3 comments
sorted by: hot top controversial new old
[-] miracleorange@beehaw.org 3 points 8 months ago

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.

[-] somenonewho@feddit.de 1 points 8 months ago

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.

https://gitlab.gnome.org/GNOME/nautilus/-/issues/2978

[-] nyek@lemmy.zip 1 points 8 months ago

"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.

this post was submitted on 19 Mar 2024
5 points (100.0% liked)

Gnome

1880 readers
8 users here now

The GNOME Project is a free and open source desktop and computing platform for open platforms like Linux that strives to be an easy and elegant way to use your computer. GNOME software is developed openly and ethically by both individual contributors and corporate partners, and is distributed under the GNU General Public License.

founded 1 year ago
MODERATORS