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.
Debian and Ubuntu
Section titled “Debian and Ubuntu”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.
Other Linux (AppImage)
Section titled “Other Linux (AppImage)”-
Install gphoto2 with your package manager:
sudo pacman -S gphoto2 # Archsudo dnf install gphoto2 # Fedora -
Allow yourself the Arduino’s serial port: download
60-rollscan.rulesand install it:sudo cp 60-rollscan.rules /etc/udev/rules.d/sudo udevadm control --reload-rules && sudo udevadm trigger -
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.
-
Install gphoto2 with Homebrew:
brew install gphoto2 -
Open the
.dmgand 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.
Windows
Section titled “Windows”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.
- Download
Rollscan_X.Y.Z_x64-setup.exeand 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. - Open Rollscan from the Start menu.
- 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:
- In Device Manager, find the camera under Universal Serial Bus devices.
- Right-click it, choose Uninstall device, and tick Attempt to remove the driver for this device.
- 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.
Updating
Section titled “Updating”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).
From the command line
Section titled “From the command line”The app is also a command, rollscan, that does everything the buttons do:
rollscan --helprollscan calibrate --format 35mmrollscan scan 35mm 36 --name roll42 --out ~/scans/roll42rollscan --no-window # no window: open http://127.0.0.1:8765/ in a browserWhere 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 withls /dev/cu.usbmodem*and pass it with--port. - Windows:
%LOCALAPPDATA%\Rollscan\rollscan.exe, with the Arduino on aCOMport (--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-detectThen back to the build guide: set up the camera.
Building it yourself
Section titled “Building it yourself”You need Rust and, on Linux, the system web view’s libraries:
sudo pacman -S webkit2gtk-4.1 # Archsudo apt install libwebkit2gtk-4.1-dev build-essential # Debian / UbuntuThen:
git clone https://forgejo.eliottbidault.fr/RollNote/rollscan.gitcd rollscancargo test # optional: runs the tests, no hardware neededcargo run # the app, from the clonecargo install tauri-cli --version "^2" --lockedcargo 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.ps1It writes target\release\bundle\nsis\Rollscan_X.Y.Z_x64-setup.exe.