From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OCgGe-0003T6-9Z for garchives@archives.gentoo.org; Thu, 13 May 2010 21:48:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D935E0716; Thu, 13 May 2010 21:47:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ED5DCE0716 for ; Thu, 13 May 2010 21:47:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9B5DC1B40A1 for ; Thu, 13 May 2010 21:47:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.947 X-Spam-Level: X-Spam-Status: No, score=-2.947 required=5.5 tests=[AWL=-0.348, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TTUKYd+6nsvA for ; Thu, 13 May 2010 21:47:38 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 52044672A1 for ; Thu, 13 May 2010 21:47:37 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OCgFh-0006nR-HP for gentoo-user@gentoo.org; Thu, 13 May 2010 23:47:33 +0200 Received: from adsl-69-234-214-125.dsl.irvnca.pacbell.net ([69.234.214.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 23:47:33 +0200 Received: from w41ter by adsl-69-234-214-125.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 23:47:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org connect(): No such file or directory From: walt Subject: [gentoo-user] Re: [SOLVED] xorg-server: Pressing 'down'/'right ctrl' keys yields newline Date: Thu, 13 May 2010 14:47:27 -0700 Message-ID: References: <4BEA9E3B.7050809@oversi.com> <4BEBD2D3.1060800@oversi.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-214-125.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a5pre) Gecko/20100513 Thunderbird/3.2a1pre In-Reply-To: <4BEBD2D3.1060800@oversi.com> X-Archives-Salt: 470b81f5-7f3c-472b-bf9c-29169030c716 X-Archives-Hash: 8e45a2582e0f3ea1a7e9576d06e79cc3 On 05/13/2010 03:22 AM, Amit Dor-Shifer wrote: > > > On 05/13/10 00:54, walt wrote: >> On 05/12/2010 05:25 AM, Amit Dor-Shifer wrote: >>> Hi all. >>> After updating world, xorg-1.5.3-r6 to 1.7.6 among others, I'm now faced with a/m issue. >>> 1. left ctrl key works fine, so does the down arrow key on the numpad. >>> 2. Seems like the "down" key generates a double sequence: both the "down" event and a newline. >>> I've no idea how to proceed w/this. Any clues would be appreciated. >> >> With every version of X11, the amount of stuff in xorg.conf gets less, >> as part of the xorg design. I can see from your xorg.log that you have >> things in xorg.conf that shouldn't be there any longer. Specifically, >> you seem to be using the keyboard and mouse drivers *and* evdev at the >> same time, which is wrong -- evdev has replaced the mouse and keyboard >> drivers, and you don't need an "Input device" section for either of them >> now. I should have said *I* don't need an Input device section any more :) Actually I moved some of my custom stuff from xorg.conf to the hal config files -- but hal is deprecated now and I should it back to xorg.conf again. Thanks for the reminder. >> I suggest you generate a new xorg.conf by running "X -configure" and >> use the result as a good place to add a few custom things like these: >> (**) Option "xkb_layout" "en_US,ru" >> (**) Option "xkb_variant" ",winkeys" >> (**) Option "xkb_options" "grp:shift_toggle,grp_led:scroll" >> >> > Thanks. X -configure solved it. > As long as we're at the subject:Those options you're mentioning, would they go under the ""Keyboard0" device? > I Added some options there: > Section "InputDevice" > Identifier "Keyboard0" Driver "kbd" <******* "kbd" driver is obsolete, use "evdev" or just delete this line > # added - begin > Option "xkb_layout" "en_US,il" > Option "xkb_variant" ",winkeys" > Option "xkb_options" "grp:rwin_toggle -option grp_led:scroll us,il" > Option "xkb_options" "grp:lwin_toggle -option grp_led:scroll us,il" > # added - end > EndSection > > , yet I don't see evidence of them getting read in Xorg.0.log. > Rather, I see the following: > > > (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD) > (**) Option "xkb_rules" "evdev" > (**) Option "xkb_model" "pc104" > (**) Option "xkb_layout" "en_US,ru" > (**) Option "xkb_variant" ",winkeys" > (**) Option "xkb_options" "grp:shift_toggle,grp_led:scroll" > See my comment above. Don't use the "kbd" driver. Xorg seems to use evdev by default now instead of "kbd" and "mouse". The (**) means that X is reading those lines from xorg.conf. Are you sure you are really using the new xorg.conf and not the old one by mistake? Xorg.log tells you which conf file it is reading. > Also, X complains "(WW) The directory "/usr/share/fonts/TTF/" does not exist.", I actually removed that reference from /etc/x11/xorg.conf. Yes it still insists on reading it. > > Is there some cfg cache used by X, perhaps? Depending on your configuration, there may be some font and/or keyboard stuff in your own home directory. You may need to search or grep some subdirectories to find it if it's not obvious.