#455 mimeapps.list for plasma 6
Closed: Fixed by aleasto. Opened by aleasto.

https://mail.kde.org/pipermail/distributions/2024-February/001480.html

We already ship /usr/share/applications/kde-mimeapps.list in kde-settings: https://pagure.io/fedora-kde/kde-settings/blob/rawhide/f/usr/share/applications/kde-mimeapps.list

Do we switch over to upstream's one? One thing that jumps out from that list is that haruna is the default video player while we only ship dragon preinstalled


I'm not excited about Haruna by default, especially since now we have the VLC backend and Dragon is... fine now.

Metadata Update from @aleasto:
- Issue set to the milestone: KDE Plasma 6.0

We've decided what we're going to do here:

Our version of this file will be rebased on the upstream one, with the following changes:

  • ADD defaults for LibreOffice
  • REPLACE the Falkon default with Firefox
  • REPLACE the Haruna default with Dragon
  • REPLACE the Debian package association for Discover with an RPM package association

We will ensure the upstream file is deleted during packaging in plasma-desktop so no file conflict is generated.

@aleasto volunteered to take care of this, so I'm assigning it to him.

Metadata Update from @ngompa:
- Issue assigned to aleasto
- Issue tagged with: easyfix, experience

LibreOffice already has defaults set in /usr/share/applications/mimeapps.list (which should be desktop-agnostic but in reality has a bunch of gnome stuff in it)

How about we keep upstream's config at /usr/share/applications/kde-mimeapps.list and we overlay our changes in /usr/share/kde-settings/kde-profile/default/xdg/kde-mimeapps.list? (see: https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html)

We need the debian association deleted, potentially it should be deleted upstream too.

Indeed i'll propose that upstream and in the meantime probably associate deb files to ark?

Yes that makes sense.

Insofar as doing overlay changes, please test to make sure that works. I'm not sure whether it works as expected, given how unpredictable some of this stuff is.

Metadata Update from @aleasto:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

@marcdeop ok so we're keeping /usr/share/applications/kde-mimeapps.list from plasma-desktop, and instead we should add a Conflicts: kde-settings < 39.1-7

Metadata