From a28fbe91c0243bb4b2cad46c204e64cbc39e5afe Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 18 Jun 2022 15:23:48 +0200 Subject: [PATCH] expand xdg --- system/xdg.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/system/xdg.md b/system/xdg.md index cd15931..a59a623 100644 --- a/system/xdg.md +++ b/system/xdg.md @@ -1,11 +1,13 @@ --- title: "xdg" -tags: [ "Documentation", "System" ] +tags: [ "Documentation", "Defaults", "System" ] --- +Tab is your friend. + What filetype is this file? -> xdg-mime query filetype aif.pdf +> xdg-mime query filetype *somefile.pdf* `application/pdf` @@ -13,3 +15,7 @@ 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 +