Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-05-20 18:33:47

Von_Zipper
Member
Registered: 2006-01-10
Posts: 29

Thunar and P2P Camera

I'm looking for a simple solution to get pictures from P2P camera. Gphoto2 handles it great, but there is no GUI. I searched for Thunar plugin, didn't find anything for this purpose. Is there any way to use Thunar to get and delete pictures in a camera?

Edit: Now I think I could create a custom action for this. Why didn't I think of this befeore.

Last edited by Von_Zipper (2021-05-20 18:36:03)

Offline

#2 2021-05-25 18:11:54

alcornoqui
Member
Registered: 2014-07-28
Posts: 808

Re: Thunar and P2P Camera

Did you end creating that custom action? Please share it!

Offline

#3 2021-05-25 19:03:28

Von_Zipper
Member
Registered: 2006-01-10
Posts: 29

Re: Thunar and P2P Camera

Not really, I did not - yet. I do not use my camera often. Anyhow, I learned a few possible solutions after posting here.

First, there is gphotofs (FUSE) for cameras and in conjunction with gvfs it probably will allow file browsers to automount and "see" the camera as any other mounted filesystem. Haven't tried it as I do not have gvfs in my rather spartan setup. My Thunar is also compiled without gvfs support. But this solution should work in less customized Linux installs.
Second, I could just add 'gphoto2 --get-all-files' as a custom action. Executing it would use settings in '~/.gphoto/settings' and download all pictures to the defined location.
Third, I could write a wrapper script for gphoto2 and invoke it as a custom action, this is in case my command gets too complicated for Thunar to execute directly.

Offline

#4 2021-05-25 23:12:42

alcornoqui
Member
Registered: 2014-07-28
Posts: 808

Re: Thunar and P2P Camera

Fair enough! Thanks for the details.

Offline

Board footer

Powered by FluxBB