After the latest update "xkeyboard-config (1.3-2ubuntu2)" I did the
following, to get the japanese keyboard-layout to work as expected:

in /usr/share/X11/xkb/symbols/inet
comment out the <AB11> entry like so:
//  key <AB11>   {      [ XF86Launch4           ]       };

in /usr/share/X11/xkb/keycodes/evdev the new jp106 part looks like this
// For japanese 106 keyboard.
xkb_keycodes "jp106" {
    include "evdev(evdev)"
    <HZTG> = 49;
    <AC12> = 51;
    <AB11> = 97;
};

In the gnome-keyboard-settings I changed the keyboard-type to 日本語(japanese) 
106-key with japanese and german layout, now reported as:
setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "evdev(jp106)+aliases(qwerty)"  };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete+ledscroll(group_lock)"        };
        xkb_symbols   { include 
"pc+jp(106)+de:2+inet(evdev)+group(alt_shift_toggle)+level3(menu_switch)"       
};
        xkb_geometry  { include "pc(jp106)"     };
};

This got me Hankaku/Zenkaku, the ']','}'-key and the '\','_'-key
working.

-- 
[evdev] Japanese keyboard missing keys
https://bugs.launchpad.net/bugs/258595
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to