Okay, I give up… how to connect my (Android) phone properly (MTP)?

Petter Adsen petter at synth.no
Mon Aug 3 07:08:18 UTC 2015


On Sun, 2 Aug 2015 18:36:31 +0200
Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
> So I did my own workaround. Now, since I'm not very good at this, I would
> just ask here to see if anybody have a better idea or if anyone can tell me
> why I shouldn't do this and what I should do instead.
> 
> So what I did, was a Bash script that looks for the phone every ten
> seconds. If it is found, a soft link to it is created at ${HOME}, called ”
> Nexus” (yes, this script only works with Nexus phones and only for one at a
> time, which is okay with me but maybe not so okay with others).

The only idea I can come up with is to write a udev rule to mount the
phone (or create the link) when it is connected. Better than running
the script every ten seconds.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150803/19a48621/attachment.sig>


More information about the ubuntu-users mailing list