I want to simulate mouse clicks in Python (and if it is possible, also keyboard inputs) in a Linux system (Ubuntu), so I am able to create a macro for an external program.
I have researched a bit, and found questions like this which use win32api or ctypes to do the job. But since I am working in Ubuntu, those doesn't fit for me.
I also found Xaut (former Xautomation), which is said to simulate mouse and keyboard interactions over Linux systems. But it is hard to install for me, and it lacks documentation and examples anyway.
I really like the win32api solution, it's very simple. Isn't there any similar solution for Linux?