What does Ctrl + Alt + F10 do on Ubuntu 18.04?
I have Intellij Idea, which has its own shortkeys bound to Ctrl + Alt + F10, and I got some weird screen blackout after pressing these keys on my Ubuntu.
I was only able to switch my screen back after pressing Super + F2.
What does this key combination do? How can I disable it?
Solution 1:
These keys switch to virtual consoles, in as far as these are active. In a default installation of Ubuntu, no consoles are set up above Ctrl+Alt+F6, which is why you see nothing more than a blinking cursor after pressing that keyboard combination. Hit Ctrl+Alt+F2 or simply Alt+F2 to return to your graphical desktop. You have virtual consoles available on Ctrl+Alt+F3 up to F6.
Solution 2:
As explained here https://askubuntu.com/a/1315576/1017209 you could use into your console or sh-batch-file
setxkbmap -option srvrkeys:none
to disable all ctrl + alt + Fxxx hotkeys
i have tested this in Kubuntue 20.4