I'd like to be able to use Ctrl-Alt-BS to kill X, but can't get it to
work. I searched around and tried a bunch of things:

In /etc/X11/xorg.conf :
    ...
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"
            Option      "XkbOptions" "compose:rwin"
            Option      "XkbOptions" "terminate:ctrl_alt_bksp"
    EndSection
    ...
    Section "ServerFlags"
            Option "DontZap"        "off"
    EndSection

Added to /etc/default/console-setup (then rebooted the machine):

    XKBOPTIONS="terminate:ctrl_alt_bksp"

Added this line to /etc/default/keyboard :

    XKBOPTIONS="terminate:ctrl_alt_bksp"

Added this line to ~/.xsession and ~/.xinitrc :

    setxkbmap -option terminate:ctrl_alt_bksp

...

All to no avail. The *only* way I can get Ctrl-Alt-BS to Zap X is to
first open a terminal after launching X and manually enter:

    setxkbmap -option terminate:ctrl_alt_bksp

Isn't this supposed to happen automatically when launching X if that
line is in ~/.xinitrc ?

And Alt-SysRq-K is not what I'm looking for -- that will kill X, but
just leaves a dead VT that I can't switch out of.

This is on sid, with the latest xserver-xorg-core.

TIA for any help,

John


-- 
John Magolske
http://B79.net/contact


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100306220556.ga6...@s70206.gridserver.com

Reply via email to