From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 22:10:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9281A1065672 for ; Mon, 16 Nov 2009 22:10:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 16D1E8FC20 for ; Mon, 16 Nov 2009 22:10:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAGMAqUJ092573; Mon, 16 Nov 2009 15:10:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAGMAq2q092570; Mon, 16 Nov 2009 15:10:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 16 Nov 2009 15:10:52 -0700 (MST) From: Warren Block To: Philipp Lengemann In-Reply-To: <20091116180102.61682ee8@gmx.de> Message-ID: References: <42052.1258327169@tristatelogic.com> <20091116180102.61682ee8@gmx.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Mon, 16 Nov 2009 15:10:52 -0700 (MST) Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 22:10:55 -0000 On Mon, 16 Nov 2009, Philipp Lengemann wrote: > Am Sun, 15 Nov 2009 15:19:29 -0800 > schrieb "Ronald F. Guilmette" : > >> I _did_ go and read the Handbook section that Manolis Kiagias >> kindly posted a link to, and I have now tried _both_ of the two >> ways described there to re-enable CNTL-ALT-BACKSPACE functionality >> for the X server, and sadly I must report that for me, at least >> _neither_ of those methods worked > > Put the following to your xorg.conf: > > > Section "ServerFlags" > Option "DontZap" "off" > Option "AllowEmptyInput" "off" > Option "AutoAddDevices" "off" > EndSection > > Section "InputDevice" > Option "XkbOptions" "terminate:ctrl_alt_bksp" > EndSection > > > This works for me very reliable (xorg-7.4_2). That InputDevice entry is interesting. It has to be added to a Keyboard section, not standalone as shown (unless I missed something). (If it was standalone, it would nicely eliminate the need for the setxkbmap -option terminate:ctrl_alt_bksp entry in my .xinitrc.) For those who want to do that with hal, for all keyboards, here's a patch for /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi: --- 10-x11-input.fdi.orig 2009-11-16 14:47:01.000000000 -0700 +++ 10-x11-input.fdi 2009-11-16 14:54:01.000000000 -0700 @@ -22,6 +22,7 @@ string="Linux"> evdev + terminate:ctrl_alt_bksp -Warren Block * Rapid City, South Dakota USA