How to use System Package settings with GTK/Flatpack version (or any other GUI)

Hi,

I have the installed the System Package version a while ago and just found out about SyncThings GTK today that I want to try, but I don’t understand how to use the configuration files that are already running.

It’s literally the same machine, the same software, the same config.xml and key.pm, but I don’t understand how to reuse one with the other.

Is there any ways to export/import or just reuse config files between installations and sessions with the same machine ?

Thx for any help.

Short answer is that you don’t reuse Syncthing’s configuration files because Syncthing-GTK isn’t a replacement for Syncthing, but instead Syncthing-GTK was designed to work with Syncthing…

Syncthing-GTK, Syncthing Indicator, Syncthing Tray and other system tray / toolbar applets are commonly referred to as “GUI wrappers”.

Wrappers are designed to talk to another program. Some are informational, providing read-only status info, while others support varying levels of remotely managing Syncthing.

If you already have Syncthing configured and running, as long as Syncthing is accessible at its default URL (http://127.0.0.1:8384/) Syncthing-GTK will work out-of-the-box.

Only some of the wrappers bundle the Syncthing program (most often on Windows and macOS). Syncthing-GTK is just the wrapper, so users are expected to install Syncthing separately, although Syncthing might be automatically installed along with Syncthing-GTK on Linux systems if both packages are in the regular software repositories.

Before diving into installing Syncthing-GTK, it’s a good idea to first check out the following webpages:

See: https://docs.syncthing.net/users/config.html

Hi, thanks for your time !

After what you say I understood correctly : ST-GTK is “just” another GUI that should work with ST even if they are installed separately.

But my main issue is that screen : I don’t understand what they mean by “deamon”, and what I should find in /config/syncthing

I already asked on their Github page, I just ain’t get an answer yet.

Daemon…

In non-geek lingo, a daemon is a program that runs without any obvious visual interface. It’s generally expected that some external program will talk to the daemon.

For example, when you pull up google.com in your web browser, your web browser is talking to a web server which is running a HTTP server daemon.

Syncthing config file…

Keep in mind that the last release of Syncthing-GTK was back on August 4, 2019. While it still usable, some of the things it references might no longer be entirely accurate.

Depending on when you first set up Syncthing, its config and other related files might be under ~/.config/syncthing or it could be in ~/.local/state/syncthing (the https://docs.syncthing.net/users/config.html page goes into more detail).

The easiest option is to move your existing configuration to ~/.config/syncthing since that’s where Syncthing-GTK is looking.

Syncthing-GTK needs to access Syncthing’s config.xml file for the API (security) key required for talking to Syncthing, otherwise only the most basic info is available.