[Portland-bugs] [Bug 89902] xdg-open does not exit if it does not recognize the mimetype

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 4 08:50:04 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89902

--- Comment #2 from Rex Dieter <rdieter at math.unl.edu> ---
Interestingly,

$ DE="generic" XDG_CURRENT_DESKTOP="" xdg-open index.html#test
xdg-mime: file 'index.html#test' does not exist
xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.

but then it opens the file ok in firefox for me.


In KDE, I get an error:
The file or folder ".../index.html#test" does not exist.
(the same error as if I run by hand:
kde-open index.html#test
)

but as per my initial comment, Qt/KDE is picky about URIs, it insists you give
a protocol (ie, file://)

Either way, there's still a problem with xdg-mime failing somewhere here, I'll
see if I can find more what's going on there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150404/82c9427e/attachment.html>


More information about the Portland-bugs mailing list