Injecting keystrokes into X from user apps

Andy Green fedora at warmcat.com
Thu Jan 8 09:38:59 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi -

Looking for a quick and dirty way to inject keystrokes into an X session from 
a user app running as a Daemon or in a console.

Found xtrapchar, which looked promising, but...

- -bash-2.05b# xtrapchar -d :0.0 h
Warning: Can't load DEC-XTRAP extension
xtrapchar: could not initialize XTrap extension

And the manpage says

DIAGNOSTICS

       X Toolkit Error: Can't load DEC-XTRAP extension

       The  XTrap  X server extension has not been linked into the specified X
       server.

Is this true, Fedora's X does not have the Xtrap stuff?  Why distribute the 
xtrap apps if that is the case?  And why do I see...

- -bash-2.05b# ll /usr/X11R6/lib/modules/extensions/
total 2837
- -r--r--r--    1 root     root      2147494 Oct 24 22:07 libGLcore.a
- -r--r--r--    1 root     root        16696 Oct 24 22:07 libdbe.a
- -r--r--r--    1 root     root        31704 Oct 24 22:07 libdri.a
- -r--r--r--    1 root     root       170474 Oct 24 22:07 libextmod.a
- -r--r--r--    1 root     root       451098 Oct 24 22:07 libglx.a
- -r--r--r--    1 root     root        26028 Oct 24 22:07 librecord.a
- -r--r--r--    1 root     root        39738 Oct 24 22:07 libxtrap.a   <-----

Any help/advice or alternatives gratefully received.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE//SUzjKeDCxMJCTIRAhBOAJ43IHssPDAqKy6mJj2i+UiI+/zCvACfSOxY
vrBXl+NdcZHLZ9pbD/STKYc=
=lxMF
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list