[oe-issues] [Bug 2326] minimo not aware of Fn key

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Mon Jun 25 13:06:00 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2326


Takeshi Hamasaki <hma at syd.odn.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Takeshi Hamasaki <hma at syd.odn.ne.jp>  2007-06-25 06:06:00 ---
I found a solution on my Zaurus SL-C700.
Reassigning Mode_switch symbol allows to input ':' using Fn+H, and other Fn+
symbols.

  $ xmodmap -e "remove mod4 = Mode_switch"
  $ xmodmap -e "add mod5 = Mode_switch"

Mode_switch is assigned different modifier on SL-C700 and my desktop PC.
I don't know where the difference came from and whether the difference is
necessary or not.

On Zaurus SL-C700
    $ xmodmap: 
    xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

    shift       Shift_L (0x32),  Shift_R (0x3e), Menu (0x78)
    lock        Tab (0x17),  Caps_Lock (0x42)
    control     Control_L (0x25),  Control_L (0x4b), Control_R (0x69)
    mod1        Alt_L (0x40)
    mod2        Num_Lock (0x4d)
    mod3      
    mod4        Mode_switch (0x45),  Mode_switch (0x6c)
    mod5

where on my desktop PC:

    $ xmodmap
    xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

    shift       Shift_L (0x32),  Shift_R (0x3e)
    lock        Caps_Lock (0x25)
    control     Control_L (0x42),  Control_R (0x6d)
    mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
    mod2        Num_Lock (0x4d)
    mod3      
    mod4        Super_L (0x7f),  Hyper_L (0x80)
    mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)


Mod4 is assigned for Meta in mozilla widget.
You can see it on LXR at Mozilla site:
http://lxr.mozilla.org/mozilla1.8/source/widget/src/gtk2/nsCommonWidget.cpp#147

156     aEvent.isMeta    = (aGdkEvent->state & GDK_MOD4_MASK)
157         ? PR_TRUE : PR_FALSE;

As a result Fn+anykey is recognized as symbol pushed with Meta key, was not
printed in textbox.

I believe this bug is fixed with this workaround and patch above.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list