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

John Hupp lubuntu at prpcompany.com
Thu Nov 1 23:59:15 UTC 2012


Thanks!

The home page is at http://entangle-photo.org/

Since Entangle is not in the official repos, I installed it from GetDeb: 
http://www.getdeb.net/software/Entangle

On 11/1/2012 7:43 PM, Phill Whiteside wrote:
> I'd expect USB flash drives to be auto mounted (The screams of "I 
> plugged my flash drive in & it didn't mount - do not worth thinking 
> about :) )
>
> I'm in no way any expert on this, but IIRC, when I plugged my USB 
> webcam in a few cycles ago, it launched Cheese and not PCManFM. Things 
> will have changed and my laptop as of them is no longer, this one has 
> a built in one. If you have a link to Entangle I'd be happy to install 
> it & see how it gets on.
>
> Regards,
>
> Phill.
>
> On 1 November 2012 23:06, John Hupp <lubuntu at prpcompany.com 
> <mailto:lubuntu at prpcompany.com>> wrote:
>
>     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
>>
>
>
>
>
> -- 
> https://wiki.ubuntu.com/phillw

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


More information about the Lubuntu-users mailing list