You might could use/compile AHK to make it run with linux. It is open source after all.