1

I would like to enable the Control + Alt + Backspace sequence to kill the X server, plus other sequences, without editing any files, if possible (or at least, no system files).

don_crissti
  • 82,805
Eleno
  • 1,849

1 Answers1

1

You can re-enable Ctrl+Alt+Bksp on a per-user basis by adding the option

terminate:ctrl_alt_bksp

to gnome xkb-options via gsettings or dconf-editor.
The easiest way is with dconf-editor - go to org > gnome > desktop > input-sources and add terminate:ctrl_alt_bksp to the xkb-options, e.g

enter image description here

With gsettings it's a bit more complicated. You'll have to get the existing options (if any) with:

gsettings get org.gnome.desktop.input-sources xkb-options

If the output is @as [] that means there's no option set so you can simply run:

gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']"

otherwise you'll have to rewrite the whole array of values + the new value, e.g.:

gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps', 'terminate:ctrl_alt_bksp']"

As I said in my other post, values are delimited by comma+space.

don_crissti
  • 82,805