Hacker News new | ask | show | jobs
by alrenai 108 days ago
You can make the most popular GUI file explorers on Linux like thunar do this automatically, it's just not enabled by default usually.

The concept for something that combines AHKs scripting/automation functionality with the key remapping doesn't really exist on linux, because there isn't any need for it. You achieve the same result by calling the functionality present in a variety of different programs via a script or small program that links everything - this is the (superior) UNIX way.

Key remapping daemons such as keyd exist, as do a wide variety of extensible/scriptable window-managers/desktop-environments. Almost all of these will contain well documented interfaces and IPC methods which allow you to build anything you can imagine in the context of GUI window manipulation/management. If you're lazy, or don't have time to learn the syntax, any recent AI code helper will most likely oneshot your request - my 16 button mouse has various common GUI window management actions assigned to it(that you might expect something like AHK to handle), and only a couple took longer than a few minutes to implement.

1 comments

> it's just not enabled by default usually.

Because you can't. You just missed the critical word "instantly"

> because there isn't any need for it

No, because you reject the obvious need for it

> via a script or small program that links everything

That's what AHK does