How do I disable Ctrl + Alt + F1 (for F1 through F12 ) buttons?

How can I configure Debian("Squeeze") so that nothing happens when the user presses those keys?

I'm using Gnome as the default desktop.


This requires some manual X11 server configuration. Look in /etc/X11/xorg.conf; if it doesn't exist, you'll need to create it with the following contents:

Section "ServerFlags"
  Option "DontVTSwitch" "on"

If it does exist, look for a Section "ServerFlags" and add the Option line above to it; if there isn't one, append the above lines to the file.

  • 3
    What can I do if, for some reason, I want only to disable Ctrl + Alt + F11? – Radu Rădeanu May 1 '13 at 9:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.