You are not logged in.
Pages: 1
Hello,
I cannot find it anywhere, how can I set default terminal emulator to Kitty instead of GNOME Terminal in GNOME desktop environment?
I found lot of solutions about setting gsettings but they look all deprecated.
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Offline
Take my comment there with a grain of salt. I linked to other sources, but I don't know how reliable they are. I have no experience with gnome - and sadly neither do most gnome-users who contribute to the discussions I linked to as references. I find it very hard to believe there is no way to change the default TE in a major DE... hard, but not impossible, and if any DE were to f*** up that badly, it'd certainly be gnome, but it would surprise me even from them.
What is certainly clear is that there is no documented way of making such a change.
Last edited by Trilby (2023-06-22 15:39:15)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
https://bbs.archlinux.org/viewtopic.php … 1#p2085601
xdg-terminal-exec seems to have arrived, but I've not tested that and it's neither universal nor uncontested contested, so it'll probably be gone in no time as well.
I suspect adopting $TERMINAL would have been too easy… ![]()
Offline
gnome-terminal/3 dots menu/Prefernces/your Profile/Command/Run a custom command instead of my shell
Offline
That allows you to by default have gnome-terminal run eg. fish while keeping bash your users login shell.
It does not change what terminal emulator actually gets used by default (gnome-terminal or gnome-console, the OP would prefer kitty)
Offline
Idk what to do, so I did: ![]()
[root@tomsk-PC tomsk]# whereis gnome-terminal
gnome-terminal: /usr/bin/gnome-terminal /usr/lib/gnome-terminal /usr/share/man/man1/gnome-terminal.1.gz
[root@tomsk-PC tomsk]# whereis kitty
kitty: /usr/bin/kitty /usr/lib/kitty /usr/share/man/man1/kitty.1.gz
[root@tomsk-PC tomsk]# rm /usr/bin/gnome-terminal
[root@tomsk-PC tomsk]# ln -s /usr/bin/kitty /usr/bin/gnome-terminalI use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
murky as hell
Then see
https://gitlab.gnome.org/GNOME/glib/-/i … te_1745989
but also the linked https://github.com/ublue-os/main/issues … 1551600704
· It's just a messy shell script, with a vastly over-complicated design.
· It was only temporarily added to GLib (see commit comment), to appease people who were annoyed that GNOME had removed the dconf flags for switching terminal. They put it at the top of the terminal binary list, which means that if it's detected on the system, it gets launched as if it's the terminal binary.
· Their plan is to remove it from GLib after they finish work on another spec called xdg-default-apps instead, since xdg-terminal-exec is an overcomplicated and hacky script.
…as everything gnome
![]()
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
So https://github.com/ublue-os/main/issues … 1551600704 this is "way" to change GNOME Terminal for anything else?
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
It's a crutch on the verge of breaking soon(-ish) that will be used by glib2 code, nothing else and it will never be because it's a gnome-proprietary extension to XDG… until it gets removed.
There is (for now) no (longer a) sane way to alter the gnome default terminal emulator, just a bunch of murky hacks.
Offline
just a bunch of murky hacks
Fun fact, that is what the sign over the door to the office of gnome devs says.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
I did a hacky method, that at least allows you to open Kitty by clicking "Open in Console". It works, but yeah. Still not a good solution as this disables the GNOME Terminal as it won't run due to D-Bus errors.
You can check out here: https://github.com/jotkauser/gnomeconsolemock
If you even will this after entire 2 years
Offline
Pages: 1