I believe my previous proposal still holds here. https://github.com/Vladimir-csp/xdg-terminal-exec
On 2020-07-20 14:00, [email protected]
wrote:
Check.* Must be user-configurable (overriding desktop and distro defaults)
If desktop's terminal provides .desktop file in xdg-terminals dir under XDG_DATA hierarchy, it will be chosen* Must produce a sensible result without user configuration (installing a desktop Linux distribution should have a sensible default)
* Default is desktop-dependent (if the user has not expressed a preference,
GNOME users expect to see gnome-terminal and KDE users expect konsole)
- In particular this means things like the Debian /etc/alternatives
mechanism are unsuitable
Desktops can provide /etc/xdg/$desktop-xdg-terminals.list
* Reading the configuration format should not require linking to specific
implementation libraries
- GLib isn't going to want to link to KDE libraries, Qt/KDE isn't going
to want to link to GNOME libraries, and neither is likely to want to
become dependent on some desktop-agnostic abstraction layer library
whose continued maintenance they cannot guarantee
Plain .desktop entries and ini configs in XDG_CONFIG hierarchy.Covered.* Different terminals need different arguments to introduce the command to execute - xterm -e - gnome-terminal -x (in old versions) - gnome-terminal -- (in new versions)
Proposal's reference implementation is pure shell.* Some terminal authors will be unwilling to introduce a D-Bus dependency - In particular xterm is unlikely to do this
Exactly.Many of the requirements are the same as for MIME-type handling, so many of them can be satisfied by an implementation that mimics MIME-type handling.
_______________________________________________ xdg mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xdg
