Public bug reported: I have Caps Lock remapped to Control using the Gnome keyboard preferences. When I plug in an external keyboard, (in this case, a Microsoft Natural Keyboard), the mapping no longer works, and caps lock on the external keyboard works as a caps lock key, not as a control key. If I look in the keyboard preferences, it says that caps lock is mapped to control. I note that the caps lock key on the internal keyboard is still properly mapped to control, only the external keyboard is missing the mapping.
xmodmap says the following without the external keyboard plugged in: [hup:0]% xmodmap -pm xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock control Control_L (0x25), Control_L (0x42), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) and with the external keyboard plugged in: [hup:0]% xmodmap -pm xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) Note that if with the external keyboard plugged in, I go to the keyboard preferences, and turn off the remapping of caps lock, and then turn it back on, the remapping sticks until the next time I unplug the external keyboard and plug it back in. Yet another data point: if I run xmodmap using the internal keyboard to type the command and run it, I get the expected xmodmap listing (the first one above), and if I do the same thing with the external keyboard, I get the second listing. (unless I've done the workaround just mentioned, in which case both maps are identical) So it looks like my keyboard settings are different for each keyboard, but there seems to be no way to discover this through the UI. I know I never had this problem with 8.04, and but I'm not sure if I've always had this problem with 8.10. [hup:0]% lsb_release -rd Description: Ubuntu 8.10 Release: 8.10 (And I'm not sure what package provides this functionality, but I have all of the latest updates to 8.10) ** Affects: ubuntu Importance: Undecided Status: New -- Caps Lock stops being a Control key with an external keyboard https://bugs.launchpad.net/bugs/309434 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs