this post was submitted on 03 Sep 2024
20 points (100.0% liked)

Linux

8376 readers
288 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

I've tried every tutorial I could find. From symlinking the desired terminal to gnome-terminal, or using the update-alternatives command to using the gsettings command to set the default terminal. Nothing works.

What is the definitive way to set the default terminal for this GUI action? And why is this so hard to do?!

I'm on Fedora if it's relevant.

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 10 months ago (1 children)

I don't have a Fedora workstation in front of me right now, but it memory serves me right there's a "default applications" or similar menu in Gnome's settings.

[–] [email protected] 3 points 10 months ago

That doesn't apply to the "Open in Terminal" option in Nautilus right click menu.

[–] [email protected] 4 points 10 months ago (1 children)

Since you have Nautilus, i'm assuming you have the rest of GNOME too.

GNOME Settings should have a default apps tab, so you should be able to change it from there.

Otherwise, org.gnome.desktop.default-applications.terminal exec 'desired-terminal', and obviously don't forget to swap that for whichever one you want to use

[–] [email protected] 4 points 10 months ago

As I said I have tried this and it isn't working.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

There is an extension that lets you open in a different terminal. I don't have GNOME or Nautilus installed, so no idea if and how it works, just found it through a web search. Maybe it helps: https://github.com/Stunkymonkey/nautilus-open-any-terminal

Edit: Never mind. I see it's already posted in the replies.

[–] [email protected] 3 points 10 months ago

Depending on your gnome version, you can't

[–] [email protected] 1 points 10 months ago

I ran into the same problem some time ago. My solution is not ideal, but it works fine. In gnome-terminal --preferences go to profile -> command, and as custom command I put open-wezterm-here. This could be the terminal you're using. Set 'when commands exits' to Exit terminal. It does show gnome-terminal for a split second. But that doesn't really bother me anymore.