From owner-freebsd-questions Tue Jan 4 14: 8: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id D7D4F14ED8 for ; Tue, 4 Jan 2000 14:07:53 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 24050 invoked from network); 4 Jan 2000 22:07:50 -0000 Received: from userag47.uk.uudial.com (HELO marder-1.) (62.188.132.133) by smtp.dial.pipex.com with SMTP; 4 Jan 2000 22:07:50 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id WAA01375; Tue, 4 Jan 2000 22:07:45 GMT (envelope-from mark) Date: Tue, 4 Jan 2000 22:07:45 +0000 From: Mark Ovens To: Vivek Khera Cc: freebsd-questions@freebsd.org Subject: Re: X keymapping Message-ID: <20000104220745.F352@marder-1> References: <14450.10100.495300.372549@onceler.kcilink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <14450.10100.495300.372549@onceler.kcilink.com> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 04, 2000 at 12:01:40PM -0500, Vivek Khera wrote: > I have a MS natural keyboard running on FreeBSD 3.4-STABLE. The > "Window" keys and the "Alt" keys at the bottom are opposite to what > I'm accustomed. How can I swap these two keys under X? I've tried > running the xkeycaps program and using the xmodmap it produces, but > that failed. I tried adding these lines to my XF86Config file in the > Keyboard section: > > LeftAlt Meta > RightAlt Meta > > but that didn't do it. > > Basically, what incantation do I need to swap Meta_L with Alt_L and > Meta_R with Alt_R. All the apps I use have Meta-KEY combinations and > my fingers just can't deal with the swapped positions. > >From the xmodmap(1) manpage: Similarly, some keyboards have an Alt key but no Meta key. In that case the following may be useful: % xmodmap -e "keysym Alt_L = Meta_L Alt_L" Guess you can just substitute ``R'' for ``L'' to do the other key. > I used to run this keyboard on BSD/OS under Xaccel and the keys were > in the "right places", so that's why I'm used to it... > > Thanks in advance for any help. > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Vivek Khera, Ph.D. Khera Communications, Inc. > Internet: khera@kciLink.com Rockville, MD +1-301-545-6996 > PGP & MIME spoken here http://www.kciLink.com/home/khera/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message