From here.
Install “Flatpak“ on Ubuntu first, then install the “SparkleShare” client with “Flatpak”.
1 | sudo apt-get install flatpak |
Start the SparkleShare client by running the following command:
1 | flatpak run org.sparkleshare.SparkleShare |
Now you should see a system tray icon(If not, please restart you computer and start the “SparkleShare” client again). Open the right-click menu of the icon, go to “SparkleShare -> Computer ID -> Copy to clipboard” to get the “client ID” which identifies the current Linux SparkleShare client. This client ID is required when you running the “dazzle link” command below when you add the client to the SparkleShare server.
Now go to your SparkleShare server, run the following command:
1 | dazzle link |
You will be prompted to paste the client ID which you got in the previous step. Copy and paste, finish the operation on the SparkleShare server.
Now go back to your Linux SparkleShare client:
Open “SparkleShare -> Sync Remote Project…” from the system tray menu.
In the pop-up window, setup the following fields:
1 | type = 'Own server' |
If everything works, now you SparkleShare client will be able to connect to your SparkleShare server and all the files will be downloaded from the SparkleShare server(if there are any) to you local “/SparkleShare” directory automatically. If you add some files to or remove some files from your local “/SparkleShare” directory, the content will be synchronized to your “SparkleShare” server and other “SparkleShare” clients immediately and automatically.