<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">Huh, good find. I was about to type up an email about how the "Implements=" key <br>that was added after that proposal is kind of useless in our case; as it says,<br>"it is entirely up to the entity who defined a particular interface to define <br>what it means to implement it." But then I realized that we can actually use it <br>quite easily in addition to the proposed xdg-terminal-exec or xdg-intent-exec<br>spec to avoid the need for duplicate desktop files for intent handlers.<br><br>It could work like this:<br>1. The X-ExecArg option (or X-ArgPrefix) in the proposed spec is moved from the<br>   "data" directories with desktop files to part of the .list "config" files;<br>2. the concept of "data" directories (the ones full of .desktop files) can be<br>   left out;<br>3. terminals and other applications that open intents are instructed to have<br>   certain values in the Implements key, for example "Implements=xdg-intent-<br>   terminal" or "Implements=xdg-intent-calculator";<br>4. when we scan through the .list config files, instead of running the matching<br>   app in the data directories, we check that the matching .desktop file in the<br>   usual place (/usr/share/applications/ or ~/.local/share/applications or<br>   whatever) has the correct intent named in the Implements= key;<br>5. we just run that desktop file with the ArgPrefix specified in the .list.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">It's only a little cleaner, though. Thoughts?<br></div></div></div></div></div>