ramsdell@linus.UUCP (John D. Ramsdell) (03/30/88)
I have an nearly server independent program that installs the Dvorak keyboard. As I expect demand to be light, those interested can send me a request and I will mail you the small program. The program toggles between Dvorak and QWERTY keyboard layouts. When called with any argument, it installs a QWERTY layout, which is useful in .logout files. The major bug with xdvorak is the lack of a method to find out the keycode of the key marked "D" without assuming the keysym associated with that key has not been changed by a call to XChangeKeyboardMapping. This means you must modify the program with the keycode of the key marked "D" in the source before you execute it on your server. If anyone has a server independent method of finding the keycode of the key marked "D" without assuming that keycode maps to a particular keysym, please tell me. John PS. Thanks to David Rosenthal for helping me realize I needed a XFlush() after XChangeKeyboardMapping. I was using xmodmap.c as a model, and xmodmap.c does not call XFlush, so I was quite lost.