Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- yad --center --width=440 --height=200 --borders=10 --title="antiX Android device mounter" \
- --image="/usr/share/icons/numix-square-antix/48x48/apps/distributor-logo-android.png" \
- --text=" 1- Connect your android device with your computer using a USB cable,\n 2- On the android device, select the 'MTP...' option (you may have to use a pulldown menu, it varies according the version of the OS your device uses) \n 3- Press the 'Ok' button on the bottom of this window. \n You'll then be able to navigate through your android device filesystems using a File Manager that will automatically open,\n The device is mounted under 'jmtpfs...' \n NOTE: Don't forget to 'unmount' the device when you are done, using the File Manager (clicking the jmtpfs and selecting 'unmount')" \
- #check of the folder where the android device exists. If not, create it.
- if [ ! -d "~/android-device" ]; then
- mkdir ~/android-device
- fi
- #mount the android device on the folder and open it on space-fm FileManager
- jmtpfs ~/android-device && spacefm ~/android-device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement