Bug 45604

Summary: xdg-email detectDE() subroutine not consistent with xdg-open
Product: Portland Reporter: David C <dc46and2>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.1.0 rc1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Add full DESKTOP_SESSION checking to xdg-email

Description David C 2012-02-03 22:34:04 UTC
Created attachment 56589 [details] [review]
Add full DESKTOP_SESSION checking to xdg-email

I know in some cases, there may be good reason for the inconsistency, but I think they should be the same with regards to handling the DESKTOP_SESSION environment variable.  

I'm using a combination of xfce components with Awesome WM, and I need to set DESKTOP_SESSION=xfce to get xdg-open to work properly.  After applying this patch, xdg-email will respect the same variable.  I basically just yanked and pasted from xdg-open.
Comment 1 Per Olofsson 2015-10-06 01:41:02 UTC
In later versions of xdg-utils, you can now simply set XDG_CURRENT_DESKTOP=XFCE.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.