in reply to Re^2: X11::GUITest and Umlauts
in thread X11::GUITest and Umlauts

It's been years since i used it, but you could potentially use Net::VNC as a workaround for sending key codes.

There's also the venerable X11::Xlib for a bit of low level access. Function XSendEvent() is potentially what you are looking for to send a XKeyEvent. You might also have to look at load_keymap() to look up how to translate Text strings into key codes, because X11 at this level handles row button presses, not text input.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Also check out my sisters artwork and my weekly webcomics

Replies are listed 'Best First'.
Re^4: X11::GUITest and Umlauts
by LanX (Saint) on Oct 25, 2025 at 10:32 UTC
    > workaround for sending key codes.

    Thanks, but as I already said, shelling out to xte from xautomation to send strings does the trick for me.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery