lk/system/xdg.md
2022-06-18 15:23:48 +02:00

367 B

title tags
xdg
Documentation
Defaults
System

Tab is your friend.

What filetype is this file?

xdg-mime query filetype somefile.pdf

application/pdf

Make application/pdf open with zathura as default:

xdg-mime default org.pwmt.zathura.desktop application/pdf

Ask what happens with a filetype:

xdg-mime query default audio/mp3