I plugged my Android 15 phone up to my Ubuntu 24.04 computer and I enter the terminal and I want to be able to access files on my phone like the media and music folders through the terminal... is this possible?
3 Answers
As mentioned by sudodus, in Edit 2 of this answer it's mentioned
find /run/user/*/gvfs -maxdepth 1 -name 'mtp:*'
Which actually does work for me once I used my login user. I was searching the /run folder using root user which for some reason cannot find this. How a root user has less permissions than my login user is still a mystery, but that seems to be the root cause for this not working.
- 398
- 1
- 4
- 18
I use KDE Connect on my Android phone and GSConnect on my Ubuntu PC. You can send/receive files get phone notifications on your PC Screen and even use the phone as a wireless track pad/mouse.
Works well on my setup which is Ubuntu 24:04:01 LTE on a Sony Vaio Tap 11 and Moto G4 Android phone.
With a fairly minimal install of Ubuntu, you may need to first explicitly install the gvfs-backends package, which includes the GVFS-MTP integration needed for Android:
sudo apt install gvfs-backends
- 141