[Lubuntu] How to unmount a camera from the command line?

John Hupp lubuntu at prpcompany.com
Thu Nov 1 23:06:28 UTC 2012

Perhaps it is too eager, I don't know.  It seems like standard behavior 
with removable storage -- it does the same thing with USB flash drives, 
which is also what Windows does.

It would also be interesting to figure out why Entangle locks up when it 
tries to unmount the camera.

But in the meantime I'm very eager for a work-around.  I've put in a lot 
of research and testing time on this over the lastfew weeks, and it 
seems that I'm close to a decent solution with Entangle.  (I like it 
very much when things work the way they should, and I prefer to see the 
"right" solution, but I'll admit to some battle-weariness with 
confronting one issue after another.)

On 11/1/2012 6:42 PM, Phill Whiteside wrote:
> Hi John,
> from what you describe I think PCManFM is being maybe just a little 
> too eager to mount anything that arrives in a USB port. As such, I'd 
> suggest raising a bug against PCManFM in the first instance, it can 
> always get re-allocated once the dev-team have had chance to look into it.
> Regards,
> Phill.
> On 1 November 2012 22:36, John Hupp <lubuntu at prpcompany.com 
> <mailto:lubuntu at prpcompany.com>> wrote:
>     I'm trying to get a Canon Powershot G1 USB-connected camera
>     working with remote capture (tethering) using either Entangle or
>     Gtkam.
>     Both apps get tripped up on the fact that Lubuntu auto-mounted the
>     camera.  Gtkam simply generates an error message about the camera
>     already being in use.  Entangle notes the same condition and
>     offers to unmount the camera, but approving that causes the
>     program to lock up.
>     Either program launches OK if I manually unmount the camera from
>     pcmanfm first.
>     So I'd like to launch the camera program from a script that first
>     unmounts the camera.
>     Post #2 in http://ubuntuforums.org/showthread.php?t=967104had a
>     solution in the command "gvfs-mount -s gphoto2," but gvfs-mount is
>     not installed by default in Lubuntuand is not available from the
>     default repos.
>     I also tried "sudo umount /home/<user>/.gvfs," which was the mount
>     point suggested to me by "sudo mount." That ran without error, but
>     the camera did not seem to be truly unmounted, and both cam apps
>     errored as before.
>     What's my best solution in Lubuntu?
>     --
>     Lubuntu-users mailing list
>     Lubuntu-users at lists.ubuntu.com <mailto:Lubuntu-users at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>     -- 
>     https://wiki.ubuntu.com/phillw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20121101/8ed83897/attachment.html>

More information about the Lubuntu-users mailing list