Is it possible to simulate multiple keys press in Java application which is running in system without graphics environment or even started by systemd
? It doesn't have to be multisystem solution, may just work in Linux.
If there is windows environment running I could use Robot
as described here How to simulate keyboard presses in java? but in this case I can't (I get AWTException: headless environment
)