[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280696: [xkb] jp106 windows key has no symbol



On Fri, Nov 12, 2004 at 09:35:50PM +0100, Denis Barbier wrote:
> On Sat, Nov 13, 2004 at 01:54:50AM +0900, Mike Hommey wrote:
> > I haven't tested your fix yet, but what i can tell you is that my
> > /etc/X11/xkb/rules/xfree86 file is the exact same as the one in the
> > xlibs_4.3.0.dfsg.1-8_all.deb archive (extracted with dpkg-deb and
> > diff'ed)
> 
> The command below displays either (a) or (b):
>   $ setxkbmap -model jp106 -layout jp -option -option compose:menu -print
>   xkb_keymap {
>         xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
>         xkb_types     { include "complete"      };
>         xkb_compat    { include "complete"      };
>  (a)    xkb_symbols   { include "pc/pc(pc102)+pc/jp(latin)+pc/jp:2+compose(menu)" };
>  (b)    xkb_symbols   { include "jp+compose(menu)"       };
>         xkb_geometry  { include "pc(jp106)"     };
>   };
> If (a) is displayed, this means that a program redefines your keyboard
> layout after X has been launched.
> 
> If (b) is displayed, check that 
>   1. setxkbmap is /usr/bin/X11/setxkbmap.
>   2. /usr/X11R6/lib/X11/xkb is a symlink to /etc/X11/xkb
> If both are right, please send me an archive with your whole /etc/X11/xkb
> directory.

mh@namakemono:~$ setxkbmap -model jp106 -layout jp -option compose:menu -print
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "jp+compose(menu)"      };
        xkb_geometry  { include "pc(jp106)"     };
};
mh@namakemono:~$ which setxkbmap
/usr/bin/X11/setxkbmap
mh@namakemono:~$ ls -l /usr/X11R6/lib/X11/xkb
lrwxrwxrwx  1 root root 12 2004-09-29 17:23 /usr/X11R6/lib/X11/xkb -> /etc/X11/xkb

As for /etc/X11/xkb:
mh@namakemono:/tmp$ wget http://ftp.jp.debian.org/debian/pool/main/x/xfree86/xlibs_4.3.0.dfsg.1-8_all.deb
mh@namakemono:/tmp$ md5sum xlibs_4.3.0.dfsg.1-8_all.deb
8a5d7cce95cf8db88520849ac18666bf  xlibs_4.3.0.dfsg.1-8_all.deb
mh@namakemono:/tmp$ dpkg-deb -x xlibs_4.3.0.dfsg.1-8_all.deb xlibs
makemono:/tmp$ diff -ruN /etc/X11/xkb /tmp/xlibs/etc/X11/xkb
Binary files /etc/X11/xkb/xkbcomp and /tmp/xlibs/etc/X11/xkb/xkbcomp differ
mh@namakemono:/tmp$ LANG=C ls -l /tmp/xlibs/etc/X11/xkb/xkbcomp
ls: /tmp/xlibs/etc/X11/xkb/xkbcomp: No such file or directory
mh@namakemono:/tmp$ ls -l /etc/X11/xkb/xkbcomp
lrwxrwxrwx  1 root root 22 2004-09-29 17:24 /etc/X11/xkb/xkbcomp -> /usr/X11R6/bin/xkbcomp

Mike



Reply to: