Am Dienstag, 18. Jul 2006, 23:10:31 +0200 schrieb Benno Schulenberg: > Bertram Scharpf wrote: > > I would like to map the the character 0x017f, the long s > > (http://en.wikipedia.org/wiki/Long_s)i, to my X keyboard. > > > > $ xmodmap -e 'keycode 39 = s S 0x017f ssharp 0x017f ssharp' > > Try this instead: > > $ xmodmap -e 'keycode 39 = s S 0x100017f ssharp 0x100017f ssharp' > > Why this works, I don't know. :)
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. As far as I see, `sacute' is U015b but has a Xmodmap code of 0x1b6. So both of these yield and acute-accented s: $ xmodmap -e 'keycode 39 = s S 0x01b6 ssharp 0x01b6 ssharp' $ xmodmap -e 'keycode 39 = s S U015b ssharp U015b ssharp' Setting bit 0x1000000 seems to mean: "take the UTF-16 character". Thanks a lot. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de -- gentoo-user@gentoo.org mailing list