Is there a way that I can stop the Ctrl+Alt+F4 key combination from switching to a virtual terminal? I still want the other key combinations to switch to terminals – I just want to change the F4 one because I often use that keyboard shortcut in a Windows VM.
Ubuntu – Disable CTRL+ALT+F4 switching to virtual terminal
shortcut-keysvirtual-terminalvirtualization
Related Question
- Ubuntu – How to get Ctrl+Alt+F* virtual terminals to work in Ubuntu 12.04
- Ubuntu – Cannot remap Alt-Tab combination after switching Ctrl and Alt
- Ubuntu – VirtualBox traps CTRL-ALT when focused, interferes with workspace switching
- Ubuntu – How to disable the virtual-terminal-switching shortcut keys in X
- Ubuntu – Something blocks Ctrl+Alt+left/right-arrow keyboard combination
Best Answer
You can modify the keymap, with the following command:
Tested on 14.04, and 14.10, and it works. To have the command work even after restart, use upstart. For additional ways, and info see here