Skip to content

Installing the software

Rollscan is one app, installed and opened like any other. It needs gphoto2 to control the camera over USB: the Debian/Ubuntu package installs it, and the Windows installer includes it.

Flashing the Arduino also takes arduino-cli or the Arduino IDE.

Platform What you install Status
Debian, Ubuntu the .deb package Run on Debian 13 and Ubuntu with the scanner
Other Linux the AppImage Run with the scanner
macOS the .dmg Untested: never built or run
Windows the -setup.exe installer Run on Windows 11 with the scanner (X-T5, Arduino Uno); not tried on Windows 10

Get the files from the download page or the releases page, or build them yourself.


sudo apt install ./"Rollscan_0.1.0_amd64.deb"

This also installs gphoto2 and a rule giving you the Arduino’s serial port at once: no group to join, no logging out. Open Rollscan from your applications menu.

  1. Install gphoto2 with your package manager:

    sudo pacman -S gphoto2 # Arch
    sudo dnf install gphoto2 # Fedora
  2. Allow yourself the Arduino’s serial port: download 60-rollscan.rules and install it:

    sudo cp 60-rollscan.rules /etc/udev/rules.d/
    sudo udevadm control --reload-rules && sudo udevadm trigger
  3. Make the AppImage runnable and open it:

    chmod +x "Rollscan_0.1.0_amd64.AppImage"
    ./"Rollscan_0.1.0_amd64.AppImage"

Untested. I develop on Linux and haven’t been able to build or try the Mac app. These steps should work; please report back either way.

  1. Install gphoto2 with Homebrew:

    brew install gphoto2
  2. Open the .dmg and drag Rollscan to Applications. It isn’t signed: the first time, right-click it → Open.

When looking for the camera, the app stops the macOS process that grabs cameras for Photos and Image Capture; otherwise gphoto2 fails with “Could not claim the USB device”. Also quit Photos, Image Capture and anything that opens when the camera connects.

Run on Windows 11 with the scanner (X-T5, Arduino Uno, 35mm negatives): installing, camera setup, calibration, live view, Check framing, scans and negative conversion. Not tried on Windows 10, or with other cameras on Windows.

  1. Download Rollscan_X.Y.Z_x64-setup.exe and open it. It isn’t signed: if Windows says “Windows protected your PC”, click More info, then Run anyway. It installs for you alone, no administrator rights, gphoto2 included.
  2. Open Rollscan from the Start menu.
  3. Plug in the scanner, and the camera in tethered USB mode. The first time, press Set up the camera and accept the administrator prompt (once per camera).

Setup gives the camera the WinUSB driver, using the tool behind Zadig, because gphoto2 can’t use Windows’ own camera driver. Windows’ apps (Photos, Explorer) and Fujifilm’s (X Acquire, X Webcam) then no longer see it. To give it back to them:

  1. In Device Manager, find the camera under Universal Serial Bus devices.
  2. Right-click it, choose Uninstall device, and tick Attempt to remove the driver for this device.
  3. Unplug the camera and plug it back in. Rollscan offers to set it up again next time.

The Arduino shows up as a COM port the app finds by itself. A clone with a CH340 chip needs that chip’s driver if Windows doesn’t install it.

Scans go to Film scans in your Pictures folder, unless you pick another folder.


When a newer version is out, the app’s top bar shows Version X.Y.Z is out, opening its download page. The app asks Forgejo for the latest release each time it opens and sends nothing else; offline, it stays quiet.

Install it the same way. Settings and calibration are kept, in ~/.config/rollscan/ (%APPDATA%\rollscan on Windows).

The app is also a command, rollscan, that does everything the buttons do:

rollscan --help
rollscan calibrate --format 35mm
rollscan scan 35mm 36 --name roll42 --out ~/scans/roll42
rollscan --no-window # no window: open http://127.0.0.1:8765/ in a browser

Where it is:

  • .deb: on your PATH.
  • AppImage: the AppImage file itself, with the same arguments.
  • macOS: /Applications/Rollscan.app/Contents/MacOS/rollscan. Find the Arduino’s port with ls /dev/cu.usbmodem* and pass it with --port.
  • Windows: %LOCALAPPDATA%\Rollscan\rollscan.exe, with the Arduino on a COM port (--port COM3).

Without --port, the first port that looks like an Arduino is used.

With the camera connected in tethered USB mode, this should list it:

gphoto2 --auto-detect

Then back to the build guide: set up the camera.


You need Rust and, on Linux, the system web view’s libraries:

sudo pacman -S webkit2gtk-4.1 # Arch
sudo apt install libwebkit2gtk-4.1-dev build-essential # Debian / Ubuntu

Then:

git clone https://forgejo.eliottbidault.fr/RollNote/rollscan.git
cd rollscan
cargo test # optional: runs the tests, no hardware needed
cargo run # the app, from the clone
cargo install tauri-cli --version "^2" --locked
cargo tauri build # the packages, in target/release/bundle/

cargo tauri build makes the .deb and AppImage on Linux, the .dmg on a Mac.

The Windows installer bundles gphoto2 and wdi-simple (the camera setup tool), so a script builds it, on Windows, with Rust, Visual Studio 2022 Build Tools (Desktop development with C++), Git and MSYS2 installed:

powershell -NoProfile -ExecutionPolicy Bypass -File packaging\windows\build.ps1

It writes target\release\bundle\nsis\Rollscan_X.Y.Z_x64-setup.exe.