Fedora Account System
Red Hat Associate
Red Hat Customer
As per https://pagure.io/fedora-workstation/issue/261, while there is, or was, a desire to change the default terminal to gnome-console, for the time being gnome-terminal *is still* the default terminal for fedora (see the last comment https://pagure.io/fedora-workstation/issue/261#comment-842869 in that issue). However, an upstream commit https://gitlab.gnome.org/GNOME/glib/-/commit/ae65753b16edb34eef71b377abb158c74069ce72 which is present in glib2 >= 2.75.0, changes the default terminal to gnome-console ("kgx"), making that the default terminal over gnome-terminal (if gnome-console is installed). This commit needs to either be reverted for the fedora package, or at least patched so that the priority of the "kgx" line is lower than gnome-terminal, by moving it *after* the "gnome-terminal" line. Reproducible: Always
Created attachment 1962242 [details] lower kgx priority below gnome-terminal's priority
tbh I think this is OK. If you install gnome-console/kgx, it's probably because you want to use it, right? By default, users still get gnome-terminal as before?
This message is a reminder that Fedora Linux 38 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '38'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 38 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Still applies to f40 and rawhide.
Christian, I don't think this is worth patching. If gnome-console is not installed, gnome-terminal will get used. If it is installed, it's because you want to use it. Right?
I don't agree with that. There's the installing multiple applications when having multiple user accounts using the same computer use case, although I don't know if fedora positions itself to care for that use case. But even for single user, just because some application is installed doesn't mean the user wants that application as the default for its category. E.g. users may have installed multiple web browsers like epiphany, firefox, chromium, to use each for specific tasks, or multiple email clients, etc., but we have the "default applications" section in the control centre to choose which one they want by default, and don't use the package manager to manage that default.[*] I'm pretty sure that if I made upstream gnome-terminal (which is still the fedora default for the forseeable future now that https://pagure.io/fedora-workstation/issue/261 has ben wontfixed) open links in epiphany, just because it is installed, instead of the user's chosen default web browser, you wouldn't be happy with that and be patching that out in the fedora package. ([*] Part of the problem of course is that there isn't UI, or indeed a way in gnome to set the default terminal. Glib upstream has unfortunately chosen the "xdg-terminal-exec" approach to try to add a way to set the default terminal, but no terminal apart gnome-terminal implements it, the spec is broken and in flux, and as far as I can tell, not available in fedora. There's a better approach (https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/46) but it's stalled.)
OK, I'll apply your suggested patch.