Angel Tsankov wrote: > Peter Hutterer wrote: >> On Fri, Jun 19, 2009 at 10:01:33AM -0700, [email protected] >> wrote: >>> I would like to enable the Ctrl -Alt - Backspace keystroke combo to >>> kill the X server. >>> After reading the man page I've come away a bit confused (as usual) >>> and when I un-hash the "Don't Zap" server flag the server won't >>> start. >>> Can someone clear this up for me? >>> Thanks. >> >> depends. server 1.6 with xkeyboard-config 1.5, the option should >> enable it. if you're using git master and xkeyboard-config 1.6, the >> trick is to set the xkb option (the xorg.conf entry is not needed). >> >> Either run 'setxkbmap -option "terminate:ctrl_alt_bksp"' or tick the >> matching box in your desktop environment's documentation. >> > > Hi, > > I've installed xorg-server 1.6.1 and xkeyboard-config 1.6. In a > virtual console, 'setxkbmap -option "terminate:ctrl_alt_bksp"' prints > 'Cannot open display "default display"'. I'd like to be able to kill > the X server when I run it with smth like "X" or "X -config > /root/xorg.conf.new". Is this possible and, if so, how? > I added 'Option "DontZap" "false"' to the ServerFlags section and 'Option "XkbOptions" "terminate:ctrl_alt_bksp"' to the InputDevice section for keyboard and now it seems to work as I'd like it to.
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
