18

This question already has an answer here:

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?

marked as duplicate by Luis Alvarado Apr 11 '14 at 15:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I 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. – Jorge Castro Oct 29 '13 at 17:09
  • askubuntu.com/questions/10622/… this solution does not work with the new keyboard setting... – tibike Oct 29 '13 at 17:10
  • Yeah, the command line one should still work though. – Jorge Castro Oct 29 '13 at 17:11
  • 1
    yup! setxkbmap -option terminate:ctrl_alt_bksp thanks! – tibike Oct 29 '13 at 17:14
  • 1
    @jorge-castro There are dconf-editor instructions (includes ctrl-alt-backspace) at swap keys and added to 10622 – chaskes Oct 29 '13 at 17:32
33

I only tested this on 13.10+, but you could do the following on the terminal type:

sudo dpkg-reconfigure keyboard-configuration

enter image description here

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:

enter image description here

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.

  • 2
    Still works in 15.04, it adds XKBOPTIONS="terminate:ctrl_alt_bksp" to /etc/default/keyboard. Reconfiguring this one option leads to an unnecessary update-initramfs: Generating /boot/initrd.img-3.19.0-30-generic, but no harm done. – skierpage Oct 20 '15 at 23:03
  • Confirmed to still work for Ubuntu 16.04 – William S Jan 19 '17 at 14:02

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