Barrier is software that mimics the functionality of a KVM switch, which historically would allow you to use a single keyboard and mouse to control multiple computers by physically turning a dial on the box to switch the machine you’re controlling at any given moment.
Barrier does this in software, allowing you to tell it which machine to control by moving your mouse to the edge of the screen, or by using a keypress to switch focus to a different system.
Barrier needs to be installed on all machines that will share keyboard and mouse. And there’s no support for the Wayland compositor/display; the software only works with the X Window System (X11).
This is free and open source software.
Key Features
- Cross-platform support – runs under Linux, FreeBSD, OpenBSD, macOS, and Windows.
Website: github.com/debauchee/barrier
Support:
Developer: Barrier developers
License: GNU General Public License v2.0
Barrier is written in C and C++. Learn C with our recommended free books and free tutorials. Learn C++ with our recommended free books and free tutorials.
Related Software
| Software KVM Switches | |
|---|---|
| Deskflow | Cross-platform solution with Wayland, clipboard sharing and TLS encrpytion. |
| Lan Mouse | GTK frontend and command-line interface |
| Input Leap | Fork of Barrier, by Barrier’s active maintainer |
| USBKVM | Keyboard, video, and mouse over USB; client app for the USBKVM hardware |
| Barrier | Only works under X11 (No Wayland support) |
| rkvm | Low overhead and doesn't need a display server |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


No WayLand support. Last update 2021 Nov …
And?
We try to feature interesting software. It’s true that Barrier hasn’t seen any recent development, but that’s not, in itself, a reason to exclude it.
There’s always the possibility that development can restart — this happens so many times.
Of course, using software without recent development can be unwise such as with web browsers, AV, or if a program needs a really old toolkit which can be difficult to compile on modern distros.
I’ll update the article to make it clear it’s X11 only. Good point.