首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何添加mimetype绑定?

如何添加mimetype绑定?
EN

Unix & Linux用户
提问于 2012-03-02 11:40:54
回答 2查看 1.4K关注 0票数 3

我在启动"xdg-open“时收到了一条错误消息,No applications found for mimetype: inode/mount-point

我应该如何增加“海豚”的装订?

EN

回答 2

Unix & Linux用户

回答已采纳

发布于 2012-03-02 16:37:33

我浏览了一下xdg-open源代码,发现它使用xdg-mime来确定类型。man xdg-mime显示了一个设置应用程序使用的default选项:

代码语言:javascript
复制
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.

有关此问题的更多信息,请参见相关的手册页。

票数 2
EN

Unix & Linux用户

发布于 2012-03-02 14:08:06

我不是100%确定,但我认为xdg依赖于您在DE的配置中设置的“文件类型”。我猜您在KDE上,所以打开KDE系统设置并指定文件类型。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/33217

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档