ydotool
evsieve
ydotool | evsieve | |
---|---|---|
63 | 17 | |
1,465 | 210 | |
- | - | |
6.4 | 7.6 | |
about 2 months ago | 3 days ago | |
C | Rust | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 only |
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.
ydotool
- Show HN: Bonk, a command-line tool for X11 window management
-
Improving cursor rendering on Wayland
Wayland provides little by design, so this is quite typical. For example:
Screensharing is handled by pipewire [0], changing keyboard layouts aren't defined [1] by wayland, and generally anything Wayland devs think would 'corrupt' their protocol.
They leave most things to the compositor to implement, which leads to significant fragmentation as every compositor implements it differently.
Long gone are the days of xset and xdotool working across nearly every distro due to a common base, now the best you'll get is running a daemon as root to directly access `/dev/uinput` [2] or implementing each compositors accessibility settings (if they have them) as a workaround.
[0] https://superuser.com/questions/1221333/screensharing-under-...
[1] https://unix.stackexchange.com/questions/292868/how-to-custo...
[2] https://github.com/ReimuNotMoe/ydotool
-
how hard is it to program pinch zoom for my touchpad in linux?
I personally use libinput-gestures to call commands using touchpad gestures. You can also combine it with ydotool to bind macros and such to your gestures, e.g. 4 fingers swipe down closes the current window, 3 fingers swipe left or right changes workspace, etc
-
ydotoold background process?
Have you tried using the systemd unit file supplied with ydotool? It's probably installed somewhere on your system. Else you can get it here and just change the install location of ydotoold.
-
KDE-Connect keyboard input works on Wayland now!!
For simulated keyboard there are tools such as dotool or ydotool and KeePass extensions such as KPUInput that work by giving the user access to /dev/uinput. That works, but it's a bit inelegant; I guess in the future a Wayland protocol for simulated keyboard input will emerge, like wlroots already has, also for virtual pointers.
-
Out of curiosity, I tried to use Wayland earlier and compared to X11, everything seems to load faster which really surprised me. However, I've also noticed some things that confused me, that's why I'm posting this. To ask what I'm missing or what I did wrong. Thanks as always!
ydotool is the generic equivalent. It works on both X11 and Wayland environments.
-
Curious to know what are your general experiences on using keyboard and mouse input automations on Wayland...
Autokey does not work yet, but there is Hawck and Espanso that you could play around with. And there is ydotool if all you need is simulating basic input (as in ydotool mousemove -x -10 -y -10, ydotool type 'Hello world!' and so on).
-
Asahi Linux To Users: Please Stop Using X.Org
Does ydotool do what you need? I haven't even tried Wayland in years. I'm sure someday I'll find the need.
- Somehow AutoHotKey is kinda good now
- How to emulate mouse clicks with keyboard shortcuts
evsieve
-
Why is the ydotool virtual device ignored? How I can use ydotool with hyprland?
Same with evsieve: I can see the keys I press, like in wev, but the remap doesn't work for the keyboard or the mouse:
-
evdev keyboard passthrough and non-standard keys
My best suggestion for you is to leverage evsieve: https://github.com/KarsMulder/evsieve
-
𝑥MK: Use programmable keyboard firmware with any keyboard.
There are many other software tools such as https://github.com/jtroo/kanata and https://github.com/KarsMulder/evsieve. The main difference with 𝑥MK is that you can use native QMK and ZMK.
- Lua-based approach to Caps-Lock warning / indicator
-
Anyone Here Using Sway? Is It Stable? How Did You Install?
Ironically I know you can do this in i3 and xorg/gnome using xmodmap or editing the xkb file. I'm pretty sure wayland compositors should be able to read xkb-compliant files but the recommended way of loading that in is probabaly different between various compositors? You could also use a "second generation" interception tool that works at the event device level.
-
Manjaro + Hackintosh + Windows Setup
You might want to try evsieve, it even has an example about toggling devices and it concludes with a hint on how to get this to work for 2 VMs.
-
Change evdev toggle for keyboard/mouse
Evsieve is amazing in general you sould check it out 🙂
-
Switching my inputs back and forth from guest VM when using GPU passthrough
evsieve has solved that for me, as the virtual device created is always available; it starts when I log on my computer and stay open forever.
-
Changing the evdev peripheral switch keyboard shortcut?
evsieve can remap. I haven't used it yet but you can find it here: https://github.com/KarsMulder/evsieve
-
Is it possible to remap evdev's keybindings to return to Host?
If this feels a bit limited (you have a few predefined options), there's also evsieve. Which allows you to do a lot more (like selective key pass-through, shortcuts, etc.).
What are some alternatives?
xdotool - fake keyboard/mouse input, window management, and more
evdev-proxy - Creates virtual device to proxy evdev devices events
wtype - xdotool type for wayland
barrier - Open-source KVM software
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
kbct - Keyboard keycode mapping utility for Linux supporting layered configuration
key-mapper - 🎮 An easy to use tool to change the mapping of your input device buttons. [Moved to: https://github.com/sezanzeb/input-remapper]
hotplugger - VirtIO (VFIO) USB Port passthrough helper
sway - i3-compatible Wayland compositor
Roar
fusuma-plugin-sendkey - Fusuma plugin that sending virtual keyboard events
vfio-kvm - A systemd service that sends a D-Bus signal when the QEMU evdev hotkey is triggered.