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).
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.
Install the package, and optionally to have a command line interface.
- darktable — Utility to organize and develop raw images.
- Entangle — Provides a graphical interface for “tethered shooting”, aka taking photographs with a digital camera completely controlled from the computer.
- https://entangle-photo.org/ || AUR
- gphotofs — Fuse module to mount camera as a filesystem.
- GTKam — Graphical GTK+ 2 front-end to gphoto2.
- gvfs-gphoto2 — gphoto2 backend for GVfs to mount camera as a filesystem from a file manager that supports GVfs such as GNOME Files, Nemo, PCManFM and Thunar.
- 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.
- https://rawstudio.org/ || AUR
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 --set-config datetime=now- sets the camera to the current time
For advanced file manipulation, use
Example usage with gvfs
Auto detect the connected camera and list the required port:
$ gphoto2 --auto-detect Model Port ---------------------------------------------------------- Canon Digital IXUS 980 IS usb:006,011
Now open your favorite file manager and enter the address with the found port detail "gphoto2://[usb:006,011]" - the camera will be mounted with gvfs and can be managed with the file manager.