ydotool
AHK_X11
ydotool | AHK_X11 | |
---|---|---|
63 | 22 | |
1,282 | 735 | |
- | - | |
5.3 | 8.8 | |
about 16 hours ago | about 1 month ago | |
C | Crystal | |
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
AHK_X11
-
Rethinking Window Management in Gnome
Just FYI the exact same thing is now also possible with AHK_X11 on Linux https://github.com/phil294/AHK_X11
- Somehow AutoHotKey is kinda good now
-
Steam deck - Macros
If you can't get what you want via Steam Input, you'll have to go desktop mode with a full macro suite likeAHK_X11 or Keysharp.
-
Wine Wayland Driver
This falls right on time for my 2023 "Linux on the desktop" attempt! (now I wish https://github.com/phil294/AHK_X11 had a Wayland option...)
I can't live without Office! My personal favorite is 2010 x64, as Word then starts faster than the current Wordpad.
Office 2010 works great in Windows 11, but there've been some suspicious move making me believe old office version will be given a poison pill or something under the plausible deniability of "security risks of 13 year old software", like how Outlook 2010 can't connect to outlook.com anymore (though it works great with gmail using google's GWSO plugin)
On MY computer, I run what I want. So I'll try Office 2010 in wine within Wayland.
-
A guide to macroing on Linux
GitHub - phil294/AHK_X11: AutoHotkey for Linux (X11-based systems)
-
Learning Linux: recommended resources
I want to switch, but the only snag is that I love AutoHotkey, and a Linux port is still in progress. I use AutoHotkey to make my keyboard and (especially) my mouse more useful. I could probably do the same things by other means in Linux—everything is customizable in Linux, after all. And anyway I might use my mouse less and less as I become more capable with the terminal. Still, I'll wait a while in the hope that I'll be able to more or less plop my AutoHotkey script into the Linux version.
-
AutoHotkey v2 Official Release Announcement
Check out https://bitbucket.org/mfeemster/keysharp/ and https://github.com/phil294/AHK_X11, two attempts at porting AHK to Linux. The former isn't usable yet, the latter is by me and somewhat incomplete.
-
What's your current experience with WSL?
The only Windows-specific app I use is AutoHotkey, and I'm pleased to see that a Linux rewrite is in development 🎉 And wouldn't you know it, written in Crystal!
-
AutoHotKey V2 (Breaking Upgrade)
AHK_X11 is AutoHotkey for Linux and it does not yet support Wayland, but it's definitely impossible https://github.com/phil294/AHK_X11/issues/2 (see also: ydotool)
-
Marten, a Crystal web framework that makes building web apps productive and fun
I have recently learned to use it to create an AutoHotkey for Linux implementation (https://github.com/phil294/AHK_X11), and it's been a delightful experience. If you like programming in Go and Ruby syntax, this will be your go to language. Other than that, it bears but few surprises, which I would consider a good thing. Its major downside is its compilation time and poor IDE support. Also, you should not be afraid to search through Crystal's GitHub issues or dig into the stdlib's source for more exotic use cases. However, the latter is as easily accessible as is your own code, and the community around Crystal seems quite friendly and welcoming. Contrary to sibling comments, I find it well suited for programs outside of web development as well.
And most of all, it's fast.
What are some alternatives?
xdotool - fake keyboard/mouse input, window management, and more
espanso - Cross-platform Text Expander written in Rust
wtype - xdotool type for wayland
xremap - Key remapper for X11 and Wayland
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
evsieve - A utility for mapping events from Linux event devices.
RetroBar - Classic Windows 95, 98, Me, 2000, XP, Vista taskbar for modern versions of Windows
sway - i3-compatible Wayland compositor
shell - Pop!_OS Shell
key-mapper - 🎮 An easy to use tool to change the mapping of your input device buttons. [Moved to: https://github.com/sezanzeb/input-remapper]
ahkx - autohotkey interpreter compiled with gcc