Need an xdg-email wrapper, similar to the xdg-open one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
James Henstridge |
Bug Description
The chromium snap has some magic to symlink /usr/bin/xdg-email to /usr/bin/xdg-open to work around bug #1849774. This is because chromium invokes xdg-email when a mailto: hyperlink is clicked.
That magic works in most cases because xdg-open generally knows how to handle mailto: links, but apparently there are corner cases where it doesn't, which is why xdg-email should be used (see https:/
I suppose chromium is not an isolated case, other applications might want to call xdg-email to offer users to compose a new e-mail with their preferred e-mail client.
Can snapd expose an xdg-email wrapper (that would accept only mailto: links), similar to the existing xdg-open wrapper?
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → James Henstridge (jamesh) |
Without knowing more about the problem, would using the existing xdg-open program for xdg-mail? Currently the xdg-open program inside snap mount namespace does support mailto: URL scheme. Could we simply provide a symlink from xdg-mail to xdg-open?