Difference between revisions of "Digital Cameras"

From ArchWiki
Jump to: navigation, search
(Frontend (external) Applications for GPhoto2)
(Move GNOME Files section into front end .)
 
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
[[Category:Imaging]]  
+
[[Category:Imaging]]
 
[[es:Digital Cameras]]
 
[[es:Digital Cameras]]
 
[[it:Digital Cameras]]
 
[[it:Digital Cameras]]
[[ru:Цифровые камеры]]
+
[[ja:デジタルカメラ]]
{{Article summary start}}
+
[[ru:Digital Cameras]]
{{Article summary text|Infos on digital cameras support.}}
+
[[zh-CN:Digital Cameras]]
{{Article summary end}}
+
{{Related articles start}}
This article documents the configuration of {{ic|libgphoto2}} to access digital cameras. Some digital cameras will mount as normal [[USB Storage Devices]] and may not require the use of libgphoto2.
+
{{Related|Jalbum}}
 +
{{Related articles end}}
 +
This article documents the configuration of {{ic|libgphoto2}} to access digital cameras. Some digital cameras will mount as normal [[USB storage devices]] and may not require the use of libgphoto2.
  
 
{{Note|As of libgphoto2 version 2.14.13, users do not need to be part of the {{ic|camera}} group.}}
 
{{Note|As of libgphoto2 version 2.14.13, users do not need to be part of the {{ic|camera}} group.}}
  
==Libgphoto2==
+
== libgphoto2 ==
 +
 
 
