On Fri, 17 May 2013 13:18:17 -0500 "Timothy Pearson" kb9vqf@pearsoncomputing.net wrote:
Darrell, as our resident XDG/desktop file expert, any ideas on this one? ;-)
Took a while to investigate.
The xdg-open app is a shell script, part of xdg-utils. On Slackware the file is installed to /usr/bin.
The script offers no support for Trinity. Perusing the script indicates a poorly written script rather than anything robust. No error-checking or "idiot-proofing" at all. The script provides no optional methods of detecting the desktop. The presumed desktops are hard-coded and the "generic" functions are poorly written.
On my system anything I try to open wih xdg-open is opened in my default browser, Firefox.
I tested in KDE4 and everything works but only because KDE is one of the few supported desktops.
I have no idea why GIMP is opened. The user could edit xdg-open and add some echo statements to help debug.
Setting DE=kde doesn't work in my GIT setup. The reason is in GIT we changed the environment variables, but 3.5.13.x still uses KDE environment variables. Hence the partial success.
Other than submitting a patch for xdg-open to upstream I doubt there is little we can do.
Darrell