How to Disab le Caps Lock Key in
Windows 7 or Vista
Windows 7或Vista下如何禁用大小写锁定键同样适用于任意按键间的映射
The caps lockkey is one of thoseremnants of anotherage ofcomputers, backwhen peopel used to shoutat each othermore often.Unless you’re in the accounting department, it’s probably not veryuseful, so todaywe’l l learnhowto disable it.
大小写锁定键毫无用处索性将其禁用。
If you’re usingMacOSXinstead,you can fol lowourguideon howtodisable Caps LockinOSXusinga registryhack, oryou can mapanykeytoany key if you real lywant to.
如果你是M acOS X用户. . .
Note:This article was original lypubl ished years ago, but we’veupdated it and are republ ishing foreverybodythat mightnot haveseen it.Image by Laurence Vagner
再版说明略过。
Understanding How Windows Key Re-Mapping Works了解Win dows键盘重映射的工作方式
Windows doesn’t have a default settnig to al lowfordisabl ing the key,so what we have to do is -remap the keyto somehting non-existent soas to completelydisable it.To dothis manual ly,you’d open upregedit.exe and browse down to the fol lowing key:
为了禁用无用的大小写锁定键请打开注册表编辑器开始>运行>输入regedit 定位到以下注册表键。
Here’s the format of the binayr data in the Scanocde Map key,with theimportant parts in bold andvarious colors:
Scanc ode Map键的二进制值的格式如下其中加粗和着色处为重点。
Here’s how it works:
其工作方式如下
The first 16 zerosarejust thereto wastespace.
前16个字符是浪费空间的摆设。
The“02″ in bold represents how many keys you are goingtore-map plus 1. (It real lyrepresents the lengthof the data, butwhatever)
"02"代表需要重新映射的按键的数量。
The orange bolded“0000″ is the keywe actual lywant Windowsto mapTO,which in this case is nothnig, or0.
橙色加粗的"0000"是映射到的键码本例中为不存在的按键。
The blue bolded“3A00″ is the keywe are mappnigfrom, inthiscase the caps lock key.
蓝色粗体的"3A00"是需要映射的按键本例中即大小写锁定键。
The next8zerosare thereto wastespaceas the nul lterminator.
剩余的8个零不用理会。
You can map between multiple keys by incrementing the“02″ andthen adding anotherof the colorful bold blocks in the middle.The3A00 in the mixisthe scan code. Forexample, if you wanted todisablethecaps lockkeyandthenchange scrol l lockintoa caps lockke y:
通过增大"02"增加另外的着色粗体数字块可以实现多个键的映射。例如你希望禁用大小写锁定键后使用scrol l lock键来作为大小写锁定键
It mightseem complicated, but it’s realyl fairlysimple onceyou startworking with it.
看起来有些纠结试试看其实并不难。
Once you’ve appl ied one of theseregistryfi les,you’l l have to rebootyourcomputer for it to work.To uninstal l,you can use the uninstal lregistrytweak, oryou can simply delete the Scancode Map keyentirely.
重启似乎注销就可以了以应用修改使键盘的重新映射生效。如果要还原到重映射前的按键在注册表中直接删除S canco de Map键就可以了。
今天遇到一个网友,他之前一直在用阿里云虚拟主机,我们知道虚拟主机绑定域名是直接在面板上绑定的。这里由于他的网站项目流量比较大,虚拟主机是不够的,而且我看他虚拟主机已经有升级过。这里要说的是,用过阿里云虚拟主机的朋友可能会比较一下价格,实际上虚拟主机价格比云服务器还贵。所以,基于成本和性能的考虑,建议他选择云服务器。毕竟他的备案都接入在阿里云。这里在选择阿里云服务器后,他就蒙圈不知道如何绑定域名。这...
有一段时间没有分享Gcore(gcorelabs)的信息了,这是一家成立于2011年的国外主机商,总部位于卢森堡,主要提供VPS主机和独立服务器租用等,数据中心包括俄罗斯、美国、日本、韩国、新加坡、荷兰、中国(香港)等多个国家和地区的十几个机房,商家针对不同系列的产品分为不同管理系统,比如VPS(Hosting)、Cloud等都是独立的用户中心体系,部落分享的主要是商家的Hosting(Virtu...
Virtono最近推出了夏季促销活动,为月付、季付、半年付等提供9折优惠码,年付已直接5折,而且下单后在LET回复订单号还能获得双倍内存,不限制付款周期。这是一家成立于2014年的国外VPS主机商,提供VPS和服务器租用等产品,商家支持PayPal、信用卡、支付宝等国内外付款方式,可选数据中心包括罗马尼亚、美国洛杉矶、达拉斯、迈阿密、英国和德国等。下面列出几款VPS主机配置信息,请留意,下列配置中...