Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] strange gnome-panel (mis)behavior after upgrade to 10.2: "End" and "Down" button pops up "main menu"
  • From: Zhang Weiwu <zhangweiwu@xxxxxxxxxx>
  • Date: Tue, 23 Jan 2007 09:52:13 +0800
  • Message-id: <1169517133.24448.18.camel@xxxxxxxxxxxxxx>
在 2007-01-22一的 12:27 -0800,Carl William Spitzer IV写道:
> On Sun, 2007-01-14 at 17:23 +0800, Zhang Weiwu wrote:
> > Hello. This is rather strange and keep me puzzled for several weeks.
> > Several weeks ago I reformatted my harddisk and installed SuSE 10.2 on
> > it (was using 10.1). The keyboard "Down" key and "End" key no longer
> > work: when I press the two keys, the main menu of gnome pops up (This
> > menu is called "Computer" on SuSE 10.2, which is the equivlent of Start
> > Menu of Windows, you know what I mean.)
>
> Looks like no one has an answer for you. So I will try.
> First assuming no drive errors were indicated check your KB connection
> and if you have an air can blow it out. WARNING if its PS2 DO NOT do
> this on a running system it can fry the motherboard. Shut Down First.
>
> Second this is where any live distro like Knoppix comes in handy. Boot
> a live CD and try to duplicate the error. If it happens hardware is at
> issue then its the MB connector. If the error does not happen a clean
> install will be a good start assuming /home is a separate partition.
>
> BTW i hope its not an ASUS MB they are not generally lucky for us.

Thank you very much for taking care of this issue (after so long time!)

I have tracked down this issue and now I think I am pretty close to the
answer. My SuSE 10.2 is using evdev as xorg input driver (while most
other xorg input driver uses kbd). The same key produce different
keycode with evdev than with kbd, but that's not a problem as long as
applications use keysym, which is always correct.

It seems gnome is written in the way that it capture keycode 115 and 116
and pop up main menu, when it should capture keysym SUPER_L and SUPER_R
instead. 115 and 116 are key codes for Windows keys for kbd but are
"Down" and "End" keys for evdev. This is a new behavior of gnome, older
versions simply ignore windows keys when they are pressed.

All other applications and window manager / desktop environments act no
problem because they read keysyms rather then keycodes.

I have disabled gnome shortcut key for 'main menu' but that doesn't
work. So it turns out key code 115 and 116 might have been hard-coded
into gnome.

I use evdev in place of kbd because I am really interested in a
technology called "multiseat" which can make SuSE act as many computers:
when plugged in multple keyboards, mice and monitor, each set of
Keyboard, Mouse and Monitor act on its own. This new technology need to
make use of a new keyboard driver in xorg called evdev. I can of course
switch back to kbd but I am pretty interested to find a solution to make
evdev work too ;-) So I am still searching.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References