From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 06:53:02 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 8128D1065672 for ; Fri, 27 Feb 2009 06:53:02 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 31A5B8FC12 for ; Fri, 27 Feb 2009 06:53:01 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lcwaj-0006J5-2v for freebsd-questions@freebsd.org; Thu, 26 Feb 2009 22:53:01 -0800 Message-ID: <22240456.post@talk.nabble.com> Date: Thu, 26 Feb 2009 22:53:01 -0800 (PST) From: devindg To: freebsd-questions@freebsd.org In-Reply-To: <20090227032016.c0252454.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dgarcia.tamu@gmail.com References: <22238102.post@talk.nabble.com> <20090227032016.c0252454.freebsd@edvax.de> Subject: Re: ALT key kills window/application 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: Fri, 27 Feb 2009 06:53:02 -0000 Polytropon, I appreciate the prompt response tremendously. I went ahead and tried your suggestion, but the problem persists. However -- and I should have given this more thought earlier -- I looked at the Xorg log, and it may provide more useful information. I will go ahead and attach it: -> http://www.nabble.com/file/p22240456/Xorg.0.log Xorg.0.log Once again, thank you. Polytropon wrote: > > On Thu, 26 Feb 2009 18:01:54 -0800 (PST), devindg > wrote: >> I don't know if this is a WM issue or an X issue, but whatever it is, >> it's >> hard to diagnose. This nuisance started to occur after an upgrade of all >> my >> ports. >> >> I ran Xev and pressed ALT to see what it would return. Here it is: >> >> ClientMessage event, serial 33, synthetic YES, window 0x1800001, >> message_type 0xdd (WM_PROTOCOLS), format 32, message 0xdb >> (WM_DELETE_WINDOW) > > This looks strange. Pressing the (left) Alt key sould give > something like this: > > KeyPress event, serial 24, synthetic NO, window 0x1200001, > root 0x73, subw 0x0, time 3045197954, (505,110), root:(1018,180), > state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, > XLookupString gives 0 bytes: > XmbLookupString gives 0 bytes: > XFilterEvent returns: False > > KeyRelease event, serial 27, synthetic NO, window 0x1200001, > root 0x73, subw 0x0, time 3045198051, (505,110), root:(1018,180), > state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, > XLookupString gives 0 bytes: > XFilterEvent returns: False > > The xev output you presented doesn't indicate that an Alt key has > been pressed. > > It indicates that when pressing the Alt key issues a command to > the window manager (or from it?) - WM_PROTOCOLS - to close the > window focussed at the moment - WM_DELETE_WINDOW. This isn't an > action the Alt key should be mapped to. > > > >> (4) http://www.nabble.com/file/p22238102/xorg.conf xorg.conf > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > Didn't you define a keyboard layout in xorg.conf? I'm not sure > about how this is to be done after the massive X update (I read > somethink like DBUS is needed now to select keyboard layout). > > Maybe you can try something like this: > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbModel" "pc105" > Option "XkbLayout" "de" > Option "AutoRepeat" "250 30" > EndSection > > Insert the layout you need (e. g. US). > > > -- > Polytropon >>From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/ALT-key-kills-window-application-tp22238102p22240456.html Sent from the freebsd-questions mailing list archive at Nabble.com.