Mime-Types
如何添加 mimetype 綁定?
啟動“xdg-open”時收到錯誤消息,
No applications found for mimetype: inode/mount-point
我應該如何為“海豚”添加綁定?
我瀏覽了
xdg-open
原始碼,發現它用於xdg-mime
確定類型。man xdg-mime
顯示了default
設置要使用的應用程序的選項:xdg-mime default application mimetype(s) ... default Ask the desktop environment to make application the default application for opening files of type mimetype. An application can be made the default for several file types by specifying multiple mimetypes. application is the desktop file id of the application and has the form vendor-name.desktop application must already be installed in the desktop menu before it can be made the default handler. The aplication's desktop file must list support for all the MIME types that it wishes to be the default handler for.
有關這方面的更多資訊,請參閱相關的手冊頁。