2011-11-30

Slitaz -- ctrl_alt_bksp

Ctrl-Alt-Backspace / ctrl_alt_bksp

Ref:
http://alanyih.blogspot.com/2010/05/slitaz-setxkbmap.html


Extract from:
https://wiki.archlinux.org/index.php/Xorg

[..]
Ctrl-Alt-Backspace does not work

There are two ways of restoring Ctrl+Alt+Backspace; with and without input-hotplugging. Using hot-plugging is recommended.
With input hot-plugging
System-wide

Within /etc/X11/xorg.conf.d/10-evdev.conf, simply add the following:

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Note: On KDE, this system-wide setting has no effect. To restore, go to Kickoff > Computer > System Settings which will open up the System Settings window. Click on 'Input Devices'. In this new window click the Keyboard tab and then click on the advanced tab. In this new window, click the box for 'Configure keyboard options.' Expand the entry for 'Key sequence to kill the X server' and ensure Control + Alt + Backspace is checked. Click Apply and close the System Settings window. You now have your CTRL-ALT-Backspace back in KDE.
User-specific

Another way is to put this line in xinitrc:

setxkbmap -option terminate:ctrl_alt_bksp

Note: This setting has no effect on Gnome 3.
Without input hot-plugging

New Xorg disables zapping with Ctrl+Alt+Backspace by default. You can enable it by adding the following line to /etc/X11/xorg.conf,

Option "XkbOptions" "terminate:ctrl_alt_bksp"

to InputDevice section for keyboard.