Disable Ctrl+Alt+Fn
I'm trying to disable virtual terminal switching in my Ubuntu install. I tried adding the following to xorg.conf (not both at the same time, obviously):
Section "Serverflags" Option "DontVTSwitch" "yes" EndSection Section "Serverflags" Option "DontVTSwitch" "true" EndSection Neither of them worked; I could still switch with Ctrl+Alt+F1, etc. How do I disable terminal switching in Ubuntu? |
Do you already have another Serverflags section in your xorg.conf? If so, you might need to add it there. Did you restart X after each attempt to make sure the config-file was re-read? Did it give any warnings (WW) that might've indicated that there was an error with the config file?
|
There was no other "Serverflags" section already existing. I restarted X each time so xorg.conf was re-read. When I tried the first one, nothing unusual happened, except that I was still able to switch virtual terminals as usual. When I tried the second, X wouldn't come up at all until I deleted those lines from xorg.conf with vi.
What is WW? |
(WW) is the code X inserts in front of lines containing warnings in its logs. (EE) is the code for errors. Ordinarily, X.org will create a file like /var/log/Xorg.0.log with information about its startup procedure. You could check in there to see if it said anything about that option.
|
Nope, no mention of "serverflags" at all in that file.
Has anyone ever disabled the virtual terminal switching in Ubuntu? Or in Debian, perhaps? |
I've found that apparently all you should need is:
Code:
Section "Serverflags" |
All times are GMT -5. The time now is 09:06 AM. |