Skip to content

Instantly share code, notes, and snippets.

@nlamirault
Created July 25, 2014 09:16
Show Gist options
  • Save nlamirault/4fd54628534d4db55584 to your computer and use it in GitHub Desktop.
Save nlamirault/4fd54628534d4db55584 to your computer and use it in GitHub Desktop.
Arch Linux / Android MTP / Nexus 4
* Install android-udev package from AUR
* Install go-mtpfs package from AUR
* Add fuse group if you don’t have it already:
$ groupadd fuse
* Add yourself to fuse group
$ gpasswd -a YOURLOGIN fuse
* Create mounting directory
$ mkdir /media/nexus
$ chown YOURLOGIN /media/nexus
* Create aliases to allow quick mounting. This needs to go to your ~/.bashrc file
$ alias android-connect="go-mtpfs /media/nexus"
$ alias android-disconnect="sudo umount /media/nexus"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment