Package: xdg-utils
Version: 1.1.0~rc1+git20111210-7.1
Severity: normal
Tags: patch

Hi,

xdg-email does not work under the MATE desktop:

---
? xdg-email "mailto:t...@test.com";
xdg-email: no method available for opening 'mailto:t...@test.com'
---

It seems the script already detects MATE (DE=mate) alright, but
has no action for it. Just using just the gnome action for MATE
works for me:

--- /usr/bin/xdg-email  2014-04-23 20:23:32.000000000 +0000
+++ /home/absurd/xdg-email      2014-11-20 14:09:05.755645745 +0000
@@ -886,7 +886,7 @@
     open_kde "${mailto}"
     ;;
 
-    gnome)
+    gnome|mate)
     open_gnome "${mailto}"
     ;;
---

Again, this worked for me, but not sure if that is a correct
patch.

Furthermore, I am inclined to think that the script should not
fail on unknown desktops (in the last switch case), but rather
use the fallback in such a case.

Fwiw, at least 'chromium' uses xdg-email directly; as such,
"mailto:"-URLs in (at least) chromium browser are broken under
MATE.

Thx!

Stephan

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-0.bpo.3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
pn  libfile-mimeinfo-perl  <none>
pn  libnet-dbus-perl       <none>
pn  libx11-protocol-perl   <none>
pn  x11-utils              <none>
pn  x11-xserver-utils      <none>

Versions of packages xdg-utils suggests:
pn  gvfs-bin  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to