V2: Register as appstream:// handler so Plasma's "Uninstall or Manage Add-ons…" works with Package Installer
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
The launcher entry is the cachyos-pi.desktop file, which currently has only Exec=/usr/bin/cachyos-pi with no MimeType line and no %u field. Start by checking how the C++ entry point parses command-line arguments and how it opens a package's page, since an appstream:// URL has to be routed to that same page. Done means the desktop file declares x-scheme-handler/appstream, and launching the app with an appstream:// link opens the matching app page.
Written by the indexing model from the issue text.
Description
On Plasma, right-clicking an app in the launcher shows "Uninstall or Manage Add-ons…", but only if some installed app handles appstream:// links. Other stores like Shelly and Bazaar register for this (with Bazaar I think it only works for Flatpak apps), so the option shows up and opens the app's page in them.
Package Installer doesn't register for it. cachyos-pi.desktop only has Exec=/usr/bin/cachyos-pi, no MimeType and no %u. So if it's the only store installed, the option doesn't show up at all.
Would be great if Package Installer registered x-scheme-handler/appstream and opened the app's page when launched with an appstream:// link. Then people on KDE could use it from the launcher like any other store.
Side note: Plasma's /usr/share/applications/kde-mimeapps.list sets x-scheme-handler/appstream=org.kde.discover.urlhandler.desktop, so if Discover is installed it would still win. Maybe CachyOS could set cachyos-pi as the default in /etc/xdg/mimeapps.list once it supports the scheme.
Tested on CachyOS, Plasma 6.8.3, Package Installer 2.0.0.
- Dominant language
- C++
- Stars
- 43
- Forks
- 39
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CachyOS/packageinstaller
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CachyOS/packageinstaller#144 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
CachyOS/packageinstaller#133 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CachyOS/packageinstaller#76 ·
Maintainers usually reply within 1 day
-
SIGSEGV in ~QMessageBox on Plasma - native message dialog helper is used after freePossibly taken @wehrwolfmann claimed this 92 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
CachyOS/packageinstaller#68 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
CachyOS/packageinstaller#136 ·
Maintainers usually reply within 1 day
All issues in CachyOS/packageinstaller
Similar issues
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 82/100
TomerAberbach/profiler-md#951 ·
Maintainers usually reply within 1 day
-
[Bug] Default key routing (JavaStringHash) picks a different partition than the Java client for about half of keysPossibly taken @0z5a claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
apache/pulsar-client-go#1575 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pocoproject/poco#5764 ·
Maintainers usually reply within 2 days
-
bug cpp-core-guidelines low-priority
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
NatronGitHub/openfx-supportext#164 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day