[http://www.gphoto.org/proj/libgphoto2/ Libgphoto2] is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are [http://www.gphoto.org/proj/libgphoto2/support.php here] (though more may work).
 
[http://www.gphoto.org/proj/libgphoto2/ Libgphoto2] is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are [http://www.gphoto.org/proj/libgphoto2/support.php here] (though more may work).
 
   
 
   
===Installation and Configuration===
+
=== Installation ===
Core library:
+
# pacman -S libgphoto2
+
  
(Optional) [http://en.wikipedia.org/wiki/GVFS gvfs] (for Nautilus integration):
+
[[Install]] the {{Pkg|libgphoto2}} package, and optionally {{Pkg|gvfs-gphoto2}} for [[GNOME Files]] integration and {{Pkg|gphoto2}} to have a command line interface. Actually, any package that lists {{Pkg|gvfs}} as a dependency can use gvfs-gphoto2, such as [[Nemo]], [[PCManFM]], and [[Thunar]].
# pacman -S gvfs-gphoto2
+
  
(Optional) Command line interface:
+
=== Permission issues ===
# pacman -S gphoto2
+
  
===Permission issues===
+
Users with a local session have permissions granted for cameras using [[Wikipedia:Access control list|ACLs]]. See [[General troubleshooting#Session permissions]] if it does not work.
 
+
Users with a local session have permissions granted for cameras using [[Wikipedia:Access control list|ACLs]]. See [[General Troubleshooting#Session permissions]] if it does not work.
+
  
 
If you want these permissions to work for remote ([[SSH]]) sessions too, you can use the old 'camera' group, by adding the requisite users to the deprecated camera group and create a new udev rules file as follows:
 
If you want these permissions to work for remote ([[SSH]]) sessions too, you can use the old 'camera' group, by adding the requisite users to the deprecated camera group and create a new udev rules file as follows:
Line 34: Line 31:
  
 
If the camera is not present in any [[udev]] rule, can check vendor and product id and add it. To check it just run:
 
If the camera is not present in any [[udev]] rule, can check vendor and product id and add it. To check it just run:
# lsusb
+
 
 +
{{hc|# lsusb|
 
  ...
 
  ...
 
  Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 
  Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 
  ...
 
  ...
 +
}}
  
==GPhoto2 Usage==
+
=== GPhoto2 usage ===
GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgpohoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.  
+
 
 +
GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgphoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.  
  
 
GPhoto2 also provides convenient debugging features for camera driver developers.
 
GPhoto2 also provides convenient debugging features for camera driver developers.
Line 54: Line 54:
 
* {{ic|gphoto2 --shell}}
 
* {{ic|gphoto2 --shell}}
  
==Frontend (external) Applications for GPhoto2==
+
==== Other frontend applications for libgphoto2 ====
*[http://www.gphoto.org/proj/gphotofs/ gphotofs] - allow using cameras with any tool able to read from a mounted filesystem.
+
 
*[http://www.rawtherapee.com/ RawTherapee]
+
* [http://www.gphoto.org/proj/gphotofs/ gphotofs] - {{AUR|gphotofs}} - FUSE ({{Pkg|fuse}}) module to mount camera as a filesystem
*[http://darktable.org/ darktable]
+
* [http://darktable.org/ darktable] - {{Pkg|darktable}} - utility to organize and develop raw images
*[[Digikam]]
+
* [[Digikam]] - {{Pkg|digikam}} - digital photo management application for [[KDE]]
*[http://f-spot.org/ F-Spot]
+
* [http://f-spot.org/ F-Spot] - photo management [[Mono]] application for [[GNOME]]
*[http://live.gnome.org/gthumb Gthumb]
+
* [http://live.gnome.org/gthumb Gthumb] - {{Pkg|gthumb}} - image browser and viewer for [[GNOME]]
*[http://www.gphoto.org/proj/gtkam/ GTKam]
+
* [http://www.gphoto.org/proj/gtkam/ GTKam] - {{AUR|gtkam}} - graphical [[GTK]] front-end to gphoto2
 +
* [https://launchpad.net/pantheon-photos Pantheon Photos] - {{Pkg|pantheon-photos}} - "continuation" of Shotwell for [[Pantheon]]
 +
* [http://wiki.gnome.org/Apps/Shotwell Shotwell] - {{Pkg|shotwell}} - digital photo organizer designed for [[GNOME]]
 +
* [[GNOME Files]] - Supports accessing digital cameras and smartphones using MTP, and has two backends: the new {{pkg|gvfs-mtp}} using libmtp, and the old {{pkg|gvfs-gphoto2}} using libgphoto2.
  
==Miscellaneous Troubleshooting==
+
== See also ==
===Groups===
+
Make sure that the user to which access should be granted is part of the [[Users and Groups#Groups|storage group]].
+
  
==Wiki Articles Relating to Photo/Cameras==
+
* [http://www.gphoto.org/proj/libgphoto2/support.php A list of cameras supported by gPhoto]
*[[Jalbum]] - Freeware for creating professional albums/galleries.
+
* [http://www.teaser.fr/~hfiguiere/linux/digicam.html another more detailed list]
*[[HCL/Digital Cameras]] - Partial list of supported cameras for gphoto2
+

Latest revision as of 09:07, 15 March 2016

Related articles

This article documents the configuration of libgphoto2 to access digital cameras. Some digital cameras will mount as normal USB storage devices and may not require the use of libgphoto2.

Note: As of libgphoto2 version 2.14.13, users do not need to be part of the camera group.

libgphoto2

Libgphoto2 is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are here (though more may work).

Installation

Install the libgphoto2 package, and optionally gvfs-gphoto2 for GNOME Files integration and gphoto2 to have a command line interface. Actually, any package that lists gvfs as a dependency can use gvfs-gphoto2, such as Nemo, PCManFM, and Thunar.

Permission issues

Users with a local session have permissions granted for cameras using ACLs. See General troubleshooting#Session permissions if it does not work.

If you want these permissions to work for remote (SSH) sessions too, you can use the old 'camera' group, by adding the requisite users to the deprecated camera group and create a new udev rules file as follows:

# /usr/lib/libgphoto2/print-camera-list udev-rules version 175 group camera > /etc/udev/rules.d/40-gphoto.rules

These rules will use the group for newly added camera devices.

If the camera is not present in any udev rule, can check vendor and product id and add it. To check it just run:

# lsusb
 ...
 Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 ...

GPhoto2 usage

GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgphoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.

GPhoto2 also provides convenient debugging features for camera driver developers.

Quick Commands

  • gphoto2 --list-ports
  • gphoto2 --auto-detect
  • gphoto2 --summary
  • gphoto2 --list-files
  • gphoto2 --get-all-files

For advanced file manipulation, use

  • gphoto2 --shell

Other frontend applications for libgphoto2

See also