FS#23550 - [xdg-utils] Problem with xdg-open

Attached to Project: Arch Linux
Opened by Jacek Wojtkowski (jacek2v) - Friday, 01 April 2011, 20:14 GMT
Last edited by Jan de Groot (JGC) - Saturday, 02 April 2011, 11:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
xdg-open not working well in XFCE Desktop Environment.
Examples:
xdg-open /usr/bin/ - opens directory in web browser
xdg-open document.doc - opens document in web browser


Additional info:
xdg-utils 1.1.0rc1-1

Solution (from here https://bbs.archlinux.org/viewtopic.php?pid=900042#p900042 by mtasic85):
File "/usr/bin/xdg-open" has some old lines for detecting XFCE session. Detection is done by:
elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
However, it doesn't work, so change it to:
elif [ x"$DESKTOP_SESSION" == x"xfce" ]; then DE=xfce;


Could you apply this solution?
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 02 April 2011, 11:59 GMT
Reason for closing:  Duplicate
Additional comments about closing:  See  bug 22848 

Loading...