Public bug reported: Binary package hint: xdg-utils
xdg-utils 1.0.1-2 on Ubuntu Gutsy When no desktop environment is detected, xdg-open falls back to a generic mechanism based on run-mailcap. This is rather limited as it depends on file extensions. It would seem better to use file or probably xdg-mime to choose how to open the file. The mime type could be fetched with: file --mime "$1" and extracted from the output and prepended to the filename before passing to run-mailcap. However, it looks to me like a better option would be to use xdg-mime, since xdg-mime query default "$1" will give you the default application to open the file. ** Affects: xdg-utils (Ubuntu) Importance: Undecided Status: New -- xdg-open should use xdg-mime instead of run-mailcap when no DE detected https://bugs.launchpad.net/bugs/220765 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs