Bug 499635

Summary: Allow disabling auto mounting of MTP device
Product: [Plasma] plasmashell Reporter: llyyr
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: elvis.angelaccio, goeran, kde, kdedev, sitter
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=412257
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description llyyr 2025-02-07 06:52:19 UTC
There are a number of open issues with MTP module for kio-extras that aren't progressing, in the mean time allow disabling auto mounting of MTP devices so users can use other tools to handle mounting MTP devices.

kio-extras auto mounting causes the device to be inaccessible to the rest of the system, and the only workaround is to kill some processes every time before plugging in a device or uninstall kio-extras for a permanent solution, which is not ideal.
Comment 1 Harald Sitter 2025-02-07 13:30:07 UTC
Plasma causes this. Like I mentioned in #412257 this isn't actually trivial to change though, it's the mere act of enumerating devices that causes the exclusive lock.
Comment 2 David Edmundson 2025-02-12 12:49:38 UTC
Adding an option won't help though.
Comment 3 llyyr 2025-02-12 13:24:01 UTC
(In reply to David Edmundson from comment #2)
> Adding an option won't help though.

Why not? I understand that it's not a trivial change but all I want to do is make kio-extras not bother with MTP devices at all. (fwiw I worked around it by just building kio-extras without libmtp installed, so the feature isn't enabled which is sufficient for me).

Or if it's an easier change, then it would be better if it mounted the device to a location I can access from the terminal. The way it's mounted currently it's only accessible from Dolphin, and I can't rsync it.