Repository navigation
fix(diagnostics): warn when KDE's MTP service competes for phones - #2523
Merged
Merged
Conversation
On KDE Plasma, kio-extras' MTP daemon (org.kde.kmtpd5, hosted by kiod6) and gvfs-mtp both claim an Android phone at plug-in, and the loser sees it with no storage. The MTP diagnostic now warns when the GVfs backend is installed and that service is owned or activatable on the session bus, and the README's "Connecting phones" section explains the conflict and the pkill -x kiod6 workaround. The Diagnostics message lookup is split into formatted messages and a fixed-sentence table to keep the function small.
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On KDE Plasma, kio-extras' MTP daemon (
org.kde.kmtpd5, which runs insidekiod6) andgvfs-mtpboth try to claim an Android phone when it is plugged in. Whichever loses sees the phone with no storage. Strata then shows an empty volume, or Dolphin tells the user to tap Allow on the phone.org.kde.kmtpd5is owned or activatable on the session bus. kio-extras installs that D-Bus service file on every distribution, so the check doesn't depend on plugin paths.pkill -x kiod6workaround (kiod5on Plasma 5).Visual evidence
N/A: agents can't upload attachments. The only visible change is one new warning message on the MTP row in Settings → Diagnostics.
How to test
kio-extrasandgvfs-mtpinstalled, open Settings → Diagnostics and select Run.pkill -x kiod6, and plug it back in.Expected result: The MTP row shows a warning that KDE's MTP service is also installed, with the workaround. Without kio-extras, or on a desktop without it, the row still passes. After the workaround, Strata lists the phone's Internal storage.
Related issue
Closes #2418