1 |
On 05/13/10 00:54, walt wrote: |
2 |
> On 05/12/2010 05:25 AM, Amit Dor-Shifer wrote: |
3 |
>> Hi all. |
4 |
>> After updating world, xorg-1.5.3-r6 to 1.7.6 among others, I'm now |
5 |
>> faced with a/m issue. |
6 |
>> 1. left ctrl key works fine, so does the down arrow key on the numpad. |
7 |
>> 2. Seems like the "down" key generates a double sequence: both the |
8 |
>> "down" event and a newline. |
9 |
>> |
10 |
>> This doesn't happen in terminal mode, nor in firefox (3.6.3) or |
11 |
>> amarok, but does occur in konsole, thunderbird-bin, kwrite, oowriter |
12 |
>> & eclipse-3.5. |
13 |
>> |
14 |
>> Attached is xorg log. |
15 |
>> |
16 |
>> amit0 ~ # qlist -Iv hal |
17 |
>> app-misc/hal-info-20090716 |
18 |
>> sys-apps/hal-0.5.13-r2 |
19 |
>> |
20 |
>> I've no idea how to proceed w/this. Any clues would be appreciated. |
21 |
> |
22 |
> With every version of X11, the amount of stuff in xorg.conf gets less, |
23 |
> as part of the xorg design. I can see from your xorg.log that you have |
24 |
> things in xorg.conf that shouldn't be there any longer. Specifically, |
25 |
> you seem to be using the keyboard and mouse drivers *and* evdev at the |
26 |
> same time, which is wrong -- evdev has replaced the mouse and keyboard |
27 |
> drivers, and you don't need an "Input device" section for either of them |
28 |
> now. |
29 |
> |
30 |
> I suggest you generate a new xorg.conf by running "X -configure" and |
31 |
> use the result as a good place to add a few custom things like these: |
32 |
> (**) Option "xkb_layout" "en_US,ru" |
33 |
> (**) Option "xkb_variant" ",winkeys" |
34 |
> (**) Option "xkb_options" "grp:shift_toggle,grp_led:scroll" |
35 |
> |
36 |
> |
37 |
Thanks. X -configure solved it. |
38 |
As long as we're at the subject:Those options you're mentioning, would |
39 |
they go under the ""Keyboard0" device? |
40 |
I Added some options there: |
41 |
Section "InputDevice" |
42 |
Identifier "Keyboard0" |
43 |
Driver "kbd" |
44 |
# added - begin |
45 |
Option "xkb_layout" "en_US,il" |
46 |
Option "xkb_variant" ",winkeys" |
47 |
Option "xkb_options" "grp:rwin_toggle -option grp_led:scroll us,il" |
48 |
Option "xkb_options" "grp:lwin_toggle -option grp_led:scroll us,il" |
49 |
# added - end |
50 |
EndSection |
51 |
|
52 |
, yet I don't see evidence of them getting read in Xorg.0.log. |
53 |
Rather, I see the following: |
54 |
|
55 |
<Xorg.0.log> |
56 |
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" |
57 |
(type: KEYBOARD) |
58 |
(**) Option "xkb_rules" "evdev" |
59 |
(**) Option "xkb_model" "pc104" |
60 |
(**) Option "xkb_layout" "en_US,ru" |
61 |
(**) Option "xkb_variant" ",winkeys" |
62 |
(**) Option "xkb_options" "grp:shift_toggle,grp_led:scroll" |
63 |
</Xorg.0.log> |
64 |
|
65 |
Also, X complains "(WW) The directory "/usr/share/fonts/TTF/" does not |
66 |
exist.", I actually removed that reference from /etc/x11/xorg.conf. Yes |
67 |
it still insists on reading it. |
68 |
|
69 |
Is there some cfg cache used by X, perhaps? |
70 |
|
71 |
Amit |