Version 2 of software keypress emulation

Updated 2009-01-04 10:25:45 by pa_mcclamrock

D. McC 2009/01/03: I've been trying to find the simplest way to make "Num Lock" come on automatically (on Puppy Linux 4.1.1, where it doesn't). I've already ascertained that installing a program such as "numlockx" is not the simplest way. All I really need to do, it seems, is to have the computer (1) determine whether Num Lock is already on, and (2) emulate a Num_Lock keypress if it isn't. Can somebody tell me if Tcl provides a way to make these actions as simple as they seem? If so, thanks in advance!

Scott Beasley 2009/01/03: This [L1 ] may get you going in a direction, not sure if it's the right one though. X will have to be up I suppose for a pure tcl'ish solution to work. Some C code may be in order.

D. McC Sorry, but I didn't see anything in that page that would help me determine whether Num Lock is on or emulate a Num_Lock keypress. I tried some options with "event generate," but they didn't work either.


enter categories here