Tutorial
Updated
Compiling and installing Barrier (synergy fork) for KVM L4T Ubuntu
Tired of the inconvenience of having to constantly detach your primary mouse and keyboard from your PC in order to use them with a switch? Don't have any spares lying around?
Barrier - a KVM software that is a fork from the old, free Synergy 1.9. Barrier focuses on maintaining the simplicity of the older software, while also incrementing on it and retaining Synergy's old price tag of $0. Synergy has since become a paid software with a plethora of bloat features and closed code (It was always paid, but used to be open source, with compilable nightlies and free builds. Not anymore.).
Get ready to follow these instructions, as if you actually care about getting this done.
Maybe you're a bit lost in this world. But don't worry, I'll give you some basic instructions.
Barrier - a KVM software that is a fork from the old, free Synergy 1.9. Barrier focuses on maintaining the simplicity of the older software, while also incrementing on it and retaining Synergy's old price tag of $0. Synergy has since become a paid software with a plethora of bloat features and closed code (It was always paid, but used to be open source, with compilable nightlies and free builds. Not anymore.).
- The program now have builds on flathub and snap so if you're lazy you don't need to compile it anymore.
Code:
sudo snap install barrier
Code:
flatpak install flathub com.github.debauchee.barrier
Get ready to follow these instructions, as if you actually care about getting this done.
- First, update and upgrade with this simple command:
Code:
sudo apt-get update && sudo apt-get upgrade
- Next, get your dependencies with:
Code:
sudo apt install git cmake make xorg-dev g++ libcurl4-openssl-dev libavahi-compat-libdnssd-dev libssl-dev libx11-dev libqt4-dev qtbase5-dev
- Now, onto the thrilling part of compiling. You're going to need the source tarball, which you can get with:
Code:
wget https://github.com/debauchee/barrier/archive/refs/tags/v2.4.0.tar.gz && tar xzvf v2.4.0.tar.gz && cd barrier-2.4.0
- Then, you'll need to use the building script:
Code:
./clean_build.sh
- Finally, you can install it with:
Code:
cd build && sudo make install
- But wait, there's more! Your cursor will be invisible, because of course it will be. To fix it, use this command:
Code:
gsettings set org.gnome.settings-daemon.plugins.cursor active false
- There, happy now?
Maybe you're a bit lost in this world. But don't worry, I'll give you some basic instructions.
- First, you'll need to fire up the program by typing in some commands on your terminal or searching for it on your launcher.
- Then, you'll need to select your language and client. Congratulations, you've completed the most basic step!
- If you're on a PC, whether it's a Windows, Mac or Linux system, you can go ahead and download the release for your platform from Barrier's Github.
- Once installed, launch the program, choose your language and server.
- Now, you'll need to go ahead and configure the server. It's as easy as dragging the monitor icon to the side of the other monitor icon that represents your PC on the grid.
- Double-click on the icon that now says "Unamed" and write your switch's name on the Screen Name box.
- Your switch name is the one you choose at installation along with your username.
- Click OK, then OK, then Apply and Start. With any luck, the program should detect itself and you should be done!
Last edited by ZeroFX,