From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [SOLVED] xorg-server: Pressing 'down'/'right ctrl' keys yields newline
Date: Thu, 13 May 2010 14:47:27 -0700 [thread overview]
Message-ID: <hshs1b$3v0$1@dough.gmane.org> (raw)
In-Reply-To: <4BEBD2D3.1060800@oversi.com>
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:
>
> <Xorg.0.log>
> (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"
> </Xorg.0.log>
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.
next prev parent reply other threads:[~2010-05-13 21:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 12:25 [gentoo-user] xorg-server: Pressing 'down'/'right ctrl' keys yields newline Amit Dor-Shifer
2010-05-12 21:54 ` [gentoo-user] " walt
2010-05-13 10:22 ` [gentoo-user] [SOLVED] " Amit Dor-Shifer
2010-05-13 21:47 ` walt [this message]
2010-05-16 8:12 ` [gentoo-user] X hoggs CPU (xorg-server-1.7.6) (was: xorg-server: Pressing 'down'/'right ctrl' keys yields newline) Amit Dor-Shifer
2010-05-16 19:15 ` [gentoo-user] Re: X hoggs CPU (xorg-server-1.7.6) walt
2010-05-17 6:42 ` Amit Dor-Shifer
2010-05-17 7:27 ` Amit Dor-Shifer
2010-05-17 14:38 ` Amit Dor-Shifer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hshs1b$3v0$1@dough.gmane.org' \
--to=w41ter@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox