<div dir="auto"><div dir="auto" style="font-family:sans-serif;font-size:12.8px">Only one think I must add is in the world of sandboxing and containers like flatpak we need a method can be exposed. and really rather not xdg-open like wrapper that end wrapping 20 programs with platform detection. </div><div dir="auto" style="color:rgb(66,133,244);font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:sans-serif;padding:24px 0px">Show quoted text</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 20 Jul 2020, 21:54 Vladimir Kudrya, <<a href="mailto:vladimir-csp@yandex.ru">vladimir-csp@yandex.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>I believe my previous proposal still holds here.
<a href="https://github.com/Vladimir-csp/xdg-terminal-exec" target="_blank" rel="noreferrer">https://github.com/Vladimir-csp/xdg-terminal-exec</a></p>
<div>On 2020-07-20 14:00, <a href="mailto:smcv@collabora.com" target="_blank" rel="noreferrer">smcv@collabora.com</a>
wrote:
</div>
<blockquote type="cite">
<pre>* Must be user-configurable (overriding desktop and distro defaults)</pre>
</blockquote>
Check.
<blockquote type="cite">
<pre>* Must produce a sensible result without user configuration (installing a
desktop Linux distribution should have a sensible default)</pre>
</blockquote>
If desktop's terminal provides .desktop file in xdg-terminals dir
under XDG_DATA hierarchy, it will be chosen
<blockquote type="cite">
<pre>* 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</pre>
</blockquote>
Desktops can provide <code>/etc/xdg/$desktop-xdg-terminals.list</code>
<code></code>
<blockquote type="cite">
<pre>* 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</pre>
</blockquote>
Plain .desktop entries and ini configs in XDG_CONFIG hierarchy.<br>
<blockquote type="cite">
<pre>
* Different terminals need different arguments to introduce the command
to execute
- xterm -e
- gnome-terminal -x (in old versions)
- gnome-terminal -- (in new versions)</pre>
</blockquote>
Covered.
<blockquote type="cite">
<pre>* Some terminal authors will be unwilling to introduce a D-Bus dependency
- In particular xterm is unlikely to do this</pre>
</blockquote>
Proposal's reference implementation is pure shell.
<blockquote type="cite">
<pre>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.
</pre>
</blockquote>
Exactly.<br>
</div>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org" target="_blank" rel="noreferrer">xdg@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/xdg" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</blockquote></div>