Mount Proton Drive on Linux using rclone and systemd
This guide automates the process of mounting Proton Drive on a Linux system using rclone and systemd.
Tested on Arch Linux, but should work on most Linux distributions with minor adjustments.
๐ง Features
- Mounts Proton Drive at login via
systemd --user - Uses
rclonewith--vfs-cache-mode writesfor compatibility - Enables background service with logging
- Adds FUSE support for
--allow-othermounts
๐ Quick Start
1. โ Install Dependencies
Install fuse3 (required for mounting):
Install rclone (must be v1.64.0 or newer)
๐น Option 1: Use precompiled binary (recommended)
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip unzip rclone-current-linux-amd64.zip cd rclone-*-linux-amd64 sudo cp rclone /usr/local/bin/ sudo chmod +x /usr/local/bin/rclone
Verify:
rclone version
# Must be v1.64.0 or higher2. ๐ Configure Proton Drive Remote
Run:
Follow prompts:
nโ New remote- Name:
proton - Type:
protondrive - Log in via browser when prompted
- Accept and save
3. ๐ Run Setup Script
Run the provided script:
chmod +x setup-proton-mount.sh ./setup-proton-mount.sh
The script will:
- Create the mount point:
~/ProtonDrive - Write the systemd user service
- Add
user_allow_otherto/etc/fuse.conf(if missing) - Add user to the
fusegroup (if needed) - Enable and start the mount service
4. ๐ Reboot or Log Out/In
If the script added you to the fuse group, you must log out and back in for the change to take effect.
๐ Verify Mount
Check if Proton Drive is mounted:
Check systemd service:
systemctl --user status rclone-proton.mount.service
๐งผ Uninstall
To remove the auto-mount setup:
systemctl --user disable --now rclone-proton.mount.service
rm ~/.config/systemd/user/rclone-proton.mount.service(Optional) Remove ~/ProtonDrive if you no longer need the mount point.
๐ Files
setup-proton-mount.shโ full setup script~/.config/systemd/user/rclone-proton.mount.serviceโ systemd unit~/ProtonDriveโ mount location~/.cache/rclone/rclone-proton.logโ log output (optional)
๐ Requirements
rclone >= 1.64.0with Proton Drive supportfuse3- A Proton Drive account
๐ Troubleshooting
If the mount isn't working:
journalctl --user -u rclone-proton.mount.service
To restart the service manually:
systemctl --user restart rclone-proton.mount.service