Date: Tue, 4 Jan 2000 22:07:45 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Vivek Khera <khera@kciLink.com> Cc: freebsd-questions@freebsd.org Subject: Re: X keymapping Message-ID: <20000104220745.F352@marder-1> In-Reply-To: <14450.10100.495300.372549@onceler.kcilink.com> References: <14450.10100.495300.372549@onceler.kcilink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000104220745.F352>