<div class="gmail_quote">On 4 March 2013 17:29, Stefano Karapetsas <span dir="ltr"><<a href="mailto:stefano@karapetsas.com" target="_blank">stefano@karapetsas.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">>> In the interest of maximizing the usefulness of "xdg-open" for any popular<br>
>> desktop environment that exists for Linux, would it be politically<br>
>> feasible to adapt the official code for the next version of<br>
>> "/usr/bin/xdg-open" so that it can work properly for the Mate Desktop<br>
>> Environment?<br>
<br>
> Sure, please file bug(s) (preferably with patches), and I'll be happy > to import/adapt things as necessary.<br>
<br></div>
This is already available on xdg-utils git tree:<br>
<br>
<a href="http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b961235b197647d6649ef3d48d7cc2cecafe3d47" target="_blank">http://cgit.freedesktop.org/<u></u>xdg/xdg-utils/commit/?id=<u></u>b961235b197647d6649ef3d48d7cc2<u></u>cecafe3d47</a><br>

<br></blockquote><div><br>Nice! :)<br><br>Three questions more:<br><br>1) In detectDE(), wouldn't it be recommended to add<br>elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.mate.SessionManager > /dev/null 2>&1` ; then DE=mate;<br>
<br>to keep parallelism with the Gnome recognition code?<br><br>I believe this redundancy check would be useful, just in case the user (or some application) removed MATE_DESKTOP_SESSION_ID.<br><br>(I guess this is the same reason for the inclusion of similar redundancy check code to detect Gnome.)<br>
<br>2) Why is the patch you've showed not included in the master branch [<a href="http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-master.tar.gz">http://cgit.freedesktop.org/xdg/xdg-utils/snapshot/xdg-utils-master.tar.gz</a>]?<br>
<br>I've opened the .tar.gz file, navigated to "/xdg-utils-master/scripts/xdg-open", and CTRL-F for "mate", but found nothing.<br><br>3) Does the last version of xdg-email recognize Mate?<br><br>If the answer is "no", then where can I report a bug, together with the diff that would make the code work properly for that desktop environment? I am interested in contributing to the xdg-utils project.<br>
<br>Regards,<br><br>Antonielly Garcia Rodrigues <br></div></div>