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.
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).
Install the package, and optionally for GNOME Files integration and to have a command line interface. Actually, any package that lists as a dependency can use gvfs-gphoto2, such as Nemo, PCManFM, and Thunar.
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:
... Bus 001 Device 005: ID 04a9:318e Canon, Inc. ...
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.
For advanced file manipulation, use
Other frontend applications for libgphoto2
- gphotofs - AUR - FUSE ( ) module to mount camera as a filesystem
- darktable - - utility to organize and develop raw images
- Digikam - - digital photo management application for KDE
- F-Spot - photo management Mono application for GNOME
- Gthumb - - image browser and viewer for GNOME
- GTKam - AUR - graphical GTK front-end to gphoto2
- Pantheon Photos - - "continuation" of Shotwell for Pantheon
- Shotwell - - digital photo organizer designed for GNOME
- GNOME Files - Supports accessing digital cameras and smartphones using MTP, and has two backends: the new using libmtp, and the old using libgphoto2.