Compose key oddity

Roland Smith rsmith at xs4all.nl
Wed Apr 28 05:17:33 UTC 2010


On Tue, Apr 27, 2010 at 09:20:29PM -0700, John W wrote:
> I have no ~/.XCompose file, so that's out.

Also check for ~/.Xmodmap. See xmodmap(1).

> If I press <dot> <dot>, I get two periods, so it can't be a dead key,
> it seems. I think a dead key will not register the first time you
> press it, if I understand correctly.
> 
> Running xev (thanks for telling me about that one!) gives interesting output.
> typing <rwin><dot><dot> gives these events:
> KeyPress for keycode 115  (which is rwin)
> KeyRelease for keycode 115
> KeyPress for '.'
> KeyRelease for '.'
> KeyPress for '.'
> KeyPress for '…'    <-- It sees the ellipsis!
> KeyRelease for '.'
> 
> In fact the DOT ABOVE character doesn't show up in xev's output at all.
> And yet it shows up everywhere else I try it.
> 
> To my surprise, I haven't yet found a good way to simply print out
> what my current keyboard layout is...
> Also I'm not sure if there's a separate layout for X and for the OS in
> general, I think they're different.

Yes.

> For OS keyboard map:
> I don't have anything defined in rc.conf, so I'm just using the kernel
> default, I think.
> However, looking at /usr/src/sys/amd64/conf/NOTES, I see these lines:
> 
>     # Options for atkbd:
>     options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
>     makeoptions     ATKBD_DFLT_KEYMAP=jp.106
> 
> Can that really mean that I'm using a japanese keyboard layout by default?

No. NOTES is not used in building the kernel. It just lists the available options.

> For X side of things, I see this in my Xorg.0.log:
<snip>
> I couldn't find a better way to determine my current in-use keyboard
> map. Perhaps there's some command for that? 'setxkbmap -print' had
> some cryptic output.

Try 'xmodmap -pke|less'.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20100428/9c508585/attachment.pgp


More information about the freebsd-x11 mailing list