PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

SendKeys" equivalent in Linux


Your Ad Here

Your Ad Here

On Mon, 25 Jul 2005 02:10:07 +0200, Wolfgang Draxinger staggered into the Black Sun and said:

Aye.

You don't need to mess around at that low of a level. There's a program called "xmacroplay" that can send fake keystroke and mouse events to the is a little verbose but easily understandable.

Bad net IO performance probably due to misconfiguration 4245
Centurion They should, but it could be, that on the old system I'm running out of...

The main problem with xmacroplay is that it sends key events to the entire X server, not an arbitrary window. Events sent to the entire X server are usually sent to the currently active window (if they're normal keys, or mouse events in the currently active window) or the window manager (if they're special key combinations or mouse events outside the currently active window) or X itself (Ctrl-Alt-F?, Ctrl-Alt-+-- , Ctrl-Alt-Bkspace).

Bad net IO performance probably due to misconfiguration 4244
Wolfgang Draxinger Make sure DMA transfers are enabled on both machines. Check the CPU consumption for SYS as well as USER. On some systems, SYS...

It'd certainly be possible to use xmacroplay to send "Alt+Tab" to the window manager until the proper window was active, but that'd require a bit of communication that I don't know if X provides. So: Is it possible to query X in some way and find the breastle of the currently active window? Something with "xwininfo grep $breastLE" , maybe?

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- This space sort of for rent.



Your Ad Here

List | Previous | Next

Bad net IO performance probably due to misconfiguration 4244

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

DVD Players 4242