It didn’t work for me
The issue seems to be related to the
xdg-email script, as you already pointed out. Chromium uses this script as a handler for opening mailto links. I think that for some reason your DE (Deepin) is not recognized by
xdg-email or its value is getting overwritten (?).
After searching, I found a possible solution in the Arch Forums:
https://bbs.archlinux.org/viewtopic.php?pid=1419953#p1419953 (post #4 of the thread)
This approach suggests ‘hacking’ the
xdg-email script located in the /usr/bin/ directory. This is not a very elegant solution, since this file will get overwritten when the package
xdg-utils gets upgraded to a new version, but it might work.
I tested this, using DE=“gnome3” in my system (XFCE) works as expected.
Another approach would be using
xdg-open instead of
xdg-email for opening mailto links in Chromium. First you have to confirm that
xdg-open email@example.com should open the default email client (Thunderbird in this case), just like
xdg-email firstname.lastname@example.org would.
xdg-open works, you can try out this tutorial from the Arch Forums:
Bare in mind that this is an old tutorial, so the provided information might be outdated or invalid (I didn’t test it).
$ xdg-email email@example.com xdg-email: no method available for opening 'mailto:firstname.lastname@example.org'
$ xdg-open email@example.com main.go:63: openFile: "firstname.lastname@example.org" main.go:70: stat /email@example.com: no such file or directory
I will investigate the info you provided. Thank you
This probably means that
xdg-open is trying to open this MIME type as a file or directory.
Maybe this will work:
Editing the xdg-email file worked for me, so this is a bug.
Using xdg-open works without changing any file, so it seems like a plausible fix for Chromium.
I fixed the bug myself upstream
Great work on that!
My first thought was something not working correctly in the
open_generic() function of the script, but obviously I was wrong.
I would suggest changing the solution to your latest post, this way it will be less confusing for users who read the topic.
No, as your response is the work-around
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
This is a follow up of this closed thread: https://forum.manjaro.org/t/deepin-desktop-chromium-xdg-email-no-method-available-for-opening-mailto/56737/12
Basically if you run
xdg-email "firstname.lastname@example.org in Manjaro Deepin and it gives you
xdg-email: no method available for opening 'mailto:'
what you should do is edit the file
/usr/bin/xdg-email and under the line "DEEPIN|Deepin|deepin)" change the variable "DE" to "gnome".
This fixed my issue.
What I want is for other users to not have to make this manual fix.
Have a good day
Sounds like a bug in DeepinDE which you should report to the developers?
As @es20490446e already mentioned, this issue was reported to freedesktop and deepin and the bug was fixed in commit 56991bc165577f011f9ad7ca721c5a5134710e33 in
Credit for the report and the fix belong to @es20490446e.
I think this fix will be included in the next release of
That has been several months ago, I will check that everything is fine with the updates.
Closed upstream without giving a reason. I have asked the closer.
Ah, sorry. I needed to flag the package instead.
Ummm, it seems that the problem is rather that the software takes plenty of time to see a stable release upstream.
I will talk with them about releasing more often.
The patch you wrote has an issue identified by one of the Deepin developers:
which you appear to have ignored, and then unsubscribed from your own bug report? Or is it fixed elsewhere?
Is there a patch set which represents the actual difference between 1.1.3 and the updated files?
The fixed it afterwards.
Which most likely won't have any consequences, because that was for supporting a very old Deepin. Unlikely to have a modern xdg-utils and a quite old deepin.
That's why I removed that to begin with.