Gangmax Blog

Linux SparkleShare Client

From here.

Install “Flatpak“ on Ubuntu first, then install the “SparkleShare” client with “Flatpak”.

sudo apt-get install flatpak
flatpak remote-add flathub
flatpak install flathub org.sparkleshare.SparkleShare

Start the SparkleShare client by running the following command:

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:

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:

  1. Open “SparkleShare -> Sync Remote Project…” from the system tray menu.

  2. In the pop-up window, setup the following fields:

type = 'Own server'
# Replace "{0}" with your server domain or IP address.
address = 'ssh://{0}'
# Replace "{0}" with your project name.
remote_path = '/home/storage/{0}'
# Finally click the "Add" botton.

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.