Oct 25, 2026 · @OleAamot
About gPhoto 3.0.1
gPhoto 3.0.1 is the GNU Digital Camera Software for GNOME: a desktop app that talks to digital cameras and phones over USB through libgphoto2 and lets you browse the files on the device.
This guide covers installing gPhoto 3.0.1 from source on Fedora 44, freeing the device from the GNOME desktop so gPhoto can use it, and browsing a device’s directory. It was tested with a Motorola Moto 60 phone connected in USB PTP mode.
Requirements
| Item | Details |
|---|---|
| Operating system | Fedora 44 |
| Camera library | libgphoto2 (runtime) and libgphoto2-devel (headers for building) |
| Build tools | gcc, make, autoconf, automake, libtool, gettext-devel, pkgconf |
| Download tool | wget or a web browser |
| Device | A camera or phone that supports PTP (Picture Transfer Protocol) over USB |
| Cable | A USB data cable (charge-only cables will not work) |
| Permissions | sudo rights to install packages and run make install |
Install everything in one go:
sudo dnf install libgphoto2 libgphoto2-devel gcc make autoconf automake libtool gettext-devel pkgconf-pkg-config wget
If ./configure later reports a missing library, install its -devel package with dnf and run ./configure again.
Installing from source
The build takes six commands and installs gPhoto under /usr/local by default.
- Download the release tarball:
wget https://www.gnomephoto.org/gphoto-3.0.1.tar.xz - Unpack it and enter the source folder:
tar xvf gphoto-3.0.1.tar.xz && cd gphoto-3.0.1/ - Generate the build system:
./autogen.sh - Configure the build. Add
--prefix=/usrif you want gPhoto installed alongside system packages instead of under/usr/local:./configure - Compile:
make - Install:
sudo make install
Keep the gphoto-3.0.1 folder; you need it to uninstall later.
Preparing the desktop
Stop GNOME’s GVFS camera and phone monitors before starting gPhoto. When a camera or phone is plugged in, GVFS claims the USB device so it can show up in Files, and only one program can hold it at a time.
pkill -f gvfs-gphoto2-volume-monitorpkill -f gvfs-mtp-volume-monitorpkill -f gvfsd-mtp
| Process | What it does |
|---|---|
gvfs-gphoto2-volume-monitor | Detects PTP cameras and mounts them in Files |
gvfs-mtp-volume-monitor | Detects MTP phones and media players |
gvfsd-mtp | Holds an open connection to a mounted MTP device |
This is safe: the commands only end your own session’s background helpers, and they start again the next time you log in. Close the Files app first if it is showing the device.
Connecting your camera or phone
Connect the device by USB, put it in PTP mode, then confirm gPhoto can see it with gphoto --auto-detect.
- Plug the camera or phone into the computer with a USB data cable.
- On a phone, unlock it and set the USB mode to PTP. On the Motorola Moto 60, tap the USB notification and choose the photo transfer (PTP) option. On a camera, PTP is usually the default; check its USB or connection menu if not.
- Stop the GVFS monitors (see Preparing the desktop) if they started again when you plugged in.
- Check detection:
gphoto --auto-detect
The command lists each detected device with its model and port, for example a usb: port number. An empty list means gPhoto cannot see the device; see Troubleshooting.
Note: the option has two hyphens, --auto-detect. Web pages often turn them into a single long dash (–), which the shell will not accept.
Using gPhoto
Start gPhoto from a terminal with gphoto once the device is detected.
gphoto
gPhoto opens a window showing the connected device. Use Directory Browse to walk the folders stored on it; on a phone in PTP mode this is typically the camera folder (DCIM) and its subfolders.
Keep the device unlocked and connected while browsing. Unplugging it or letting a phone switch USB mode ends the session; reconnect and start gPhoto again.
Open question: menu names and steps for copying photos to the computer are not yet documented here.
Troubleshooting
Most problems come from GVFS holding the device, the phone being in the wrong USB mode, or a missing build dependency.
| Problem | Likely cause | Fix |
|---|---|---|
--auto-detect lists nothing | Phone locked, in charging-only or MTP mode, or a charge-only cable | Unlock the phone, choose PTP in the USB notification, try another cable or port |
| “Could not claim the USB device” or device busy | GVFS or the Files app is holding the device | Close Files, run the three pkill commands again, then retry |
| Device disappears after a few seconds | GVFS monitors restarted when the device was replugged | Run the pkill commands after plugging in, not before |
./autogen.sh fails: command not found | autoconf, automake or libtool missing | sudo dnf install autoconf automake libtool gettext-devel |
./configure reports a missing package | A development library is not installed | Install the named library’s -devel package with dnf, then rerun ./configure |
gphoto: command not found | /usr/local/bin not on your PATH, or install failed | Run /usr/local/bin/gphoto, or check the output of sudo make install |
gphoto fails with a missing shared library | System cannot find libraries in /usr/local/lib | Run sudo ldconfig, or rebuild with ./configure --prefix=/usr |
–auto-detect rejected as unknown | A long dash was pasted instead of two hyphens | Type --auto-detect by hand |
Uninstalling and getting help
To remove gPhoto, run sudo make uninstall from the source folder you built in:
cd gphoto-3.0.1/sudo make uninstall
The GVFS monitors you stopped return on your next login, so no cleanup is needed for them.
For releases, source tarballs and project news, see gnomephoto.org. The original install notes are in GPhoto 3.0.1 on Fedora 44.



