this post was submitted on 28 Aug 2025
40 points (93.5% liked)

Linux

58219 readers
1367 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

The main barrier for me transitioning to Linux as my main OS is finding a suitable alternative to AutoHotKey (AHK) on windows. I use AHK for all kinds of automation but haven't found a usable alternative in Wayland.

Thought I'd check here to see if anyone has any suggestions?

you are viewing a single comment's thread
view the rest of the comments
[–] med@sh.itjust.works 1 points 2 weeks ago

I'm on hyperland, and I've configured ydotool to do some of this work. It can move the mouse, enter keyboard shortcuts and do a bunch of things that autohotkey can, however it is by no means a complete solution, or one that comes with sensible defaults. It's just a daemon and client, and you'll need to set it up to do what you want.

As far as I know there's no record and replay function, though you could likely script one.

Also, for triggering the scripts, you'll need to set your Desktop's keybindings to point to them.

For me, it filled the requirements that it was launchable by systemd unit, as the user on login.

I use it for a vairiety of tasks, but the primary one is typing out my clipboard as if I had pasted something. I rebound alt + shift + p to that, so I can paste windows login passwords or whatever in to Teamviewer/other stuff that doesn't accept a paste command.