-----BEGIN PGP SIGNED MESSAGE----- On Fri, 3 Sep 1999, Brad wrote:
> I'm looking for a way to execute a command under X when certain key > combinations are pressed. Specifically, i want to make something like > windowbutton-X bring up an xterm. I don't want this command to attempt to > execute in the console. > > I noticed the xkbevd program in xbase-clients, but even looking at the > source i can't figure out how to get it to do this. Is there a program out > there that will do what i want, or do i have to dig into xbooks and try to > write my own? (The X Keyboard Extentions look promising...) Well, since no one even responded to my query, i did go ahead and write my own. If anyone would like to take a look, help debug it, just email me privately and i'll send you the sources. The only problem i have is that the keystroke is delivered to the focused app, as well as launching the command. For example, if you used ctrl-D, and pressed it in a bash shell in an xterm, the shell will exit at the same time the command is launched... - -- finger for PGP public key. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBN9Xux77M/9WKZLW5AQER+wP+NhWQ89ZaQx1ey0dB7hMvDsILp8IzX8Nr KjZBXGZ84LedxQL+KdurBOhdMTWGkQhqT8zahvabv3myYlTSlRJA/10rTlhqTp9S yWRbSasScTc2lWbjFMjJPTHj+RwZR7seT/fFdzWnCURnuTAGTMk+m2NOV524s2NR FMLxPmHpMLA= =rIZV -----END PGP SIGNATURE-----