Bug#318413: xlibs: Backslash Key is broken on Japanese Keyboards
On Fri, Jul 15, 2005 at 09:19:24PM +0200, Mike Hommey wrote:
> On Fri, Jul 15, 2005 at 02:58:32PM +0300, Horms <horms@debian.org> wrote:
> > Package: xlibs
> > Version: 6.8.2.dfsg.1-2
> > Severity: important
> > Tags: patch
> >
> > Hi,
> >
> > After upgrading xlibs the backslash no longer works on
> > my Toshiba Dynabook with a japanese keyboard. This makes
> > coding really hard!
> >
> > The attached patch resolves this problem as well as making the
> > Hirugana/Katakana toggle work.
Actually, the patch I posted is bogus and doesn't fix anything.
The following works for me, but will probably break others.
I'm not sure how to make bouth 120 and 208 produce a HKTG,
and both KPDC and 211 produce a AB11. I only need the former in
each case, but for people who need the latter, my patch falls appart.
And if I take the commends out, my keys go to NoSymbol land.
> Interestingly, I had the same problem here, which got resolved as soon
> as I switched from xserver-xfree86 to xserver-xorg.
>
> Though the file you patch is the same on my system than your "broken"
> one, the backslash key works correctly... it's a bit weird...
That is weird. I'm not entirely sure that all Japanese keyboards
are created equal, and right now I only have one to test on.
I'll be home in about a week and I can test on an IBM keyboard.
--
Horms
--- ./etc_X11_6.8.2.dfsg.1-2/xkb/keycodes/xfree86 2005-07-12 21:58:36.000000000 +0300
+++ /etc/X11/xkb/keycodes/xfree86 2005-07-16 13:21:25.000000000 +0300
@@ -151,8 +151,10 @@
// Keys that are generated on Japanese keyboards
alias <HZTG> = <TLDE>; // Hankaku_Zenkaku toggle
- <HKTG> = 208; // Hiragana_Katakana toggle
- <AB11> = 211; // backslash/underscore
+ <HKTG> = 120; // Hiragana_Katakana toggle
+ //<HKTG> = 208; // Hiragana_Katakana toggle
+ alias <AB11> = <KPDC>; // backslash/underscore
+ //<AB11> = 211; // backslash/underscore
<XFER> = 129; // Henkan
<NFER> = 131; // Muhenkan
<AE13> = 133; // Yen
Reply to: