News for hackers. Stuff that matters.
Re:Programs that have saved Hacker News 100+ hours by automa... by sgc on Saturday February 12, 2022 @06:23PM (#30317392)
Is there anything like AutoHotKey for Linux (Debian/Ubuntu)? It's the thing I miss the most from using Windows.
Re:Programs that have saved Hacker News 100+ hours by automa... by heavyset_go on Saturday February 12, 2022 @06:27PM (#30317413)
If you're on X11, there's xdotool and for Wayland, ydotool.
Re:Programs that have saved Hacker News 100+ hours by automa... by sgc on Saturday February 12, 2022 @07:00PM (#30317648)
The potential in xdotool is there, however what I loved about AutoHotKey was the ability to inspect windows and actions to use for scripting purposes. Not sure if there is such a feature I am missing in xdotool or similar.
Re:Programs that have saved Hacker News 100+ hours by automa... by heavyset_go on Saturday February 12, 2022 @07:21PM (#30317764)
It's not the same, but kwin's rules and scripting features allow you to inspect windows and automate some of their actions. If you combine them with xdotool/ydotool, you might be able to recreate some of the features you expect.
Re:Programs that have saved Hacker News 100+ hours by automa... by sgc on Saturday February 12, 2022 @08:16PM (#30318129)
Sending me towards the right path.

It looks like I could write a little script using some of xdotools built in tools for cursor coordinates, active window info and geometry etc that would be pretty useful. As a quick solution it could alert using notify-send on a key combination, although figuring out how to append the data to the cursor overlay would be even nicer.

Re:Programs that have saved Hacker News 100+ hours by automa... by heavyset_go on Saturday February 12, 2022 @11:19PM (#30319182)
Re:Programs that have saved Hacker News 100+ hours by automa... by dddw on Saturday February 12, 2022 @06:43PM (#30317527)
Espanso does similar things (cross-platform) https://espanso.org/
Re:Programs that have saved Hacker News 100+ hours by automa... by TeamXe on Saturday February 12, 2022 @06:53PM (#30317603)
Re:Programs that have saved Hacker News 100+ hours by automa... by sgc on Saturday February 12, 2022 @08:19PM (#30318151)
I tried it and found that it did not do enough to make it useful for me. Definitely the first thing to look at though.