inputexec

Simple program to execute commands on keypress on headless Linux (by rbarrois)

Inputexec Alternatives

Similar projects and alternatives to inputexec

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better inputexec alternative or higher similarity.

inputexec reviews and mentions

Posts with mentions or reviews of inputexec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.
  • Hrvach/Deskhop: Fast Desktop Switching Device
    20 projects | news.ycombinator.com | 27 Dec 2023
    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.

Stats

Basic inputexec repo stats
1
21
10.0
over 2 years ago

The primary programming language of inputexec is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com