Bertram Scharpf wrote:
> Am Dienstag, 18. Jul 2006, 23:10:31 +0200 schrieb Benno Schulenberg:
> > Try this instead:
> >
> > $ xmodmap -e 'keycode  39 = s S 0x100017f ssharp 0x100017f ssharp'

By the way: I found this by grepping for "long s" in 
/usr/lib/X11/xkb/symbols/pc (on your install probably elsewhere).

> Cool. This here seems to work, too:
>
>   $ xmodmap -e 'keycode  39 = s S U017f ssharp U017f ssharp'
>
> Obviously there is a difference between UTF codes and X
> keycodes.

Hmm, indeed: see /usr/include/X11/keysymdef.h .  Quite confusing.  
Luckily it understands plain Unicode too.

Benno
-- 
gentoo-user@gentoo.org mailing list

Reply via email to