How To Set Up SparkleShare On Linux

There are many syncing options on Linux, but hardly any of them focus on the developer. That’s where Sparkleshare comes in: it’s a file syncing tool that allows users to sync and share various text files, office documents, and other small types of data to users on a LAN, or over the internet in a Dropbox-like fashion. Sparkleshare is free and works very well on a myriad of Linux distributions. To use SparkleShare on Linux it, you’ll need to set up both a client and host.

Sparkleshare Server

The Sparkleshare host system sets up effortlessly, thanks to their “Dazzle” tool. Dazzle is a shell script that users can use to manipulate Sparkleshare shares, connect clients, and etcetera quickly.

Note: you do not need to have a dedicated server to host a Sparkleshare project. However, it is a good idea to install your Sparkleshare server on a computer that is used regularly.

The Dazzle script doesn’t require any unique setup to use or install. Instead, use the wget tool to download it to the home directory of the Linux server or Desktop that will host the files.


Update the permissions to the Dazzle script, so that your Linux PC can use it correctly. Without the correct permissions, it’s very likely the script won’t run right.

sudo chmod +x

After setting permissions, run the Dazzle setup command. The setup command will auto-generate various configuration files, as well as other essential system changes needed to run a successful Sparkleshare system.

Gain root privileges with:

sudo -s

Then, swap to the Root account using the su command.


With root, execute the Dazzle setup process.

sh setup

Now that the setup is taken care of, it is possible to set up a share. Keep in mind that Sparkleshare file hosts are best with code, text files, pictures or other small documents. Please don’t try to use this for large files, as this is not what the software is intended for. To create a new share, invoke the create command.

sh create NEW_SHARE_NAME

The Dazzle script, when complete, will print out the remote connection details for your new share. Copy this share information and save it to a text file. Feel free to repeat this process as many times as you like, if you desire multiple separate shares with your Sparkleshare host.

Sparkleshare Client

Now that you’ve got your Sparkleshare server working, it’s time to set up the client side of things. Luckily, Sparkleshare is readily available on all major operating systems. To install Sparkleshare on Linux, open up a terminal and follow the directions depending on your Linux distribution.


sudo apt install sparkleshare


sudo apt-get install sparkleshare

Arch Linux

Arch Linux users have access to the Sparkleshare client if they enable the “Community” repo in /etc/pacman.conf.

sudo pacman -S sparkleshare


sudo dnf install sparkleshare -y


sudo zypper install sparkleshare

Generic Linuxes via Flatpak

The Sparkleshare developers have a Flatpak version available to install. To get it, follow our guide to set up Flatpak on your Linux PC.

After setting up Flatpak to work on your Linux PC,  enter the following commands to get Sparkleshare working.

flatpak remote-add flathub
flatpak install flathub org.sparkleshare.SparkleShare

Connecting To Sparkleshare server

To connect to a self-hosted Sparkelshare, you’ll first need to add the ID to your server. Launch the Sparkleshare client and right-click on it in the system tray on your desktop. In the right-click menu, find “Client ID” and click the “copy to clipboard” button.

Return to the server that is hosting your Sparkleshare project, and gain root access with sudo -s.

sudo -s

After running the sudo -s command, switch over to the root account by executing the su command in a terminal.


With root access, run the Dazzle script and use the link feature. Take the Client ID and paste into the terminal when prompted. Repeat this process for each user who needs access to the remote Sparkleshare project.

sh link

When all of your clients are connected, right-click on the Sparkleshare icon in your system tray again, and select “add hosted project.”  Enter the connection details for your share to gain access! If the connection is successful, data will instantly start syncing to your Linux PC through the client.

Need to add new data to your remote Sparkleshare server? Open up your Linux file manager and navigate to /home/username/Sparkleshare/.

To share files with users connected to your Sparkleshare project, click on one of the project sub-folders inside of ~/Sparkleshare. Copy your data into the project folder and let the client upload it to the other users.

Read How To Set Up SparkleShare On Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Run SpeedTest From The Linux Terminal is a handy tool for Linux server admins and enthusiasts as it helps them quickly test ping, bandwidth, and other network information from the comfort of a website. Still, for as good as the website is, it’s not very useful if you’re trying to test the internet connection of a remote server and don’t have access to a web browser.

Introducing Speedtest-cli: it’s a command-line utility that lets you run Speedtest from the Linux terminal. It does everything that the Speedtest website does but with Linux command arguments. To install this software, you’ll need the latest version of the Python programming language.

Install Speedtest-cli

Speedtest-Cli is installable via many different Linux distribution’s software sources. It is also available via the source code or the Python Package tool.


sudo apt install speedtest-cli


sudo apt-get install speedtest-cli

Arch Linux

Arch users looking to install Speedtest-cli will need to first enable the “Community” software repository in /etc/pacman.conf. To activate, launch a terminal and open pacman.conf with Nano.

sudo nano /etc/pacman.conf

Scroll down and find “Community.” Remove all instances of # from in front of “Community,” and the lines underneath it as well. After removing the # symbols, press Ctrl + O to save the edits, and exit Nano with Ctrl + X.

Re-sync your Pacman to enable the Community repo.

