I’ve installed xdg-terminal-exec
in order to try to get nautilus
(Gnome Files) to launch a terminal other than gnome-terminal
(org.gnome.Terminal.desktop
file), in my case, ptyxis
(org.gnome.Ptyxis.desktop
file).
Unfortunately, it seems that the “default” nautilus
extension, which I believe is owned by gnome-terminal
, overwrites xdg-terminals.list
file and GNOME-xdg-terminals.list
file. Now, I don’t even think the latter file should necessarily exist, as it only adds to the confusion already at play here. The whole point of XDG is to be able to standardize everything. I think that:
- xdg-terminal-exec needs to be ready for prime time. I shouldn’t have to go to the AUR to install it
- Open in terminal should be default, not an extension implemented to varying success by distro maintainers or by terminals themselves, which may be biased against other terminals
- I shouln’t have to edit a configuration file to change this anyway. I should be able to go to Settings > Apps > Default Apps and change my default terminal app graphically by default in modern GNOME.
- If I do edit the configuration file, nautilus, gnome-terminal, and glib/gio should NEVER quietly overwrite it. I don’t know who to blame in this case but it’s clear something in the GNOME extended-family has made a mistake.
I’ve tried so many things and as a user and a newbie, I really don’t think making changes like this should be that hard. I’ve tried installing a script from the AUR to called nautilus-open-in-ptyxis but not only was it broken due to only checking /bin/ instead of /usr/bin (i made a pull request) but the code was riddled with typos and I wasn’t sure keeping it installed was the best choice, especially since it just added another menu option instead of fixing the existing one.
That’s why I decided to instead install xdg-terminal-exec-git. I was lead to this idea by source code in the GNOME GitLab.
Now, the AUR version of xdg-terminal-exec seemed to be installed by only maybe three people based on the statistics, but I found many people who have been having a similar issue on Reddit, so I think it’s one of those things that’s best installed by default without the user really noticing or worrying about it once it works. Unfortunately, it doesn’t work because it gets overwritten. Also, most of the Reddit advice was to install a different extension.
I would like to fix the problem but I am a newb and don’t even know which source code to search through to find the problem and much of it is difficult to understand. But HERE IS THE BIG PROOF MY CONFIG IS BEING OVERWRITTEN INSTEAD OF BEING USED.
==> BEFORE <==
==> AFTER <==
As you can see, not only does my terminal preference appear to be ignored, but it is also apparently overwritten by nautlius, a nautilus extension, gnome-terminal, or glib in some way (I don’t know why or how). There is no warning about this issued by nautilus when I run it from the command line, either, which I find very confusing and disrespectful toward the XDG configuration. Sorry if this is in the “wrong topic” I am new here and am willing to move/delete the conversation if necessary. Just point me in the right direction because I’ve had this dissatisfaction with the open-in-terminal on popular distros like Ubuntu/Fedora/Arch for years now…
EDIT: To be clear I am not trying to create drama by accusing a terminal or extension of malicious intent. It may be that they only tested it on their own terminal and not on other terminals that should be compatible. That is what is meant by “biased toward their own terminal” (not against other terminals).