From 97558c5da58027af7478ad9c442f4eb8d1edeafb Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Tue, 26 Apr 2022 15:30:53 +0300 Subject: [PATCH] Add MIME list, 2.1-alt1 --- mos-xdg.spec | 8 ++++++-- plasma5/XDG_CONFIG_DIRS/mimeapps.list | 11 +++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 plasma5/XDG_CONFIG_DIRS/mimeapps.list diff --git a/mos-xdg.spec b/mos-xdg.spec index ca52166..1b45d67 100644 --- a/mos-xdg.spec +++ b/mos-xdg.spec @@ -5,7 +5,7 @@ Summary: XDG desktop settings for M OS distros Summary(ru): Настройки рабочего окружения дистрибутивов М ОС License: GPL-3.0 Group: Graphical desktop/Other -Version: 2.0 +Version: 2.1 Release: alt1 Source0: %name-%version.tar Source1: COPYING @@ -73,7 +73,7 @@ KDE 5 desktop settings for classic variant of M OS /etc/xdg/mos/kcminputrc /etc/xdg/mos/kdeglobals /etc/xdg/mos/kxkbrc -/etc/xdg/mos/powermanagementprofilesrc +/etc/xdg/mos/mimeapps.list %dir /usr/share/mos/kxmlgui5 %dir /usr/share/mos/kxmlgui5/dolphin %dir /usr/share/mos/kservices5 @@ -111,6 +111,10 @@ cd scripts ./test.sh %changelog +* Tue Apr 26 2022 Mikhail Novosyolov 2.1-alt1 +- Delete power settings: not valid for newer KDE (by tema@) +- Add MIME associations (by tema@) + * Tue Apr 26 2022 Mikhail Novosyolov 2.0-alt1 - Rename from Kometa to M OS (Moscow OS) - Drop pam-env hackery due to being useless (icons are reliably replaced by a filetrigger) diff --git a/plasma5/XDG_CONFIG_DIRS/mimeapps.list b/plasma5/XDG_CONFIG_DIRS/mimeapps.list new file mode 100644 index 0000000..7d3b7d2 --- /dev/null +++ b/plasma5/XDG_CONFIG_DIRS/mimeapps.list @@ -0,0 +1,11 @@ +[Added Associations] +inode/directory=kf5-org.kde.dolphin.desktop; +x-scheme-handler/http=chromium.desktop; +x-scheme-handler/https=chromium.desktop; +x-scheme-handler/mailto=thunderbird.desktop; + +[Default Applications] +inode/directory=kf5-org.kde.dolphin.desktop; +x-scheme-handler/http=chromium.desktop; +x-scheme-handler/https=chromium.desktop; +x-scheme-handler/mailto=thunderbird.desktop;