MIMEタイプのバインディングを追加するには?

MIMEタイプのバインディングを追加するには?

「xdg-open」を起動するとエラーメッセージが表示されます。 No applications found for mimetype: inode/mount-point

「イルカ」バインディングをどのように追加するのですか?

ベストアンサー1

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.

これについて詳しくは、関連マニュアルページを参照してください。

おすすめ記事