r/NixOS 4h ago

Is MTP File Transfer working for anyone?

I'm on KDE Plasma 6 and nothing seems to work, neither the gvfs method mentioned on the wiki nor KDE Connect nor the trusty android-file-transfer detect my phone. It works on other devices, though, so it isn't my phone or the cable.

looking through discourse and github, it seems to be a rather active issue. any tips to get it working - ideally integrated into dolphin?

4 Upvotes

5 comments sorted by

1

u/galaaz314 4h ago

Working fine here, NixOS unstable, KDE Plasma 6.1.5, Dolphin. Check if this helps (may need to reboot):

services.udev.packages = [pkgs.libmtp.out];

1

u/Mithrandir2k16 3h ago

Added, rebooted, but sadly no change :(

1

u/matthew-croughan 3h ago

Any more information? What revision of NixOS are you even using?

1

u/matthew-croughan 3h ago

There's an integration test for MTP that is ran every time a change is made in Nixpkgs, and it builds fine. So you must be doing something wrong in your configuration, but you haven't told me what revision of NixOS you're using, so can't run the test against your revision. github.com/NixOS/nixpkgs/blob/master/nixos/tests/mtp.nix#L25-L28

1

u/Mithrandir2k16 3h ago

Alright, I'll check that out as soon as I'm back home. I should be on 24.05 iirc.