Digital Cameras
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.
Contents
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.
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
- darktable — Utility to organize and develop raw images.
- gphotofs — FUSE (fuse) module to mount camera as a filesystem.
- gThumb — Image browser and viewer for GNOME.
- GTKam — Graphical GTK+ 2 front-end to gphoto2.
- Kamera — KDE integration for gphoto2 cameras.
- Pantheon Photos — Image viewer for Pantheon.
- Rawstudio — An open source raw-image converter written in GTK+. Supports tethered shooting with gphoto2.
- Shotwell — Digital photo organizer designed for GNOME.