Draft: Register as an x-terminal-emulator
There are details here I am unsure about.
-
What priority to use? Debian Policy § 11.8.3 suggests using priority 20 but other priorites are commonly used instead.
-
I believe it makes sense for this package to not have
Provides: x-terminal-emulator
because this package has that as Depends instead. -
If xdg-terminal-exec depends on
gnome-terminal | ptyxis | x-terminal-emulator
(etc.), is it acceptable for gnome-terminal to then depend on xdg-terminal-exec? Or do I need it to be Recommends instead? It's at least not a circular build dependency and there are alternatives.
Other comments
-
The basic idea of xdg-terminal-exec is that it should be possible for users to set their default terminal differently than other users on the same system, similar to what can be done with web browsers, but this use case isn't covered by the existing Debian alternatives system.
-
This may not be the final solution at all. Both the GNOME Terminal and Ptyxis developers like the idea of terminal XDG Intents better. My opinion is that xdg-terminal-exec works now, but XDG Intents is not ready yet.
-
I will probably add several explicit terminal alternative ahead of xterm in the Depends list. I think this at least helps Ubuntu with the tools they use to build ISOs.
-
There isn't much of a GUI for users to configure yet. GNOME Terminal and Ptyxis >= 48 Beta have an option in their preferences but GNOME Terminal's behavior is currently too aggressive . But it can be configured with text files; see the manpage
-
I do think I'll have Debian GNOME install xdg-terminal-exec by default for Trixie since glib is already set to use it. I think it would be a benefit to our users if x-terminal-emulator respected the xdg-terminal-exec preference by default.