When I connected my phone, set it to MTP mode and opened Thunar (or any file manager), my phone appears on the left panel. It's not mounted, which I can see in a terminal:
~ $ cd /run/user/$UID/gvfs gvfs $ LC_ALL=C ll total 0 gvfs $
When clicking the phone icon in Thunar the phone is mounted:
gvfs $ LC_ALL=C ll total 0 dr-x------ 1 $USER $USER 0 1970-01-01 01:00 mtp:host=PhoneBrand_PhoneModel_AHexNumber
My questions are:
- How can I make my phone mount automatically when it's plugged in and set to MTP mode?
- How can I mount the phone from the terminal? I guess the mount command won't do, since this is a phone and not a hard drive or similar. I've found a lot of guides on how to mount smartphones, but none so far on how to mount smartphones in a terminal.