Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!snorkelwacker.mit.edu!stanford.edu!neon.Stanford.EDU!news From: albert@Sunburn.Stanford.EDU (Albert Peters) Newsgroups: comp.windows.x Subject: xmodmap: bad set modifier mapping Message-ID: <1991Mar29.213742.22460@neon.Stanford.EDU> Date: 29 Mar 91 21:37:42 GMT Sender: news@neon.Stanford.EDU (USENET News System) Organization: Computer Science Department, Stanford University Lines: 43 Hi. Can someone explain why I'm getting this error message? What does the message mean? Is there anyway to do what I want without getting the error? I'm trying to use xmodmap to reconfigure the keyboard on a VAX 2000 running X. Most things work, but there is one command which gives a mysterious error message. The initial keysyms are as follows: keycode keysym ------ ------ 175 Control_L 176 Caps_Lock 124 Help I want to make the key which is labeled "Caps_Lock" (176) to act as an additional control key. And, I want the key labeled "Help" (124) to act as Caps_Lock. Here's the part that works: % xmodmap - remove Lock = Caps_Lock keycode 176 = Control_R add Control = Control_R keycode 124 = Caps_Lock ^D % But, when I try to do the last step, the following happens: % xmodmap - add Lock = Caps_Lock xmodmap: bad set modifier mapping % xev reveals that I have successfully assigned "Caps_Lock" to the "Help" key. But, the modifier map doesn't have it and it doesn't work as desired. I have also tried KP_F1, F14, F5, and TAB with similar results. Any insight would be appreciated. Please respond by EMAIL to albert@cs.Stanford.EDU. Thanks, --Albert