Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cirrusUK/b0721439750a1cbb90bf to your computer and use it in GitHub Desktop.
Save cirrusUK/b0721439750a1cbb90bf to your computer and use it in GitHub Desktop.
best and most stable method ive found for mounting android devices is the 'simple-mtpfs' package
#!/bin/bash
notify-send -i ~/.icons/s4.png "Mounting Android Device" " Samsung Galaxy S4 Mounted " && simple-mtpfs /media/s4
mpg123 ~/sonar.mp3
#!/bin/bash
notify-send -i ~/.icons/s4.png "Unmounting Android Device" " Samsung Galaxy S4 Unmounted " && fusermount -u /media/s4
mpg123 ~/sonar.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment