I'm trying to send a keyboard key sequence to a client from the terminal using awesome-client
, with the fake_input
function (https://awesomewm.org/doc/api/libraries/root.html#fake_input), I used the send_string_to_client
snippet.
However, this doesn't work. The specified client gets the focus but the keys are sent to the terminal from where I called the awesome-client
. I also tried after adding a awful.keygrabber.stop()
and a awesome.sync()
to let awesome know about the client focus change, but that doesn't do the trick...
Any idea ?