Ask Your Question
2

Folder opening in terminal but not in Nautilus File Manager

asked 2013-01-06 09:26:35 -0600

addnab gravatar image

updated 2013-01-06 09:27:26 -0600

I've mounted my Android Device(Samsung Galaxy S2) that uses MTP Filesystem on /mnt/GS2 using the command

mtpfs -o allow_other /mnt/GS2/

The Folder has two directories Playlists/ and Internal Storage/. Playlists/ is empty and i can click into in using Nautilus. But when i click on Internal Storage/, it opens /mnt/GS2/ in a separate window. It does the same every time i click it. I'm not able to get into Internal Storage/.

But when I cd into it using the terminal, I have no problem. I can view all the internals.

I've changed the permission to 777 but still the same.

Working with terminal is no big deal but i want to browse my phone quickly using Nautilus.

I Appreciate your help. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-06 09:59:21 -0600

addnab gravatar image

updated 2013-02-09 05:13:48 -0600

hhlp gravatar image

I finally got MTP to work. Here is the link to the solution if anybody wants to access the MTP filesystem.

  1. Install requirement

    sudo yum install gcc-c++ fuse-devel libmtp-devel glib-devel glib2-devel file-devel

  2. Installing libMTP

    • Download the latest version of libmtp and extract it to your home directory. For this example, it will be ~/libmtp-1.1.5
 `# cd ~/libmtp-1.1.5`
 `# ./configure`
 `# make`
 `# sudo make install`
  1. Installing jmtpfs
 `# cd'
 '# wget http://research.jacquette.com/wp-content/uploads/2012/05/jmtpfs-0.3.tar.gz'
 '# tar xfvz jmtpfs-0.3.tar.gz jmtpfs-0.3'
 '# cd jmtpfs-0.3'
 '# ./configure'
 '# cd src'
 '# make'
 '# sudo make install`
  1. Allowing other with fuse

    Edit the file /etc/fuse.conf and uncomment the line

    # user_allow_other

    to

    user_allow_other

  2. Mounting the phone !

    Now we are ready to mount the phone. Make sure your Samsung Galaxy S3 is connected with a usb cable

 `# mkdir ~/Samsung_Galaxy_S3`
 `# jmtpfs -o allow_other ~/Samsung_Galaxy_S3   (this can take some time (1-2 minutes for me) `

You may have a warning after the last command, I get this:

 `PTP_ERROR_IO: failed to open session, trying again after resetting USB interface`
 `LIBMTP libusb: Attempt to reset device`

Just ignore it.

You are now ready.

# cd ~/Samsung_Galaxy_S3
# ls
Phone
# cd Phone
# ls
Alarms       DCIM      Movies         PicSpeed Wallpapers  Ringtones
Android      Download  Music          Pictures             samsungapps
Application  media     Notifications  Podcasts

For unmounting the phone, be sure closing applications that are in the new mount directory (this include terminal)

`fusermount -u ~/Samsung_Galaxy_S3`

Thats it !

edit flag offensive delete link more

Comments

Please, can you include the essential parts of the linked article in your answer, and provide the link for reference. Failing to do that leaves the answer at risk from link rot and deletion.

Jomoos gravatar imageJomoos ( 2013-01-11 01:26:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-01-06 09:26:35 -0600

Seen: 3,359 times

Last updated: Feb 09 '13