I can reproduce the bug in Ubuntu 18.04.1 by re-configuring keyboard- configuration package (version 1.178ubuntu2.7) with DISPLAY being unset/empty, e.g.:
tuomas@matta:~ 0 $ sudo DISPLAY= DEBIAN_FRONTEND=noninteractive \ dpkg-reconfigure keyboard-configuration update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.130ubuntu3.1) ... update-initramfs: Generating /boot/initrd.img-4.15.0-33-generic And after running this Alt+F2 switches to VT2 even from X11. When switching back to X11 (with Alt+F1), it appears that the Alt+F2 also goes to X11, since the krunner popup opens (bound to Alt+F2). Running "sudo kbd_mode -s" in a terminal window within X11 makes the Alt+Fx keys act normally again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/520546 Title: Alt-f2 switches to virtual terminal 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-cyrillic/+bug/520546/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs