[Default Applications] # 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; # Prefer R7 or OnlyOffice and fallback to LibreOffice # *.csv text/csv=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; # *.doc application/msword=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop # *.rtf application/rtf=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop # *.xls application/vnd.ms-excel=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; # *.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop # *.xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;calc.desktop; # *.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop; # *.dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;writer.desktop; # *.ppt application/vnd.ms-powerpoint=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; # *.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; # *.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop; # *.potx application/vnd.openxmlformats-officedocument.presentationml.template=r7-office-desktopeditors.desktop;onlyoffice-desktopeditors.desktop;impress.desktop;