Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 18:00:45 -0500 (EST)
From:      Vivek Khera <khera@kciLink.com>
To:        Mark Ovens <mark@ukug.uk.freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X keymapping
Message-ID:  <14450.31645.168625.761260@onceler.kcilink.com>
In-Reply-To: <20000104224803.H352@marder-1>
References:  <14450.10100.495300.372549@onceler.kcilink.com> <20000104220745.F352@marder-1> <14450.29762.888402.877973@onceler.kcilink.com> <20000104224803.H352@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "MO" == Mark Ovens <mark@ukug.uk.freebsd.org> writes:

>> Is there some way to modify the microsoft keyboard geometry file under
>> X11 to swap these keys?  I don't see exactly how that file works.
>> 

MO> Firstly, do you have the line

MO> 	 XkbModel    "microsoft"

MO> uncommented in /etc/XF86Config?

This is my Keboard section:

Section "Keyboard"
   Protocol        "Standard"
   XkbRules        "xfree86"
   XkbModel        "microsoft"
   XkbLayout       "us"
   LeftAlt         Meta
   RightAlt        Meta
EndSection

as created by the XF86 configuration program during installation.

MO> Also, are you saying that the "Windows" key is Meta_L by default? If
MO> so then does:

Yes.  And the right side "Windows" key is Meta_R.

MO> 	xmodmap -e "keysym Alt_L = Meta_L Alt_L"
MO> 	xmodmap -e "keysym Meta_L = Alt_L Meta_L"

MO> not swap them?

Nope.  It makes them both "Alt_L".  I'll play with this... it is very
close.  I think both commands need to run in one invocation of xmodmap
or it can't be done.  Kinda like swapping capslock/control.



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?14450.31645.168625.761260>