xdg-open doesn't recognise Lubuntu's DESKTOP_SESSION value

Bug #795244 reported by bluearcus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)
New
Undecided
Julien Lavergne

Bug Description

Binary package hint: xdg-utils

Many applications rely upon xdg-open, particularly chromium, for opening folders in the DE. xdg-open looks for 'LXDE' as the DESKTOP_SESSION environment variable value to determine that an LXDE session is running, and that pcmanfm should be used as the default file manager.
Unfortunately, Lubuntu's package mantainers, in their wisdom, have arranged for the DESKTOP_SESSSION value to be set to 'Lubuntu', which is not recognised by the xdg-open script. xdg-open needs to recognise either value as symbolising an LXDE session, or alternatively, the Lubuntu maintainers need to revert to the standard LXDE value.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xdg-utils 1.1.0~rc1-2ubuntu3 [modified: usr/bin/xdg-open]
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Jun 9 21:01:17 2011
Dependencies:

InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Changed in xdg-utils (Ubuntu):
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
bluearcus (mike-miller-gmx) wrote :

This is not a duplicate of bug #779156.

#779156 has reported that chromium uses xdg-mail and xdg-mime incorrectly when in Lubuntu. Patches have been generated to fix the problem only in these two scripts.

In this bug, the problem is within xdg-open, when attempting to open a filesystem path using the filemanager. The same form of fix as in the other bug needs applying, but to xdg-open.

Please ensure the fix is also applied to xdg-open.

Revision history for this message
Julien Lavergne (gilir) wrote :

I tried xdg-open /tmp/ under Lubuntu, and /tmp/ is opened correctly in pcmanfm. If it's not related to bug #779156, it's probably fixed. If not, please provide a way to reproduce the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.