hi
Howto disable CTRL-ALT-F1...F6 on Mint with LXDE?
SOLVED! disable CTRL-ALT-F1...F6
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
SOLVED! disable CTRL-ALT-F1...F6
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: disable CTRL-ALT-F1...F6
Depends on which Linux Mint version you are using. Assuming you are using a supported version of Linux Mint (13 or above), configure the Upstart services for these to not start automatically. I recommend you keep at least one virtual console functioning so you can use that in case you run into problems with your graphical desktop. In any case, this will not save you any significant amount of RAM or CPU if that was your intent.
To disable the virtual console at Ctrl+Alt+F1:
Repeat the command for the other 5 as desired, replacing 'tty1' with 'tty2', 'tty3', and so on.
To disable the virtual console at Ctrl+Alt+F1:
Code: Select all
echo manual | sudo tee -a /etc/init/tty1.override
Re: disable CTRL-ALT-F1...F6
Create as root in /usr/share/X11/xorg.conf.d/50-novtswitch.conf with these entries:
Code: Select all
Section "ServerFlags"
Option "DontVTSwitch" "true"
EndSection