Comment 14 for bug 1001902

Revision history for this message
Leo (leo4ward) wrote : Re: [Bug 1001902] Re: xdg-open is not mate compatible

Using

+open_mate()
+{
+ if gvfs-open --help 2>/dev/null 1>&2; then
+ gvfs-open "$1"
+ else
+ mate-open "$1"
+ fi
+
+ if [ $? -eq 0 ]; then
+ exit_success
+ else
+ exit_failure_operation_failed
+ fi
+}

makes it work better with aplications like dropbox also (launch caja
instead of nautilus for example)

2014/1/21 Frank_McCormick <email address hidden>:
> On 21/01/14 03:55 AM, Leo wrote:
>> My favorite fix is:
>> http://keramida.wordpress.com/2013/03/18/mate-desktop-support-for-xdg-open/
>>
>>
>> 2014/1/21 Frank_McCormick <email address hidden>
>>
>>> I added this:
>>>
>>> export GNOME_DESKTOP_SESSION_ID=$MATE_DESKTOP_SESSION_ID
>>>
>>>
>>> and added mate to the detection routine for Gnome and it ***seems*** to
>>> work.
>>>
>>> --
>>> You received this bug notification because you are subscribed to the bug
>>> report.
>>> https://bugs.launchpad.net/bugs/1001902
>>>
>>> Title:
>>> xdg-open is not mate compatible
>>>
>>> Status in The Linux Mint Distribution:
>>> New
>>>
>>> Bug description:
>>> I had to modify /usr/bin/xdg-open to duplicate the gnome parts and
>>> replace /gnome/mate/. Some applications like chrome/chromium open
>>> their file using xdg-open.
>>>
>
>
> That also works. Thanks. I still think it's unbelievable this
> bug has hung around this long :)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1001902
>
> Title:
> xdg-open is not mate compatible
>
> Status in The Linux Mint Distribution:
> New
>
> Bug description:
> I had to modify /usr/bin/xdg-open to duplicate the gnome parts and
> replace /gnome/mate/. Some applications like chrome/chromium open
> their file using xdg-open.
>
> Linux Mint 13 RC mate edition
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linuxmint/+bug/1001902/+subscriptions