Support different variants of names of LibreOffice desktop files

p11 2.5-alt1
Mikhail Novosyolov 2 years ago
parent f384e77aaa
commit 35df722dd8
  1. 8
      mos-xdg.spec
  2. 23
      plasma5/XDG_CONFIG_DIRS/mimeapps.list

@ -5,7 +5,7 @@ Summary: XDG desktop settings for M OS distros
Summary(ru): Настройки рабочего окружения дистрибутивов М ОС Summary(ru): Настройки рабочего окружения дистрибутивов М ОС
License: GPL-3.0 License: GPL-3.0
Group: Graphical desktop/Other Group: Graphical desktop/Other
Version: 2.4 Version: 2.5
Release: alt1 Release: alt1
Source0: %name-%version.tar Source0: %name-%version.tar
Source1: COPYING Source1: COPYING
@ -109,6 +109,12 @@ cd scripts
./test.sh ./test.sh
%changelog %changelog
* Thu Feb 16 2023 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.5-alt1
- Support different variants of names of LibreOffice desktop files:
+ xxx.desktop
+ LibreOffice-xxx.desktop
+ libreoffice-xxx.desktop
* Thu Jan 26 2023 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.4-alt1 * Thu Jan 26 2023 Mikhail Novosyolov <mikhailnov@altlinux.org> 2.4-alt1
- Return the preview to the Dolphin panel (by tema@) - Return the preview to the Dolphin panel (by tema@)
After updating KDE, the button preview disappeared in the Dolphin After updating KDE, the button preview disappeared in the Dolphin

@ -10,27 +10,28 @@ x-scheme-handler/http=chromium.desktop;
x-scheme-handler/https=chromium.desktop; x-scheme-handler/https=chromium.desktop;
x-scheme-handler/mailto=thunderbird.desktop; x-scheme-handler/mailto=thunderbird.desktop;
# Prefer R7 or OnlyOffice and fallback to LibreOffice # Prefer R7 or OnlyOffice and fallback to LibreOffice
# Different versions of LibreOffice may have either LibreOffice-xxx.desktop or libreoffice-xxx.desktop or xxx.desktop
# *.csv # *.csv
text/csv=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; text/csv=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-calc.desktop;LibreOffice-calc.desktop;calc.desktop;
# *.doc # *.doc
application/msword=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop application/msword=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-writer.desktop;LibreOffice-writer.desktop;writer.desktop;
# *.rtf # *.rtf
application/rtf=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop application/rtf=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-writer.desktop;LibreOffice-writer.desktop;writer.desktop;
# *.xls # *.xls
application/vnd.ms-excel=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; application/vnd.ms-excel=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-calc.desktop;LibreOffice-calc.desktop;calc.desktop;
# *.xlsx # *.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop
# *.xltx # *.xltx
application/vnd.openxmlformats-officedocument.spreadsheetml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; application/vnd.openxmlformats-officedocument.spreadsheetml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-calc.desktop;LibreOffice-calc.desktop;calc.desktop;
# *.docx # *.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop; application/vnd.openxmlformats-officedocument.wordprocessingml.document=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-writer.desktop;LibreOffice-writer.desktop;writer.desktop;
# *.dotx # *.dotx
application/vnd.openxmlformats-officedocument.wordprocessingml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop; application/vnd.openxmlformats-officedocument.wordprocessingml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-writer.desktop;LibreOffice-writer.desktop;writer.desktop;
# *.ppt # *.ppt
application/vnd.ms-powerpoint=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; application/vnd.ms-powerpoint=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-impress.desktop;LibreOffice-impress.desktop;impress.desktop;
# *.pptx # *.pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; application/vnd.openxmlformats-officedocument.presentationml.presentation=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-impress.desktop;LibreOffice-impress.desktop;impress.desktop;
# *.ppsx # *.ppsx
application/vnd.openxmlformats-officedocument.presentationml.slideshow=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; application/vnd.openxmlformats-officedocument.presentationml.slideshow=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-impress.desktop;LibreOffice-impress.desktop;impress.desktop;
# *.potx # *.potx
application/vnd.openxmlformats-officedocument.presentationml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; application/vnd.openxmlformats-officedocument.presentationml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;libreoffice-impress.desktop;LibreOffice-impress.desktop;impress.desktop;

Loading…
Cancel
Save