EventGhost is not available for Linux but there are a few alternatives that runs on Linux with similar functionality. The best Linux alternative is Repeat, which is both free and Open Source. If that doesn't suit you, our users have ranked more than 10 alternatives to EventGhost and three of them are available for Linux so hopefully you can find a suitable replacement. Other interesting Linux alternatives to EventGhost are xdotool (Free, Open Source) and LIRC (Free).
Repeate is a full-fledged, Java mouse/keyboard record/replay and automation hotkeys/macros creation using modern programming languages, and more advanced automation features. Working across three major OSes: Windows, OSX, and Linux.