Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

bug: using the vast majority of Rclone storage systems (like SMB, WebDAV etc.) seems not possible #579

Backlog

Description

@DJCrashdummy

Linux distribution

Debian testing

Desktop Environment

KDE Plasma

Version of the Save Desktop app

4.1

Package type

Flatpak from Flathub

Bug description

i stumbled across Save Desktop a while ago and it seems like a cool solution to keep different machines in sync (even for noobs and without the need of a server hosted by big tech)...
but even during the initial setup of the first machine (at point 3 of https://vikdevelop.github.io/SaveDesktop/wiki/synchronization/en) i ran into an issue: as it uses Rclone - and it nowhere mentions otherwise - i thought it can use all of its supported storage systems, like a NAS via SMB, but the dropdown only presents Google Drive, Microsoft OneDrive, DropBox and pCloud as options. 🤨

Steps to reproduce

  1. install Save Desktop (via Flatpak)
  2. open Save Desktop
  3. switch to the Synchronisation tab
  4. click Set up the sync file
  5. click on the drop-down and see only the 4 mentioned options (although this window also explicitly mentions Rclone)

Output from the Terminal

there is none... neither with the in this form suggested flatpak run io.github.vikdevelop.SaveDesktop nor with the flatpak run --branch=stable --arch=x86_64 --command=savedesktop io.github.vikdevelop.SaveDesktop from the installed desktop-file.

Activity

  1. added
    bug
    on Dec 3, 2026
  2. vikdevelop commented on Dec 3, 2026

    @vikdevelop
    Owner

    Hi,

    I selected these services intentionally because I wanted to make setting up synchronization with Rclone much easier for typical users. Advanced users can still modify the provided command, with one condition: the mount point name (savedesktop) and the destination directory (~/Downloads/SaveDesktop/rclone_drive) must remain the same.

    So, this is not a bug, it's a feature!

  3. DJCrashdummy commented on Dec 4, 2026

    @DJCrashdummy
    Author

    upfront to make things clear: personally i have no issue with using Rclone via CLI - in fact i work with it regularly -, but as i read Save Desktop syncs the settings via Rclone and couldn't find any of the other storage systems, i thought the whole time i messed something up completely resp. i'm just dumb or blind... or all of them together. 🤪
    ...and i personally use chezmoi, but i thought Save Desktop might be a cool option for some of my noobs to sync (some of) their settings if they want/need to.

    to get it completely right: someone just need to provide the data at $HOME/Downloads/SaveDesktop/rclone_drive/ no matter how, or does Save Desktop actually use Rclone itself in any way? ...hence it also needs a Rclone config/remote named savedesktop at the default place (no matter the storage system actually used)?


    additionally some suggestions to perhaps avoid such confusion in the future and further thoughts:

    1. first of all, if you limit the supported choices by Save Desktop, IMHO at least the generic protocols like WebDAV, SMB and FTP should also be included.
    2. instead of a hard-coded ~/Downloads/SaveDesktop/rclone_drive/ i would at least use "$( xdg-user-dir DOWNLOAD )"/SaveDesktop/rclone_drive/ (with a fallback) and perhaps a hidden folder e.g. something like $HOME/.local/share/savedesktop_mount resp. $XDG_DATA_HOME/savedesktop_mount would be even better. or at least make it configurable (if not both)... because there are some DEs which provide a service to purge files older than N days from the Download folder (similar to automatically purging the trash). 😬
    3. it should be mentioned that either Save Desktop only supports the chosen cloud services (resp. a limited set of Rclone), or at least that a manual setup (by advanced users) is needed to use all storage systems of Rclone. - and ideally give at least the basic instructions in the wiki.
    4. speaking about the manual setup: somehow the setup - even for the supported cloud services - seems quite confusing... and i'm pretty sure overwhelms quite some noobs (without any help or basic experience with CLIs and Rclone).
      but well... you can argue how many complete noobs use more than one system regularly with *nix OSes and want to sync their settings. 🤷
      either way... i would advise to steer Save Desktop into the one way or the other: either trust the user that he isn't overwhelmed with the whole process and not artificially limit the options of Rclone storage systems (because if the choice of these options already overwhelms the user, the rest of the setup process - as it is now - overwhelms him by far)! ...or make Save Desktop really fool prove and don't expect or even require him to externally/manually install and setup Rclone at all.
  4. vikdevelop commented on Dec 4, 2026

    @vikdevelop
    Owner

    To clarify how it works: Save Desktop itself doesn't bundle Rclone or manage its configuration. On desktop environments that don't use GNOME Online Accounts, the setup wizard provides a command that you run in the terminal. Rclone then mounts the configured remote to $XDG_DOWNLOAD/SaveDesktop/rclone_drive (I chose ~/Downloads in my previous comment because that is the name of the directory in English; otherwise, of course, the application uses the $XDG_DOWNLOAD variable), and Save Desktop simply works with the files in that directory.

    This means that you're not limited to the four services listed in the wizard. You can use other Rclone backends as well, provided you configure them yourself and keep the expected mount point and destination directory unchanged. The remote name used by the provided command must also remain savedesktop.

    As for why Rclone isn't bundled directly with the application: integrating it properly into a Flatpak environment would introduce quite a few complications, including sandbox permissions and FUSE support. It would also mean bundling the entire Rclone binary, increasing the application's size from just a few MB to roughly 70 MB. I'd rather avoid that overhead for an external component that isn't needed by every user.

    Regarding the download directory, I actually chose it intentionally. I wanted the mounted cloud storage to be easily accessible to users and not hidden away in an application data directory. I also don't think that directories containing the entire contents of someone's cloud storage really belong in application-specific data directories. I understand your concern about automatic cleanup of the Downloads folder, though.

    As for the selection of cloud providers, I wanted to keep the initial setup as simple as possible. Most users are already familiar with Google Drive, OneDrive and Dropbox, whereas protocols such as WebDAV or FTP are probably less familiar to them. Another consideration was the authentication process: these services allow users to sign in through a graphical web browser, while other Rclone backends often require additional manual configuration in the terminal. I tested this when implementing the feature, although things may have changed since then. :D

    I did consider making the whole process even more straightforward, but the limitations of the Flatpak environment make that rather difficult.

    I also don't think the current setup is particularly complicated for its intended audience. The user simply opens a terminal (Ctrl+Alt+T), pastes the provided command and follows the authentication instructions. No manual editing is necessary when using one of the predefined services.

    Of course, I understand that this approach might not be ideal for everyone. Advanced users can adapt the provided command to use other Rclone backends, or simply use an existing Syncthing folder instead.

    However, I'll consider clarifying the manual Rclone setup in the wiki so that users don't get the wrong impression about the supported storage providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions