From b30ca36fbdc3abd5412ed4dc092510471bc606b6 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Mon, 8 Aug 2022 13:32:17 +0300 Subject: [PATCH] add more MIME types for chromium --- plasma5/XDG_CONFIG_DIRS/mimeapps.list | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plasma5/XDG_CONFIG_DIRS/mimeapps.list b/plasma5/XDG_CONFIG_DIRS/mimeapps.list index d9429bd..227304a 100644 --- a/plasma5/XDG_CONFIG_DIRS/mimeapps.list +++ b/plasma5/XDG_CONFIG_DIRS/mimeapps.list @@ -1,5 +1,11 @@ [Default Applications] -inode/directory=kf5-org.kde.dolphin.desktop; +# grep ^MimeType /usr/share/applications/chromium.desktop | sed 's/MimeType=//g' | tr ';' '\n' | sort -u | while read -r line; do echo $line=chromium.desktop; done +application/xhtml+xml=chromium.desktop +text/html=chromium.desktop +text/mml=chromium.desktop +text/xml=chromium.desktop +x-scheme-handler/http=chromium.desktop +x-scheme-handler/https=chromium.desktop x-scheme-handler/http=chromium.desktop; x-scheme-handler/https=chromium.desktop; x-scheme-handler/mailto=thunderbird.desktop;