[Desktop-packages] [Bug 1395114] Re: xdg-open doesn't use desktop file to open image/jpeg files

2015-02-05 Thread Thaddaeus Tintenfisch
*** This bug is a duplicate of bug 1388922 *** https://bugs.launchpad.net/bugs/1388922 ** This bug has been marked a duplicate of bug 1388922 xdg-open doesn't properly detect XFCE DE -- You received this bug notification because you are a member of Desktop Packages, which is subscribed

[Desktop-packages] [Bug 1395114] Re: xdg-open doesn't use desktop file to open image/jpeg files

2014-11-21 Thread Paulo Marcel Coelho Aragão
Correcting myself: xdg-open IS using the correct desktop file for image/jpeg files, but it's getting the command name to exec and ignoring any other arguments present in the desktop file Exec field. -- You received this bug notification because you are a member of Desktop Packages, which is

[Desktop-packages] [Bug 1395114] Re: xdg-open doesn't use desktop file to open image/jpeg files

2014-11-21 Thread Paulo Marcel Coelho Aragão
I've just discovered that xdg-open is not detecting xfce as the desktop, at this line: elif xprop -root _DT_SAVE_MODE 2 /dev/null | grep ' = \xfce4\$' /dev/null 21; then DE=xfce; As it doesn't detect the desktop, it uses open_generic_xdg_mime() which indeed picks up only the first word from