xdg-email does not detect LXDE in Lubuntu mailto: URIs in chromium handled poorly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdg-utils (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: xdg-utils
xdg-email is supposed to detect various desktop environments including LXDE and uses this to decide how best to send an email.
In Lubuntu 11.04 (and in 10.10) this is not working as expected.
In consequence, mailto: URIs in chromium are handled incorrectly and instead of an email client being launched, an additional copy of chromium is launched, which does not help the user send an email.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xdg-utils 1.1.0~rc1-2ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat May 7 11:30:25 2011
Dependencies:
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in xdg-utils (Ubuntu): | |
status: | New → Confirmed |
Changed in xdg-utils (Ubuntu): | |
status: | Confirmed → Fix Committed |
importance: | Undecided → Wishlist |
The detectDE function in /usr/bin/xdg-email checks for $DESKTOP_SESSION being "LXDE".
In Lubuntu, this check fails, because $DESKTOP_SESSION is "Lubuntu" and $XDG_CURRENT_ DESKTOP is "LXDE".
A patch to test $XDG_CURRENT_ DESKTOP seems appropriate and is under construction.
Once this works, a further small patch to xdg-email may be required to have it launch an appropriate client in LXDE...