Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 22:53:01 -0800 (PST)
From:      devindg <dgarcia.tamu@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ALT key kills window/application
Message-ID:  <22240456.post@talk.nabble.com>
In-Reply-To: <20090227032016.c0252454.freebsd@edvax.de>
References:  <22238102.post@talk.nabble.com> <20090227032016.c0252454.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <dgarcia.tamu@gmail.com>
> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22240456.post>