Barrier: different devices share the mouse
Here is a record of the download method of mac and ubuntu18.04, the download link
Download the dmg file on mac. After the download is complete, it may appear that "mac cannot open the APP because the developer cannot be verified". Open System Preferences – "Security and Privacy, and click any APP below
Without this option, enter the following command in the terminal:
sudo spctl --master-disable
It should appear when the download is complete.
Systems above ubuntu20.04 can be downloaded directly from the software download center that comes with ubuntu. Mine is 18.04, only the source code is compiled :
git clone https://github.com/debauchee/barrier.git
# this builds from master,
# you can get release tarballs instead
# if you want to build from a specific tag/release
cd barrier
git submodule update --init --recursive
./clean_build.sh
cd build
sudo make install # install to /usr/local/
After compiling, you can see the Barrier software on the APP page.
Reference: Life Tips