CentOS 7, Ctrl-alt-bksp

Home » CentOS » CentOS 7, Ctrl-alt-bksp
CentOS 6 Comments

I’ve been googling, and looking at the CentOS wiki – which, btw, when I do a full search on “control-alt-backspace”, gives me three pages… in Japanese, I think.

How do I re-enable userspace restart X?


6 thoughts on - CentOS 7, Ctrl-alt-bksp

  • on the top panel, click SYSTEM / PREFERENCES/ HARDWARE / KEYBOARD
    from there, click the LAYOUT tab, then click the Options button. On my system, the eighth item from the top, on that screen, reads
    “Key sequence to kill the X server”. Select that item, then check the resulting checkbox, click the Close button, and voila! you’re done!

  • Not that I can find. I’d think there’d be something in one of the config editors, gconf or dconf or such, but I can’t find anything there.

  • You used to be able to do it in /etc/X11/xorg.conf, but not sure if it still works.

    Section “ServerFlags”
    Option “DontZap” “false”

    I see stackexchange adds

    ection “InputClass”
    Identifier “Keyboard Defaults”
    MatchIsKeyboard “yes”
    Option “XkbOptions” “terminate:ctrl_alt_bksp”

    Also, at least with the more minimalist window managers (I usually use either Openbox or dwm) one can also use ctl+alt+F, get to a console and do sudo pkill X.

  • And… I just found this on worldofgnome.org:

    Using Xinitrc

    Xinitrc is read by xinit and is been executed when we (desktops) start X.

    Create a new file (if not exists):

    gedit ~/.xinitrc


    setxkbmap -option terminate:ctrl_alt_bksp

    $ setxkbmap … will set the changes on the fly.

    Restart X to apply changes. Logout/Login.