sudo pacman -Syy

With the Community rep now up and running on your Arch Linux PC, install the speedtest-cli utility.

sudo pacman -S speedtest-cli


sudo dnf install speedtest-cli -y


sudo zypper install speedtest-cli

Generic Linuxes Via Python PIP

If you can’t get the Speedtest-cli utility, you’ll be able to get it going with Python and PIP. To start the installation, open up a terminal window and ensure you have the latest version of both Python and Pip. When you’ve determined you have the newest version of Python and Pip working on your Linux PC, install Speedtest-cli with the following command.

Note: do not try to use sudo during the installation, as it will mess up your Python development environment.

pip install speedtest-cli

Generic Linuxes via building from source

Going the Python Pip route on generic Linux distributions is usually the easiest way to get it going if your Linux distribution doesn’t care the software. However, if PIP doesn’t work, there’s another solution: building from source.

Before installing Speedtest-cli via the Github source code, install the Python programming language, as well as the Git tool. Then, use the git clone command to grab the code.

git clone

Move your terminal into the speedtest-cli code folder and update the contents’ permissions.

sudo chmod +x *

Run the installation tool to get Speedtest-cli working on your Linux PC.

python install

Use Speedtest-Cli

To run a basic internet speed test with the Speedtest-cli tool, launch a terminal, and run speedtest-cli in it. What follows is a basic test of your ping, upload, and download speed. The results of your internet test will show up in text form when the process is complete.


If you’re new to using the terminal and wish internet test results were easier to read, add the simple modifier to speedtest-cli commands.

speedtest-cli  --simple

Download-only Test

Want to figure out your download speed but don’t feel like running a full internet speed test? Try running the speedtest-cli command with the no-upload modifier.

speedtest-cli --no-upload

Combine no-upload with the simple modifier for an easy to read experience.

speedtest-cli --no-upload --simple

Upload-only Test

Running speedtest-cli with the no-download command will allow the user to do an “upload only” test.

speedtest-cli --no-download

For best results, run with the simple modifier.

speedtest-cli --no-download --simple

View Graphical Results

When you run an internet speed test on, you have the option of viewing your network results in a PNG image. If you want a picture result of speed tests you run with speedtest-cli in the terminal, add the share modifier.

speedtest-cli --share --simple

Speedtest With Bytes

Each internet test you run with the speedtest-cli command is measured in bits. It’s the universal standard for measuring speed on the internet. If this doesn’t sit right with you, consider using the bytes modifier in your tests.

speedtest-cli --bytes

Export SpeedTest To CSV

Do you run speed tests a lot? Want to keep track of your data? Consider running the speedtest-cli command with the csv modifier. Using this feature prints out test results in the “csv” text format which is easily pasteable in spreadsheet programs like Microsoft Excel or Libre Office Calc.

speedtest-cli --csv

Other Speedtest-cli Features

In this tutorial, we go over many different useful features that you can use with speedtest-cli. Though, there are many other useful features that we haven’t covered.

To access the other Speedtest command-line features, run the following command in a terminal window.

speedtest-cli --help

Alternatively, save the help page to a text file with:

speedtest-cli --help >> ~/Documents/speedtest-cli-commands.txt

Read How To Run SpeedTest From The Linux Terminal by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How To Set File App Association From Command Prompt On Windows 10

Windows 10 allows you to set any app of your choice as the default app to open a certain type of file. In some cases, e.g., with your browser, it will relentlessly try and push Edge as a superior option but with other file types and apps you don’t run into much resistance. Of course, app defaults often reset and sometimes they fail to set altogether. If that’s the case, you can always set a file app association from Command Prompt.

File App Association

In order to set a file app association from the Command Prompt, you need administrative rights. The first thing you need to do is find the file extension for the file that you want to set a default app for. This is easy enough; open File Explorer to the location with the file in it.

Right-click the file and select Properties from the context menu. On the General tab, you will see a ‘Type of File’ section that tells you what the file’s extension is.

Open Command Prompt with administrative rights and run the following command in it.


assoc .fileextension


assoc .html

This command will return the file type that the file is. This result is what you need to execute the command to set a file app association. In the screenshot below, the file type that the command has returned is “htmlfile”.

Next, find the absolute path to the EXE of the app you want to associate with the file type. Run the following command.


ftype File Type="absolute-path-to-application" "%1"


ftype htmlfile="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "%1"

If the file app association is set successfully, Command Prompt will return the following.

File Type="absolute-path-to-application" "%1"

From this point forward, Windows 10 will use the set app to open the type of file you associated with it. This method doesn’t guarantee that the file association cannot be reset, or that no other apps can change it.

An error on Windows 10 may cause a file app association to reset. Likewise, if you install a new app that can also open the same file type, and set it as the default app for all such files, the file app association that you set will break.

If you’re interested in doing this for your browser so that Cortana doesn’t send web searches to Edge, this method isn’t going to work. You need an app called EdgeDeflector to redirect requests sent from Edge to Chrome or Firefox. If you use a different browser, give Search Deflector a try.

Read How To Set File App Association From Command Prompt On Windows 10 by Fatima Wahab on AddictiveTips – Tech tips to make you smarter