{"id":617,"date":"2010-01-18T14:37:07","date_gmt":"2010-01-18T06:37:07","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=617"},"modified":"2010-01-25T19:38:49","modified_gmt":"2010-01-25T11:38:49","slug":"apple-keyboard-alt-command-key-remapping","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2010\/01\/18\/apple-keyboard-alt-command-key-remapping\/","title":{"rendered":"\u61f6\u4eba\u6d41\u4e4b\u5c0d\u8abf Apple \u9375\u76e4 alt-command \u9375\u7684\u65b9\u6cd5"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[\u83ef\u8a9e, cmn-Hant-TW]  <\/strong><\/p><p>Apple \u73fe\u5728\u7684\u9375\u76e4\u76f4\u63a5\u7528\u5728\u4e00\u822c\u500b\u4eba\u96fb\u8166\u4e0a\u6c92\u5565\u5927\u554f\u984c\uff0c\u4e3b\u8981\u7684\u6309\u9375\u5927\u90e8\u4efd\u90fd\u6709\u5c0d\u61c9\u5230\u3002\u4e0d\u904e\u6709\u4e00\u500b\u5730\u65b9\u56e0\u70ba\u6b77\u53f2\u53ca\u529f\u80fd\u56e0\u7d20\u6240\u4ee5\u5c0d\u61c9\u8d77\u4f86\u4f4d\u7f6e\u525b\u597d\u76f8\u53cd\uff0c\u4e5f\u5c31\u662f <span style=\"color: #339966\">alt\/option<\/span> -&gt; <span style=\"color: #339966\">alt<\/span> \u4ee5\u53ca <span style=\"color: #ff9900\">apple\/command<\/span> -&gt; <span style=\"color: #ff9900\">win<\/span>\u3002\u5f9e\u529f\u80fd\u4f86\u9019\u500b\u5c0d\u61c9\u662f\u5b8c\u5168\u5408\u7406\uff0c\u554f\u984c\u662f\u9019\u5169\u500b\u9375\u7684\u6392\u5217\u5728 Apple \u7cfb\u7d71\u662f ctrl-<span style=\"color: #339966\"><strong>alt<\/strong><\/span>&#8211;<strong><span style=\"color: #ff9900\">command<\/span><\/strong>\uff0c\u5728\u4e00\u822c PC \u4e0a\u5247\u662f ctrl-<span style=\"color: #ffff00\"><strong><span style=\"color: #ff9900\">win<\/span><\/strong><\/span>&#8211;<span style=\"color: #339966\"><strong>alt<\/strong><\/span>\uff0c\u6240\u4ee5\u96d6\u7136\u9810\u8a2d\u7684\u5c0d\u61c9\u5b8c\u5168\u5408\u7406\uff0c\u4f46\u662f\u6309\u8d77\u4f86\u4e00\u9ede\u4e5f\u4e0d\u9806\u624b\uff0c\u4e5f\u56e0\u6b64\u6709\u5c0d\u8abf\u7684\u9700\u6c42\u3002<\/p>\n<h3>FreeBSD Console<\/h3>\n<p>\u8907\u88fd \/usr\/share\/syscons\/keymaps\/us.iso.kbd \/usr\/share\/syscons\/keymaps\/us.apple.kbd\uff0c\u7136\u5f8c\u6539\u4e00\u4e0b us.apple.kbd<\/p>\n<pre lang=\"none\">\u2026\r\n056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O\r\n...\r\n093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O\r\n...\r\n105   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O\r\n106   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O\r\n\u2026<\/pre>\n<p>fkey62 \u5c31\u662f l-winkey\uff0cfkey63 \u5c31\u662f r-winkey\uff0c\u628a\u524d\u9762\u7684\u6578\u5b57 056&lt;-&gt;105 093&lt;-&gt;106 \u4e92\u76f8\u5c0d\u8abf\u5373\u53ef\uff0c\u81f3\u65bc\u70ba\u4ec0\u9ebc\u662f fkey62,fkey3 \u8acb <a href=\"http:\/\/www.freebsd.org\/cgi\/man.cgi?query=keyboard&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.0-RELEASE&amp;format=html\">man keyboard<\/a>\u3002<\/p>\n<p>\u63a5\u8457\u5728 \u00a0\/etc\/rc.conf \u88e1\u9762\u8ddf\u7cfb\u7d71\u8b1b\u8aaa\u958b\u6a5f\u7684\u6642\u5019\u8981\u6539\u8f09\u5165\u9019\u500b\u6539\u904e\u7684\u6a94\u6848\u5373\u53ef\u3002<\/p>\n<pre lang=\"bash\">kbdmap = \"us.apple.kbd\"<\/pre>\n<h3>X.Org<\/h3>\n<p>\u8a2d\u5b9a\u6a94\u592a\u8907\u96dc\uff0cXmodmap \u53c8\u53ea\u80fd\u500b\u5225\u7684\u6539\uff0c\u7136\u5f8c hal \u9032\u4f86\u5927\u4e82\u9b25\u53c8\u5f97\u6771\u7e5e\u897f\u7e5e\uff0c\u4e7e\u8106\u5c31\u76f4\u63a5\u6539\u9810\u8a2d\u7684\u6a94\u6848\u6bd4\u8f03\u5feb\u3002\u8981\u6539\u7684\u6a94\u6848\u662f \/usr\/local\/share\/X11\/xkb\/keycodes\/xfree86\uff0c\u628a LALT RALT \u5f8c\u9762\u7684\u6578\u5b57\u8ddf LWIN RWIN \u7684\u6578\u5b57\u5c0d\u8abf\u5373\u53ef\uff0c\u4e5f\u5c31\u662f 64&lt;-&gt;115 113&lt;-&gt;116<\/p>\n<h3>Windows<\/h3>\n<p>\u76f4\u63a5\u57f7\u884c<a href=\"http:\/\/files.pighead.cc\/index.php?dir=&amp;file=apple-keyboard-remap.reg\">\u767b\u9304\u6a94<\/a>\uff0c\u624b\u52d5\u6539\u7684\u6b65\u9a5f\u4e0d\u96e3\u4e0d\u904e\u6709\u9ede\u7169\u3002<br \/>\n\u9084\u539f\u7684\u8a71\u53ea\u8981\u522a\u6389 [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Keyboard Layout] \u7684 Scancode Map \u7684\u503c\u5373\u53ef\uff0c\u7d30\u7bc0\u8acb\u53c3\u8003 <a href=\"http:\/\/www.microsoft.com\/whdc\/archive\/w2kscan-map.mspx\">M$ \u7db2\u7ad9<\/a><\/p>\n<h3>Mac OS X<\/h3>\n<p>\u7cfb\u7d71\u504f\u597d\u8a2d\u5b9a&gt;\u9375\u76e4(\u9375\u76e4) \u7684\u8b8a\u66f4\u9375\u76f4\u63a5\u8a2d\u6210\u5c0d\u8abf\u3002  (\u5e7e\u4e4e\u4e0d\u6703\u7528\u5230\u9019\u7a2e)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u83ef\u8a9e, cmn-Hant-TW] Apple \u73fe\u5728\u7684\u9375\u76e4\u76f4\u63a5\u7528\u5728\u4e00\u822c\u500b\u4eba\u96fb\u8166\u4e0a\u6c92\u5565\u5927\u554f\u984c\uff0c\u4e3b\u8981\u7684\u6309\u9375\u5927\u90e8\u4efd\u90fd\u6709\u5c0d\u61c9\u5230\u3002\u4e0d\u904e\u6709\u4e00\u500b\u5730\u65b9\u56e0\u70ba\u6b77\u53f2\u53ca\u529f\u80fd\u56e0\u7d20\u6240\u4ee5\u5c0d\u61c9\u8d77\u4f86\u4f4d\u7f6e\u525b\u597d\u76f8\u53cd\uff0c\u4e5f\u5c31\u662f alt\/option -&gt; alt \u4ee5\u53ca apple\/command -&gt; win\u3002\u5f9e\u529f\u80fd\u4f86\u9019\u500b\u5c0d\u61c9\u662f\u5b8c\u5168\u5408\u7406\uff0c\u554f\u984c\u662f\u9019\u5169\u500b\u9375\u7684\u6392\u5217\u5728 Apple \u7cfb\u7d71\u662f ctrl-alt&#8211;command\uff0c\u5728\u4e00\u822c PC \u4e0a\u5247\u662f ctrl-win&#8211;alt\uff0c\u6240\u4ee5\u96d6\u7136\u9810\u8a2d\u7684\u5c0d\u61c9\u5b8c\u5168\u5408\u7406\uff0c\u4f46\u662f\u6309\u8d77\u4f86\u4e00\u9ede\u4e5f\u4e0d\u9806\u624b\uff0c\u4e5f\u56e0\u6b64\u6709\u5c0d\u8abf\u7684\u9700\u6c42\u3002 FreeBSD Console \u8907\u88fd \/usr\/share\/syscons\/keymaps\/us.iso.kbd \/usr\/share\/syscons\/keymaps\/us.apple.kbd\uff0c\u7136\u5f8c\u6539\u4e00\u4e0b us.apple.kbd \u2026 056 lalt lalt lalt lalt lalt lalt lalt lalt O &#8230; 093 ralt ralt ralt ralt&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[9,4591,170,168,4590,53],"class_list":["post-617","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-apple","tag-freebsd","tag-keyboard","tag-mac-os-x","tag-windows","tag-xorg"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":15,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":661,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/617\/revisions\/661"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}