我在启动"xdg-open“时收到了一条错误消息,No applications found for mimetype: inode/mount-point。
我应该如何增加“海豚”的装订?
发布于 2012-03-02 16:37:33
我浏览了一下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.有关此问题的更多信息,请参见相关的手册页。
发布于 2012-03-02 14:08:06
我不是100%确定,但我认为xdg依赖于您在DE的配置中设置的“文件类型”。我猜您在KDE上,所以打开KDE系统设置并指定文件类型。
https://unix.stackexchange.com/questions/33217
复制相似问题