FS#79944 - Installation of libreoffice may make its writer to be the standard application for plain text files

Attached to Project: Arch Linux
Opened by Gerhard (gerhard) - Friday, 13 October 2023, 08:37 GMT
Last edited by Toolybird (Toolybird) - Friday, 13 October 2023, 21:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The installation of LibreOffice (in my case the libreoffice-still package version 7.5.7-2) updates /usr/share/applications/mimeinfo.cache the following way:

Before the installation:
application/pdf=chromium.desktop;
text/plain=org.xfce.mousepad.desktop;vim.desktop;

After the installation:
application/pdf=chromium.desktop;libreoffice-draw.desktop;
text/plain=libreoffice-writer.desktop;org.xfce.mousepad.desktop;vim.desktop;

Expected entry for text/plain after the installation:
text/plain=org.xfce.mousepad.desktop;vim.desktop;
or maybe
text/plain=org.xfce.mousepad.desktop;vim.desktop;libreoffice-writer.desktop;

Explanation:
Almost nobody edits or views his plain text files with LibreOffice Writer. As desktop managers may use the first entry to be the standard application for opening the file, putting the entry at the end of the list (as the installation does for pdf) is the better choice, if libreoffice should appear in text/plain at all.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 13 October 2023, 21:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Use the configuration options
Comment by Antonio Rojas (arojas) - Friday, 13 October 2023, 09:24 GMT
Arch doesn't do any configuration at all regarding mime types. It's the user's job to set their preferred default applications.

Loading...