Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on.

Recently, I installed CentOS 6.3 on a machine. The installation is non-customized and uses Gnome 2.

To my surprise Alt-F4 switches to console. Alt-F1 then brings you back to the XServer. How can I change the keybinding to Ctrl-Alt instead of simply Alt?

It also seems to bypass Gnome's key bindings. In Gnome, I tried to define Alt-F4 as close window, but it does not work but still switches to the console.

share|improve this question
Are you sure you don't just have a bad Ctrl key on your keyboard? – Michael Hampton Jan 1 '13 at 2:05
@MichaelHampton The keyboard itself is fine, but as it seems there was a temporary software problem. After restarting the machine, the problem is gone. – Philipp Claßen Jan 1 '13 at 13:43
I have this problem Too... I use Manjaro... Had you solve your problem? – user102150 Feb 6 '15 at 13:41
@Jao I did not find the reason why it sometimes happened, nor was I able to reliably reproduce it. As I didn't use that CentOS installation myself on a daily basis, I have only seen that strange behaviour when I initially set up the system. – Philipp Claßen Feb 6 '15 at 16:37
up vote 1 down vote accepted

The problem vanished after a restart. I can only speculate about the reasons. It is possible to set CTRL per software. Maybe that happened. I didn't mess around with keymap or anything like that, so I don't know what caused the problem.

Sorry, for the false alarm. :-(


From time to time, the problem repeats. It vanishes with a restart. I still don't know why.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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