How do I enable Ctrl-Alt-Backspace to kill the X server?
I only tested this on 13.10+, but you could do the following on the terminal type:
sudo dpkg-reconfigure keyboard-configuration
This will open the keyboard configuration script. Press enter 5 times if you don't want to change any keyboard configuration and only want to kill X. When you get to the Kill X option which looks like this:
Select YES and press enter. Wait a bit while everything configures and after that you should have the ability to CTRL+ALT+BCKSPC right on the current session. After saving any work you have pending, try it yourself.
Perfect to solve any visual issues or annoying apps.
greenGlitz
Updated on September 18, 2022Comments
-
greenGlitz over 1 year
Unfortunately, there's still a need to kill the XServer from time to time.
Since upgrading to Raring ctrl+alt+backspace is disabled and I can't find this option in the keyboard settings any-more:
Is there a way to re-enable it in Raring?
-
Admin over 10 yearsI think this answer is the closest: askubuntu.com/a/81394/235 though we should leave this open in case there's a GUI way, then merge it into that question.
-
Admin over 10 yearsaskubuntu.com/questions/10622/… this solution does not work with the new keyboard setting...
-
Admin over 10 yearsYeah, the command line one should still work though.
-
Admin over 10 yearsyup! setxkbmap -option terminate:ctrl_alt_bksp thanks!
-
Admin over 10 yearsOk I'll fix that one up, and we'll close this one as a dupe, thanks!
-
Admin over 10 yearsGood work everyone!
-
Admin about 10 yearsFound the link provided by Jorge. In any case I'll leave an answer here for you to try out.
-
-
William S over 7 yearsConfirmed to still work for Ubuntu 16.04