Article Title : Mwm Menus and Caps_Lock Creation Date : 09/22/94 Message ID : CNLNHQ Last Update : Expiration Rules : unknown Location : applications ================================================================= Mwm menus and window controls sometimes do not work when Num_Lock is on. There are two ways to fix this: modify the .mwmrc file so that the button bindings are defined to work with the Num_Lock modifier. A sample is below. Or, use xmodmap to clear the Num_Lock modifier. In either case, use xmodmap to see what the Num_Lock modifier is: For example, on a DG system, the xmodmap output is: % xmodmap xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x12), Shift_R (0x59) lock Caps_Lock (0x11) control Control_L (0x14), Control_R (0x58) mod1 Alt_L (0x19), Alt_R (0x39) mod2 mod3 mod4 Num_Lock (0x76) mod5 Use the command: % xmodmap -e 'clear mod4' to clear the modifier. On SCO, the Num_Lock is mod2, and you would use the following button bindings to fix it. *** Sample button bindings for .mwmrc *** # Prevent NumLock (=Mod2 on SCO server) from interfering with bindings. # Mod2 root f.menu RootMenu Mod2 root f.menu RootMenu Mod2 frame f.raise Mod2 frame|icon f.post_wmenu Mod2 frame|icon f.post_wmenu Mod2 Meta icon|window f.raise_lower Mod2 Meta icon|window f.move