xdg-open is not mate compatible
Bug #1001902 reported by
Leo
This bug affects 19 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu MATE |
Fix Released
|
Medium
|
Unassigned | ||
Xdg-utils |
Fix Released
|
Unknown
|
|||
xdg-utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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
Related branches
affects: | ubuntu-mate → xdg-utils (Ubuntu) |
affects: | xdg-utils (Ubuntu) → ubuntu-mate |
affects: | ubuntu → xdg-utils (Ubuntu) |
Changed in xdg-utils: | |
status: | Unknown → New |
Changed in ubuntu-mate: | |
importance: | Undecided → Medium |
Changed in ubuntu-mate: | |
status: | Confirmed → Fix Released |
Changed in xdg-utils: | |
status: | New → Fix Committed |
Changed in xdg-utils: | |
status: | Fix Committed → Fix Released |
no longer affects: | linuxmint |
To post a comment you must log in.
In fact, none of the xdg-utils scripts work with Mate. Generally they should treat Mate as GNOME, but they fail to recognise it. DESKTOP_ SESSION_ ID" != x"" ]; then DE=gnome; DESKTOP_ SESSION_ ID" != x"" ]; then DE=gnome;
There's a detectDE function which checks for GNOME...
elif [ x"$GNOME_
but is should also check for Mate ...
elif [ x"$MATE_
That will make the xdg-utils treat Mate as GNOME.
To be more rigorous, use DESKTOP_ SESSION_ ID" != x"" ]; then DE=mate;
elif [ x"$MATE_
That allows xgd-utils scripts to contain functions for Mate separately.
These scripts contain detectDE
xdg-desktop-icon, xdg-desktop-menu, xdg-email, xdg-icon-resource, xdg-mime, xdg-open, xdg-screensaver, xdg-settings
but only
xdg-email, xdg-mime, xdg-open, xdg-screensaver and xdg-settings use it to determine which routines to call.
This bug is pretty fundamental to Mint. For example, mintwelcome uses xdg-open to call the browser to display its
links. If xdg-open doesn't work properly, mintwelcome launches chrome but won't close and stays in focus hiding the
help page you've just launched. With amended xdg-utils, mintwelcome launces firefox or chrome as appropriate and
"Close" works properly.
I'm attaching patches which seem to work. But I'm not sure that I've understood what xdg-screensaver is supposed todo and xdg-settings just uses the GNOME functions.