<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><span style="color:rgb(0,0,0)">Vladimir Kudrya <<a href="mailto:vladimir-csp@yandex.ru">vladimir-csp@yandex.ru</a>></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><span style="color:rgb(39,78,19)">Last year I proposed a mechanism for this purpose:
      <a class="gmail-m_2580818746076593639moz-txt-link-freetext" href="https://github.com/Vladimir-csp/xdg-terminal-exec/" target="_blank">https://github.com/Vladimir-csp/xdg-terminal-exec/</a></span></div></div></blockquote><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">I like this proposal a lot, but it seems to me to be a little inconsistent with the selection of other default handlers. Mostly just because it would require a second desktop file for each application to put under the xdg-terminals/ directory. Though I'm no X developer, I also can't think of a cleaner way to do this, so I think it should be considered again.</span></div><span style="color:rgb(0,0,0)"><br><br>Liam R E Quin <<a href="mailto:liam@holoweb.net">liam@holoweb.net</a>><br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(0,0,0)"><span style="color:rgb(39,78,19)">There's a MIME type for a shell script, which seems appropriate?</span><br></span></blockquote><span style="color:rgb(0,0,0)"><br>I also don't think using the existing shell script MIME</span><div style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline" class="gmail_default"><span style="color:rgb(0,0,0)"></span></div><span style="color:rgb(0,0,0)"> type makes sense . . . not all applications that run in terminals are shell scripts, and it would seem to be more appropriate to reserve such a MIME type to serve as only the shell-language equivalent type of, say, Python scripts.<br> <br>Ultimately, I think if the solution is to use a MIME type, I think it should be a dummy one that assigns a terminal as its handler but does not have actual files with the type. Such a decision would be to avoid the terminal being the default handler for existing files, since really what we want to do (as far as I understand) is to open .desktop files of type text/plain and not shell scripts. Unless you want to make a new type specifically for .desktop files that have Terminal=true selected. . . .<br></span></div>