Accepting the fix into stable releases. Note that the fix only prevents new breakages; existing affected users will not be unbroken without rebooting (or rebooting X).
** Description changed: - (console-setup) [Impact] - * keyboard-configuration's postinst changes keyboard mode breaking X + * keyboard-configuration's postinst changes keyboard mode breaking X keys. + + [Workaround] + + Reboot (or restart X) and the problem will go away. [Test Case] - * Ssh to a system or open a terminal and unset DISPLAY + [racb] Note that upgrading to the fixed package will not fix the problem + for affected users; you must reboot (or restart X) as above. The fix + only prevents the problem occurring again. - $ echo $DISPLAY - - $ + * Ssh to a system or open a terminal and unset DISPLAY - * Check kbd mode, should be raw (set by kbd_mode -s) or unknown: - $ sudo kbd_mode - The keyboard is in some unknown mode - $ sudo kbd_mode - The keyboard is in raw (scancode) mode - $ + $ echo $DISPLAY - * Install or reinstall kbd-configuration + $ - $ sudo apt install --reinstall keyboard-configuration - ... - Setting up keyboard-configuration (1.178ubuntu11) ... - Your console font configuration will be updated the next time your system - boots. If you want to update it now, run 'setupcon' from a virtual console. - ... + * Check kbd mode, should be raw (set by kbd_mode -s) or unknown: + $ sudo kbd_mode + The keyboard is in some unknown mode + $ sudo kbd_mode + The keyboard is in raw (scancode) mode + $ - * With the fixed package you should see the note above and the kbd mode + * Install or reinstall kbd-configuration + + $ sudo apt install --reinstall keyboard-configuration + ... + Setting up keyboard-configuration (1.178ubuntu11) ... + Your console font configuration will be updated the next time your system + boots. If you want to update it now, run 'setupcon' from a virtual console. + ... + + * With the fixed package you should see the note above and the kbd mode must stay the same: - $ sudo kbd_mode - The keyboard is in raw (scancode) mode - $ + $ sudo kbd_mode + The keyboard is in raw (scancode) mode + $ - * The unfixed package sets the kbd mode to unicode: + * The unfixed package sets the kbd mode to unicode: - $ sudo kbd_mode - The keyboard is in Unicode (UTF-8) mode - $ + $ sudo kbd_mode + The keyboard is in Unicode (UTF-8) mode + $ [Regression Potential] - * The change may break debian-installer changing the keyboard mode, this should also be tested. - * In general changing the postinst script may make the package unable to install, but this is tested in generic environment and the change to the postinst script is very small. + * The change may break debian-installer changing the keyboard mode, this should also be tested. + * In general changing the postinst script may make the package unable to install, but this is tested in generic environment and the change to the postinst script is very small. [Original Bug Text] WORKAROUND: sudo kbd_mode -s ORIGINAL DESCRIPTION: I'm running Ubuntu Lucid development branch. Pressing alt-f2 switches the screen to the second virtual terminal. Alt-f3 does the same to the third and so on. I expected alt-f2 to open the run dialog. I'm pretty sure that my keyboard is not malfunctioning as I can use all my applications normally. (Pressing O and Ctrl-O do not have the same effect.) I'm not sure which package I should file this bug against. I'll happily do an apport-collect once I know. ** Changed in: console-setup (Ubuntu Disco) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-disco -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/520546 Title: Alt+KEY incorrectly behaves like Ctrl+Alt+KEY, and/or unwanted VT switch from Alt+Left/Right To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/520546/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp