Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 07:17:24 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        John W <jwdevel@gmail.com>
Cc:        freebsd-x11@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: Compose key oddity
Message-ID:  <20100428051724.GA33672@slackbox.erewhon.net>
In-Reply-To: <o2ofa8771801004272120ia3ad3fd3zf1921b386f4327cf@mail.gmail.com>
References:  <k2sfa8771801004262139occ18fddetaf7f460acbb07786@mail.gmail.com> <4BD6D06D.6010601@icyb.net.ua> <o2ofa8771801004272120ia3ad3fd3zf1921b386f4327cf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Running xev (thanks for telling me about that one!) gives interesting out=
put.
> 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 '=E2=80=A6'    <-- It sees the ellipsis!
> KeyRelease for '.'
>=20
> 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.
>=20
> 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:
>=20
>     # Options for atkbd:
>     options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
>     makeoptions     ATKBD_DFLT_KEYMAP=3Djp.106
>=20
> 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 o=
ptions.

> 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
--=20
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)

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkvXxOMACgkQEnfvsMMhpyVa6wCfX4WXrWMd+w9BWOghb3b4lKTU
oV8An01WznOG8gU+49bXuJ1Q//XbcTjH
=9Tl+
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100428051724.GA33672>