[Portland-bugs] [Bug 25941] New: xdg-open does not detect xfce
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 7 08:41:26 PST 2010
http://bugs.freedesktop.org/show_bug.cgi?id=25941
Summary: xdg-open does not detect xfce
Product: Portland
Version: unspecified
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: leon+freedesktop at darkk.net.ru
Created an attachment (id=32508)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32508)
better logic for DE detection
I use xdg-utils-1.0.2, xfce-4.6.1 and xdg-open does not detect XFCE properly.
xdg-open uses following logic:
> if xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
and, if I run xprop, I see following:
$ xprop -root _DT_SAVE_MODE
_DT_SAVE_MODE: no such atom on any window.
I've written trivial patch, that works for me, it's attached.
I added some logic for gnome as every gnome installation I see has following
environment variable:
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
Also, I am not sure if additional logic for KDE makes sense.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list