Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926412 - kde-plasma/plasma-desktop: install Gentoo-customized mimeapps.list
Summary: kde-plasma/plasma-desktop: install Gentoo-customized mimeapps.list
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL: https://mail.kde.org/pipermail/distri...
Whiteboard:
Keywords:
Depends on:
Blocks: 926410 926828
  Show dependency tree
 
Reported: 2024-03-07 16:29 UTC by Sam James
Modified: 2024-04-12 09:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 16:29:39 UTC
See https://mail.kde.org/pipermail/distributions/2024-February/001480.html.

"""
In plasma 6 we are moving away from the KDE-specific InitialPreference
keys in desktop files [1] and instead install a mimeapps list [2] as
per [3]. You'll want to make sure that you install suitable
mimeapps.list(s) to set up things correctly for 3rd party apps such as
libreoffice.

[1] https://invent.kde.org/frameworks/kservice/-/merge_requests/181
[2] https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2030
[3] https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html
"""
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 16:53:51 UTC
Fedora did https://pagure.io/fedora-kde/SIG/issue/455.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 16:54:49 UTC
Note that kde-plasma/plasma-desktop currently installs its own with upstream preferences that we should either drop or override via /etc/xdg. Probably the latter.
Comment 3 Mart Raudsepp gentoo-dev 2024-04-02 18:14:04 UTC
See also https://github.com/mgorny/mimelist-gen that lets you feed it a list of your preferred desktop files, spitting out the ${XDG_MENU_PREFIX}mimeapps.list (or was it ${XDG_SESSION_DESKTOP}-mimeapps.list ?) from it. Should allow multiple apps per MIME type based on the desktop files order.