From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G3gwd-00011K-6p for garchives@archives.gentoo.org; Thu, 20 Jul 2006 22:24:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6KMNKK6004708; Thu, 20 Jul 2006 22:23:20 GMT Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.247.5]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6KMI047010027 for ; Thu, 20 Jul 2006 22:18:00 GMT Received: from graskamp (ip51cfa1ef.direct-adsl.nl [81.207.161.239]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J2Q00DAA37667@smtp14.wxs.nl> for gentoo-user@lists.gentoo.org; Fri, 21 Jul 2006 00:16:18 +0200 (CEST) Date: Fri, 21 Jul 2006 00:15:48 +0200 From: Benno Schulenberg Subject: Re: [gentoo-user] Xmodmap with unnamed keycode [solved] In-reply-to: <20060719232003.GA3821@homer.bertram-scharpf> To: gentoo-user@lists.gentoo.org Message-id: <200607210015.48231.benno.schulenberg@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.9.3 References: <20060718195817.GB2571@homer.bertram-scharpf> <200607182310.31661.benno.schulenberg@gmail.com> <20060719232003.GA3821@homer.bertram-scharpf> X-Archives-Salt: 0324a9d2-cf68-405f-a71f-7c0249173cee X-Archives-Hash: 6eabd71770a7ce21d6ca268068af10ed 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