Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: X11::GUITest and Umlauts

by cavac (Prior)
on Oct 23, 2025 at 08:03 UTC ( [id://11166579]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166579]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2025-12-05 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (84 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.