21

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?

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

1 Answer 1

35

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
  • 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
    Commented Oct 20, 2015 at 23:03
  • Confirmed to still work for Ubuntu 16.04
    – William S
    Commented Jan 19, 2017 at 14:02

Not the answer you're looking for? Browse other questions tagged .