2010/09/25

Arch Linux の場合、x window を強制終了させる[Ctrl + Alt + BackSpace]コマンドがデフォルトでは無効化されている。xorgとかudevの設定はよくわかってないのだけどArch Wikiの記述を参考に/etc/X11/xorg.conf.d/以下のキーボード設定(自分の場合20-keyboard.conf)をするファイルに

 Option "XkbOptions" "terminate:ctrl_alt_bksp"
 と書く。
すでに他のXkbOptionsが設定されている場合、","(カンマ)で区切り続けて記入する。

Section "InputClass"
     Identifier "Keyboard Defaults"
     Option "XkbOptions" "ctrl:swapcaps, terminate:ctrl_alt_bksp"
EndSection

xorgを再起動してオプションが有効になったか確認するには、コマンドラインで

setxkbmap -print -verbose 10

で表示されるoptions:の項目をみる。
または以下のコマンドでも設定できるみたいなので.xinitrcにでも書いて設定できる。

setxkbmap -option terminate:ctrl_alt_bksp 
 
http://wiki.archlinux.org/index.php/Xorg.conf

0 件のコメント:

コメントを投稿