

























Back when I used XMonad as my window manager, I had a handful of tools written using xdotool. Switching to wayland did break them, but I later learned about ydotool (https://github.com/ReimuNotMoe/ydotool) which does many of the same things. It emulates an actual input device at the kernel level, and therefore runs no matter what display technology one is using. It's also not a perfect replacement for xdotool, and using non-default keyboard layouts with it is slightly painful, but it is functional. Similarly, many wayland compositors have an equivalent of xkbset, although it's obviously less convenient that they're different tools.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。