inputexec
barrier
inputexec | barrier | |
---|---|---|
1 | 618 | |
23 | 27,735 | |
- | 0.7% | |
10.0 | 0.0 | |
almost 3 years ago | 6 months ago | |
Python | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inputexec
-
Hrvach/Deskhop: Fast Desktop Switching Device
I recently put something together similar to this, to switch between my personal PopOS/Windows machine and my work Macbook Pro.
I used one of these manual USB switchers, (https://sabrent.com/products/usb-sw30), and connected it's switch to a Raspberry Pi 4B via GPIO (4B is overkill by wanted hardwired network). There's a small separate keyboard (which will later be a macro keypad of some sort), connected to the Pi. Using inputexec (https://github.com/rbarrois/inputexec) to detect keypresses and then firing off a specific script to send a network request to the LG TV I use as a monitor to switch the source, and then set the GPIO connected to the USB switcher to high or low to switch the keyboard/mouse to the other machine.
I can also turn on/off the TV using the same WebOS API (and Wake-on-lan) as used during the source switch. A Kasa smart outlet also gets toggled to turn on/off a BenQ ScreenBar Halo (https://www.benq.com/en-us/lighting/monitor-light.html).
So with 4 different keypresses, I can switch to Work, to Personal, turn off monitor and light, and turn on monitor and light.
barrier
-
So I made a WebRTC powered VNC client in Vue/Rust 🦀
I used to and still do use and recommend Barrier for sharing a mouse and clipboard and keypresses across OS's. It works for Mac, Windows, and Linux. They have a fork input-leap... it doesn't work, and there is a paid on from the same original developers called Synergy that works well too.
-
My work setup for PHP development
Desktop - Barrier
-
Show HN: Multi-monitor KVM using just a USB switch
For software KVM you can use https://github.com/debauchee/barrier
I use it between a Windows PC & a Macbookpro (Linux version available but I don't have Linux)
- Barrier: Open-Source KVM Software
- Hrvach/Deskhop: Fast Desktop Switching Device
-
Wayland vs. X – Overview
libei looks useful. But IDK why libei is necessary to run Barrier with Wayland?
For client systems, couldn't there just be a virtual /dev/inputXYZ that Barrier forwards events through
And for host systems, it looks like xev only logs input events when the window is focused.
Is xeyes still broken on Wayland, and how to fix it so that it would work with Barrier?
With Barrier, when the mouse cursor reaches a screen boundary, the keyboard and mouse input are then passed to a different X session on another box until the cursor again crosses a screen boundary rule.
Barrier is a fork of Synergy's open core: https://github.com/debauchee/barrier
libei:
-
KVM Switch for Gaming and WFH
I have a similar gaming/WFH setup (2 monitors at 1440p 144hz) and I’ve been using Barrier instead of a physical kvm, and it works really well. Not sure if you’re open to a software kvm but if you are, I’m happy to answer any questions about it if you have any.
-
Autoswap Keyboard Layouts based on Operating System
Have you tried Barrier? I casually used it to swap between my main rig and my MBP. Took a minute to get it setup but once I sorted it all out it worked pretty well. It has some settings and tweaks built in to address some of the layout issues you mentioned...
-
Alternative solution to expensive KVM - Auto Monitor Input Switcher
Barrier appears to handle PC switching only for the keyboard and mouse.
-
IT/programming multi-monitor setup? (coming from 6x old 21" square)
Sorry, probably not entirely on topic and can't answer anything reliable about the multimonitor stuff, but a tip regarding the 2 mice and 2 keyboards for the 2 different computers: use this: https://github.com/debauchee/barrier It's oss multi-os software that lets you use one mouse and keyboard (server) on several PCs (clients) easily over your LAN.
What are some alternatives?
synergy - Use the keyboard, mouse, or trackpad of one computer to control nearby computers, and work seamlessly between them.
input-leap - Open-source KVM software
hidusbf - USB Mice Overclocking Software (for Windows)
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
scrcpy - Display and control your Android device
macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt
sway - i3-compatible Wayland compositor
arewewaylandyet - Sources for https://arewewaylandyet.com
deskreen - Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
winapps - Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.
mac-precision-touchpad - Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad
rkvm - Virtual KVM switch for Linux machines