Numlock on T20 (was Re: [ltp] Gentoo Linux ( 2.6.13-rc6 ) running
on T20 900 mhz laptop)
Peter B. West
linux-thinkpad@linux-thinkpad.org
Wed, 24 Aug 2005 21:09:27 +0100
This is a cryptographically signed message in MIME format.
--------------ms080201060203060809090902
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
John Shillinglaw wrote:
> Thanks for the reply,
>
> However, that was not what I was asking, I _know_ about shift-lock on
> the laptop, however on the small keyboard, pressing shift and lock every
> time I need to navigate in a game, etc is a pain.
>
> What I want to know is, does anyone know how to map the thinkpad's
> shift-lock ( shift-ScrlLK) to a SINGLE key, say F11 or PrtSC so I can
> turn the num pad on and off easier.
You can do it, but it means that you have to wander into the wilds of
XKB. "Abandon hope, all ye who enter here."
Roughly speaking, you will define your keyboard as an international
variant, and map the Right-Alt as an Alt Gr key. You will find mappings
like
key <AE07> { [ 7, ampersand ],
[ onehalf, dead_horn ] };
key <AE08> { [ 8, asterisk ],
[threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft ],
[ leftsinglequotemark, dead_breve] };
and
key <AD07> { [ u, U ],
[ uacute, Uacute ] };
key <AD08> { [ i, I ],
[ iacute, Iacute ] };
key <AD09> { [ o, O ],
[ oacute, Oacute ] };
and
key <AC07> { [ j, J ] };
key <AC08> { [ k, K ],
[ kra, ampersand ] };
key <AC09> { [ l, L ],
[ oslash, Ooblique ] };
and
key <AB07> { [ m, M ],
[ mu, mu ] };
key <AB08> { [ comma, less ],
[ ccedilla, Ccedilla ] };
key <AB09> { [ period, greater ],
[ dead_abovedot,dead_caron ] };
in one of the files.
Change the third mapping to the value you want. I can't check this
directly, because I have created my own mappings for the G41, which
include mapping the Right-Alt to Compose, and that was a fraught
exercise, which someone else on this list cheerfully informed me was a
complete waste of time. I don' think you will be able to short-cut this
using xmodmap, given that you need an alternative Shift mapping, but I
could be wrong. In any case, XKB is the way to go if you can possibly
manage it.
If you have any particular questions as you explore XKB, ask on the list
and I will offer what assistance I can.
Peter
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>
--------------ms080201060203060809090902
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJJzCC
Au4wggJXoAMCAQICAw9WGTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwODIwMDY0MzQ2WhcNMDYwODIwMDY0MzQ2
WjBkMQ0wCwYDVQQEEwRXZXN0MRYwFAYDVQQqEw1QZXRlciBCZXJuYXJkMRswGQYDVQQDExJQ
ZXRlciBCZXJuYXJkIFdlc3QxHjAcBgkqhkiG9w0BCQEWD2xpc3RzQHBidy5pZC5hdTCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM6Rl1X6RatDdAOqpAVXaNSGL3jA19xI2zHB
2Ogqg6oUmFwdmOIZIhIpk96VeYaYnf+fILzW8hls5MR5tKaAsKpE3n9B91x86xIK0nFa3WDG
yuaqoziXQNXB5/obynb95uiNA2DbgKgq0ETobjtJIFTUrv3aId3ig5jCmcCbhw6j7vRXcSQS
npjnaQu/ZF0RHx9fEa2Rf/KBmQYiwq04B3FuaQK/VqfFE705sroK2MHWrowkDo1DuPuWREj2
enM7yg7nDiiUIQwwTOHPK7WI247d0cEMqpn1hc3JUM/5043+cDKE5QA/kYPrZpEHsC+GC91i
lhS6k18C5LEu0sz7AM8CAwEAAaMsMCowGgYDVR0RBBMwEYEPbGlzdHNAcGJ3LmlkLmF1MAwG
A1UdEwEB/wQCMAAwDQYJKoZIhvcN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y5njIep0IanjaPrN0xWU/k6rdAegq9THGTM6SW3+xHHIEyy7LkFI0RsZ8Z3prFdKSbkgs53
MUYGjk4mC4PpZEDwnIxT2WCdS8EglNh6tALDW8aR+y8YIXoE8fUJ4wdD/0NwEOkvp1qOSSuh
8v7yagpWQjNzywLStvW8CuWBIUFHbTKwwAZ7X93PJOzrqBXjCmN+in5euQm9us+wrkL9SYyL
kJ+MOHpfV4bhgfdbrszfRRNBw5bpRjdrfusVLk3ABchvDp2rjI02NAAAAAAAAA==
--------------ms080201060203060809090902--
---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]