xplugd
Monitor, keyboard, and mouse plug/unplug helper for X (by troglobit)
xinputd
Simple Xorg input watching daemon which executes command on attach or detach of input devices (by bbenne10)
xplugd | xinputd | |
---|---|---|
2 | 2 | |
64 | 5 | |
- | - | |
2.7 | 10.0 | |
almost 2 years ago | about 7 years ago | |
C | C | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
xplugd
Posts with mentions or reviews of xplugd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-02.
-
Detect the number of monitors when xrandr doesn't detect when the monitor is off
I'm not sure about turning on or off, but there is a very nice project, https://github.com/troglobit/xplugd, that keeps a daemon running and reacting to when a display is connected or disconnected, or a keyboard or a mouse, and then runs a shell script which you can then run xrandr commands, for example. It won't be triggered on turning a monitor on or off, but it will work on disconnecting or connecting. It is also does not depend on your window manager, doesn't matter if it is Qtile or something else. It is a nice project, I use and really like it, but I'm not sure it is 100% what you want here. ):
-
Swap keys globally for all keyboards
Have a look at xplugd, or xinputd that allow you to run commands on X server events.
xinputd
Posts with mentions or reviews of xinputd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-18.
-
trigger udev on keyboard plug/unplug
Not sure if this will work for you, but I had some trouble with udev rules not applying when using my usb hub that can switch between two PCs, so I used https://github.com/bbenne10/xinputd instead (available in AUR) to set a language per keyboard.
-
Swap keys globally for all keyboards
Have a look at xplugd, or xinputd that allow you to run commands on X server events.
What are some alternatives?
When comparing xplugd and xinputd you can also consider the following projects:
xfocusnotify - X11-tool which exits when a window is focused and prints the respective window-id.
mos - A hobby operating system developed from scratch
janus-key - Low-level GNU/Linux dual function key remapper (X and Wayland)
wdisplays - Mirror of cyclopsian/wdisplays
dragon - Drag and drop source/target for X
ddcutil - Control monitor settings using DDC/CI and USB