Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a canon PowerShot A3100 IS camera, and, as written in the title, I wanted to know where does the automount mount it when I connect it.

Does anyone know ?

thank you,

share|improve this question
    
You can use the card reader and find the files at its mountpoint(If automounted, somewhere in /media) –  hexafraction Jul 16 '12 at 14:49

5 Answers 5

up vote 3 down vote accepted

Assuming your camera connects over PTP, GPhoto will be responsible for the data transfers. I guess the ~/.gvfs directory will contain a virtual folder pointing to your camera.

share|improve this answer
1  
Of course you can, it's in your home folder. –  Cumulus007 Jul 16 '12 at 15:05
    
But you can't access that folder from terminal. Accessing it from file manager is the same as you see in my image above. –  Mitch Jul 16 '12 at 15:09
    
In Ubuntu, PTP cameras are handled by gvfs, which calls libgphoto in the background. So, you can find a virtual folder representing your MTP camera in ~/.gvfs, it really is that simple. –  Cumulus007 Jul 16 '12 at 15:18
    
I know what you're saying. Try accessing the folder from terminal an see :) –  Mitch Jul 16 '12 at 15:20
    
Thank you very much, that's what I was searching for ! –  Sam Jul 17 '12 at 7:45

With Ubuntu 12.10 I didn't have any luck with ~/.gvfs... However, I'm able to access my camera on the command line using

/run/user/<username>/gvfs/gphoto2:host=%5Busb%3A002%2C008%5D/
share|improve this answer
    
confirmed with Ubuntu 12.10. With this version, this is the solution. –  somethis Aug 1 '13 at 3:12

You can open the gphoto2:// address directly in your file manager. Nautilus handles it and gives you a device. Other browsers such as thunar you may have to enter the address manually.

~/.gvfs is the default mountpoint produced by the gvfs-fuse-daemon (package gvfs-fuse). This is a but temperamental so even if you have the package installed it may fail at startup. Check the permissions on .gvfs.

Depending on your environment (varies between versions), you may have an XDG_RUNTIME_DIR set and then .gvfs will be mounted there instead of your home dir. Typically this will be something like /run/user/...

share|improve this answer

While this is true [about gphoto2 mounting cameras], there is a setting on some cameras that allow you to connect them actually as a USB mass storage device (see screenshot), then you do not have to rely on gphoto2 and can treat your camera (or the card within it) as a normal usb flash disk. The setting to change how your camera connects to the PC is not present in all camera menus, but is usually in DSLRs. It often makes transferring your pictures and videos easier to have this setting on USB mass storage- at least it works for meNikon D70 mass storage

share|improve this answer
    
I don't find that option in the camera. However I'll search for that. thanks –  Sam Jul 15 '12 at 12:28
1  
If there isn't an option in your camera menu, you can take out the memory card and put it in a usb card reader and connect it to the computer. Then you should be able to read and write from the card with no problems. –  user76204 Jul 15 '12 at 13:30
    
Yep, I thought about that. But like I said to Mr Mitch, what if I wanted to access to my camera from the command line ? –  Sam Jul 16 '12 at 14:26

If I understand your question correctly, it gets mounted at gphoto2://[usb:001.006]/

enter image description here

Not all cameras are mountable. The gphoto2 command should allow you to download pictures from supported cameras.

If your camera is like that, you can avoid this problem by using a USB card reader. The USB card reader makes any card mountable, just like a hard drive.

share|improve this answer
    
Yeah but what does gphoto2://[usb:001.006]/ mean ? .. where is it ? –  Sam Jul 15 '12 at 12:27
    
Its listed in your file manager. See the image in the background. :) –  Mitch Jul 15 '12 at 15:21
    
Yes but what if I wanted to access to it from the command line ? :/ –  Sam Jul 16 '12 at 14:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.