From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NV6Pe-0006BC-7R for garchives@archives.gentoo.org; Wed, 13 Jan 2010 16:49:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 777BBE0886; Wed, 13 Jan 2010 16:48:41 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by pigeon.gentoo.org (Postfix) with ESMTP id 326BAE0886 for ; Wed, 13 Jan 2010 16:48:41 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so124814fgg.10 for ; Wed, 13 Jan 2010 08:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0IQqjieIQ4LhchSR+yDofsT5bhdpPmfidBLt9qyv04Q=; b=Cg71i3WC03HsfnFxpGzFtaG7Yspze4y/C2zL8PNhxRIRPudF+f27QB6kRO0kjJ0mL5 PxJa2iIqPqOn1coaHD1EKF8Mvtt3fJmKmzuNq3MHdGxQPNXhl7unk+VPHrNXtaTunzkH yDfGrZXVBjWceB9DWWKszgjBHADb5IFsGo/YA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZISzVprB+A+WWKat0xNY9Iu4iYgxJ97KHNoXR3HnyO42I++YDoeDubwfoD7q7roE58 Rj3K4CEPgQFpIEo5M+JgiHlrWQuWPwSFA55nu2gZ5ymXf7QNMJTN7HACJ/kcOo150UsR V0uksx4evcP0SowU3xag66uK7b1+ZjxcWcFpA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.93.69 with SMTP id k47mr3852945wef.179.1263401320365; Wed, 13 Jan 2010 08:48:40 -0800 (PST) In-Reply-To: <4B4DEC21.4090209@doublecreations.com> References: <9c74dfeb1001130421o29e3a3dbs29c534167579110b@mail.gmail.com> <4B4DEC21.4090209@doublecreations.com> Date: Wed, 13 Jan 2010 17:48:40 +0100 Message-ID: <9c74dfeb1001130848h6a08090cx9ede197d96e54823@mail.gmail.com> Subject: Re: [gentoo-user] Modify keymap From: Xianwen Chen To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ce21ee11-fe93-494b-b461-ef72ead83406 X-Archives-Hash: c8d86367ed235fab357310994fff2613 Thanks a lot! =C3=98=C3=98=C3=98 :) Best regards, Wen -- Xianwen Chen On Wed, Jan 13, 2010 at 4:52 PM, Vincent Launchbury wrote: > Xianwen Chen wrote: >> I can't use the letter "=C3=B8" because this key doesn't exist on an en_= US >> keyboard. >> >> To solve this problem, I want to modify the layout file, to set the >> "Windows" key to "=C3=B8". Does anyone know which file shall I touch? > > You might be able to use x11-apps/xmodmap. Grab x11-apps/xev to find out > the keycode, which is usually 115 for the windows key: > > Run xev and press the key, then watch for output like: > =C2=A0state 0x0, keycode 115, ... > > Then get the keysym for =C3=B8 by doing: > $cat /usr/include/X11/keysymdef.h |grep -i oslash > #define XK_Oslash 0x00d8 /* U+00D8 LATIN CAPITAL LETTER O WITH STROKE */ > #define XK_oslash 0x00f8 /* U+00F8 LATIN SMALL LETTER O WITH STROKE */ > > Then create ~/.Xmodmap, here's the relevant part of my file: > $cat ~/.Xmodmap |grep 115 > keycode 115 =3D 0x00f8 > > Then, the command: > $xmodmap ~/.Xmodmap > is required to make the changes, so just add it to your .xinitrc or the > startup file for whatever desktop environment you're running. > > This works fine for me in anything that supports unicode, although > strangely it doesn't work in xterm. > > Note that I'm not using dvorak, but I don't see that making a > difference. Good luck :). =C3=B8=C3=B8=C3=B8! > > Kind Regards, > Vincent. > > >