FS#29967 - xdg-utils 1.1.0-0.20120520 breaks xdg-open in XFCE
Attached to Project:
Arch Linux
Opened by Slavi Pantaleev (s.pantaleev) - Monday, 21 May 2012, 15:40 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 22 May 2012, 04:30 GMT
Opened by Slavi Pantaleev (s.pantaleev) - Monday, 21 May 2012, 15:40 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 22 May 2012, 04:30 GMT
|
Details
Description:
The xdg-utils 1.1.0-0.20120520 release drops the xfce-detection.diff patch, because detection is supposedly fixed upstream. Back on 1.1.0rc1-3, `xdg-open http://example.com/` obeys the settings set by exo-preferred-applications and opens chromium for me. With 1.1.0-0.20120520 xdg-open fails for URLs and always opens firefox, even though I have chromium set as my default browser everywhere I know of (gconf settings, ~/.local/share/applications/mimeapps.list, ~/.local/share/xfce4/helpers/custom-WebBrowser.desktop). `xdg-settings get default-web-browser` returns an error: "xdg-settings: unknown desktop environment" no matter which of these versions of xdg-utils is installed. Steps to reproduce: 1. Install xdg-utils 1.1.0-0.20120520 2. Set chromium as a default browser from exo-preferred-applications 3. Execute `xdg-open http://example.com/` in a terminal 4. Observe that firefox gets started instead of chromium |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 22 May 2012, 04:30 GMT
Reason for closing: Not a bug
Additional comments about closing: don't miss to install optional deps!
Tuesday, 22 May 2012, 04:30 GMT
Reason for closing: Not a bug
Additional comments about closing: don't miss to install optional deps!
But I'd prefer if you bring this upstream to the xdg list or its category on the freedesktop.org tracker.
@Slavi: What does 'xprop -root 2>/dev/null' output on your machine?
@Andreas: https://bugs.freedesktop.org/show_bug.cgi?id=25941 looks relevant to this issue.
_DT_SAVE_MODE(STRING) = "xfce4"
That's after I installed xorg-xprop, which I didn't have until now.
I found out that on 1.1.0-0.20120520 if I have xprop available, everything is fine.
Things work on 1.1.0rc1-3 without it too.
xorg-xprop is an optional dependency of xdg-utils, along with exo-open (both for Xfce support.)
Easy to miss, but I believe this can be closed as "not a bug."
Maybe the xfce wiki page should be updated to mention xorg-xprop?