A Fishy Wiki

Stuff and things

User Tools

Site Tools


linux:barrier

Barrier (Synergy Fork)

Installation

# Install Flatpak and add the Flathub repo if you haven't already
# See: https://flatpak.org/setup/ or run the below commands on Ubuntu/Debian
sudo apt install flatpak gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Install Barrier without asking any questions
flatpak install com.github.debauchee.barrier -y

On the server computer, click “configure server” and set up the positions of the clients and their hostnames. This must be done before Barrier is started otherwise it will reject all connection attempts.

Autostart

# Make a .desktop file in the autostart folder and make it executable
echo "
[Desktop Entry]
Name=Barrier
Exec=flatpak run com.github.debauchee.barrier --config
Type=Application
" > ~/.config/autostart/barrier.desktop
chmod +x ~/.config/autostart/barrier.desktop
 
# Add the Barrier server hostname to the config file (only run this on client devices)
echo "serverHostname=XXX.XXX.XXX.XXX" >> ~/.var/app/com.github.debauchee.barrier/config/Debauchee/Barrier.conf
/var/www/dokuwiki/data/pages/linux/barrier.txt · Last modified: 2019-09-21 17:45 by Ethan