photo.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1364 f8956fff6019
child 1775 f1573cc42aa7
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

========
 Photo.
========
.. contents::

Retrieving media from digital cameras.
======================================
::

  $ sudo apt-get install gphoto2
  $ sudo addgroup camera
  $ sudo adduser user camera
  $ /usr/lib/i386-linux-gnu/libgphoto2/print-camera-list udev-rules mode 0660 group camera | sudo sh -c "cat >/etc/udev/rules.d/90-my-libgphoto2.rules"

You can write own rules::

  $ lsusb | grep Nikon
  Bus 001 Device 005: ID 04b0:031c Nikon Corp.

  $ cat /etc/udev/rules.d/90-my-camera.rules
  ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="031c", MODE="0660", GROUP="camera"

After all those actions restart Linux.

Check if your camera detected:

  $ gphoto2 --auto-detect

Install GUI client:

  $ sudo apt-get install gtkam

  https://wiki.archlinux.org/index.php/Libgphoto2
                Digital Cameras