Gentoo Archives: gentoo-user

From: Benno Schulenberg <benno.schulenberg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xmodmap with unnamed keycode [solved]
Date: Thu, 20 Jul 2006 22:24:35
Message-Id: 200607210015.48231.benno.schulenberg@gmail.com
In Reply to: Re: [gentoo-user] Xmodmap with unnamed keycode [solved] by Bertram Scharpf
1 Bertram Scharpf wrote:
2 > Am Dienstag, 18. Jul 2006, 23:10:31 +0200 schrieb Benno Schulenberg:
3 > > Try this instead:
4 > >
5 > > $ xmodmap -e 'keycode 39 = s S 0x100017f ssharp 0x100017f ssharp'
6
7 By the way: I found this by grepping for "long s" in
8 /usr/lib/X11/xkb/symbols/pc (on your install probably elsewhere).
9
10 > Cool. This here seems to work, too:
11 >
12 > $ xmodmap -e 'keycode 39 = s S U017f ssharp U017f ssharp'
13 >
14 > Obviously there is a difference between UTF codes and X
15 > keycodes.
16
17 Hmm, indeed: see /usr/include/X11/keysymdef.h . Quite confusing.
18 Luckily it understands plain Unicode too.
19
20 Benno
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Xmodmap with unnamed keycode [solved] Bertram Scharpf <lists@×××××××××××××××.de>