2021年7月21日 星期三

How to manage your Arch default Apps.

How to manage your Arch default Apps.

  1. install xdg-utils
  2. use the xdg-mime

Determine a file's MIME type:
$ xdg-mime query filetype photo.jpeg
image/jpeg

Determine the default application for a MIME type:
$ xdg-mime query default image/jpeg
gimp.desktop

Change the default application for a MIME type:
$ xdg-mime default feh.desktop image/jpeg


沒有留言:

Powered By Blogger