{"id":480,"date":"2011-10-30T21:55:33","date_gmt":"2011-10-30T12:55:33","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=480"},"modified":"2011-10-31T22:36:13","modified_gmt":"2011-10-31T13:36:13","slug":"linux%e3%81%a7capslock%e3%82%92ctrl%e3%81%ab%e4%ba%a4%e6%8f%9b%e3%81%a7%e3%81%aa%e3%81%8f%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=480","title":{"rendered":"Linux\u3067CapsLock\u3092Ctrl\u306b(\u4ea4\u63db\u3067\u306a\u304f)\u5909\u66f4\u3059\u308b"},"content":{"rendered":"<p>\u3069\u3053\u304b\u3067\u898b\u305f\u3088\u3046\u306a\u30bf\u30a4\u30c8\u30eb\uff0e<br \/>\n\u305d\u3046\uff0c[http:\/\/daily.belltail.jp\/?p=121:title=Windows 7\u3067CapsLock\u3092Ctrl\u306b(\u4ea4\u63db\u3067\u306a\u304f)\u5909\u66f4\u3059\u308b]\u306e\u59c9\u59b9\u8a18\u4e8b\u3067\u3059\uff0e<br \/>\n\u3075\u3068\u30d6\u30ed\u30b0\u8aad\u307f\u8fd4\u3057\u3066\u3066\u3069\u3046\u305bWindows\u3067\u306e\u3084\u308a\u65b9\u66f8\u3044\u3066\u308b\u306a\u3089\uff0c\u3068\u3044\u3046\u3053\u3068\u3067\uff0cLinux\u306b\u304a\u3051\u308b\u540c\u8a2d\u5b9a\u306b\u3064\u3044\u3066\uff0e<\/p>\n<p><!--more--><\/p>\n<p>**\u8a2d\u5b9a\u65b9\u6cd5<\/p>\n<p>xmodmap\u3068\u3044\u3046\u306e\u3092\u4f7f\u3044\u307e\u3059\uff0e<br \/>\n\u30b0\u30b0\u3063\u3066\u3082\u3089\u3046\u3068\u308f\u304b\u308b\u3093\u3067\u3059\u304c\uff0cCapsLock\u3068\u5de6Ctrl\u306e\u300c\u4ea4\u63db\u300d\u3070\u3063\u304b\u308a\u3067\u3059\u306d\uff0eCapsLock\u306a\u3093\u3066\u307e\u3063\u3063\u3063\u305f\u304f\u3044\u3089\u306a\u3044\u5b50\u306a\u306e\u3067\uff0c\u3069\u3063\u3061\u3082\u300c\u5de6Ctrl\u300d\u306b\u3057\u3066\u3057\u307e\u3044\u307e\u3059\uff0e<br \/>\n\u300c\u4ea4\u63db\u300d\u3060\u3068\uff0c2\u56de\u9069\u7528\u3057\u3061\u3083\u3063\u3066\u5143\u306b\u623b\u3063\u3066\u3042\u308c\u308c\u3063\u3066\u306a\u308a\u307e\u3059\u3057\u306d\uff0e<\/p>\n<p>\u3067\uff0c\u30db\u30fc\u30e0\u76f4\u4e0b\u3042\u305f\u308a\u306b&#8221;.Xmodmap&#8221;\u3068\u3067\u3082\u540d\u524d\u3064\u3051\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\uff0c\u6b21\u306e\u5185\u5bb9\u3092\u8a18\u8ff0\u3057\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nremove Lock = Caps_Lock\r\nkeysym Caps_Lock = Control_L\r\nadd Control = Control_L\r\n<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u304b\u3089\u8a2d\u5b9a\u3092\u9069\u7528\u3059\u308b\u306b\u306f\uff0c\u30b7\u30a7\u30eb\u304b\u3089<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% xmodmap ~\/.Xmodmap\r\n<\/pre>\n<p>\u3067\u3088\u3044\u306e\u3067\u3059\u304c\uff0c\u3069\u3046\u305b\u306a\u3089\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u81ea\u52d5\u3067\u3057\u3066\u307b\u3057\u3044\u3067\u3059\uff0e<\/p>\n<p>\u306a\u306e\u3067\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nxmodmap ~\/.Xmodmap\r\n<\/pre>\n<p>\u3092\uff0c\u30db\u30fc\u30e0\u76f4\u4e0b\u306e.profile\u3068\u304b.bash_profile\u306b\u8a18\u8ff0(\u8ffd\u8a18)\u3057\u307e\u3059\uff0e<\/p>\n<p>\u3053\u308c\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u306a\u304a\u3059\u3053\u3068\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e\u3084\u3063\u305f\u306d\u2229(\u30fb\u03c9\u30fb)\u2229<\/p>\n<p>**\u53c2\u8003(\u3080\u3057\u308d\u30b3\u30d4\u30da)<\/p>\n<p>[http:\/\/technique.sonots.com\/?UNIX%2F%E8%A8%AD%E5%AE%9A%E3%80%81%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%2F.Xmodmap]<\/p>\n<p>**\u6700\u5f8c\u306b<\/p>\n<p>ThinkPad\u306e\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u306e\u3068\u3053\u306b\u3042\u308b\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30ad\u30fc\u3082\u304f\u305d\u3067\u3059\u306d<br \/>\n\u7121\u52b9\u5316\u8a2d\u5b9a\u306e\u3084\u308a\u304b\u305f\u304c\u5206\u304b\u308b\u307e\u3067\uff06\u306a\u3093\u3067\u3082\u304b\u3093\u3067\u3082vim\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u306b\u3057\u3066\u3057\u307e\u3046\u307e\u3067\u306f\uff0c\u672c\u6c17\u3067\u30da\u30f3\u30c1\u3067\u5f15\u3063\u3053\u629c\u3044\u3066\u30d1\u30c6\u3067\u57cb\u3081\u3066\u3084\u308d\u3046\u304b\u3068\u3055\u3048<\/p>\n<p>xev\u3068xmodmap -pke\u3092\u4f7f\u3063\u3066\u5404\u30ad\u30fc\u306e\u30b3\u30fc\u30c9\u3092\u8abf\u3079\u3066(\u623b\u308b\u30fb\u9032\u3080\u305d\u308c\u305e\u308c166\uff0c167\u3067\u3057\u305f)\uff0c\u305d\u308c\u3092.Xmodmap\u306b\u8ffd\u52a0\u3067\u66f8\u304d\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nkeycode 166 = NoSymbol\r\nkeycode 167 = NoSymbol\r\n<\/pre>\n<p>**\u3064\u3044\u3067\u306b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uffe3\uff63\r\n\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u252c\u2518\r\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|\r\n\u3000\u3000 \u3000\uff3f\uff3f\uff3f\uff3f.\uff3f\uff3f\uff3f\uff3f\uff3f\u3000|\r\n\u3000\u3000\u3000|\u3000\u3000 \u3000 | \u3000 \u3000 \u3000| |\u3000 \u3000\r\n\u3000\u3000\u3000|\u3000\u3000 \u3000 |  \u2227\uff3f\u2227 | | \u3000\r\n\u3000\u3000\u3000|\u3000\u3000 \u3000 | ( \u00b4\u2200\uff40)\u3064 \u30df\u3000NumLock\r\n\u3000\u3000\u3000|\u3000\u3000 \u3000 |\/ \u2283\u3000 \uff89 | |\u3000 CapsLock\r\n\u3000 \u3000  \uffe3\uffe3\uffe3\uffe3'\uffe3\uffe3\uffe3\uffe3\uffe3 |\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3053\u304b\u3067\u898b\u305f\u3088\u3046\u306a\u30bf\u30a4\u30c8\u30eb\uff0e \u305d\u3046\uff0c[http:\/\/daily.belltail.jp\/?p=121:title=Windows 7\u3067CapsLock\u3092Ctrl\u306b(\u4ea4\u63db\u3067\u306a\u304f)\u5909\u66f4\u3059\u308b]\u306e\u59c9\u59b9\u8a18\u4e8b\u3067\u3059\uff0e \u3075\u3068\u30d6\u30ed\u30b0\u8aad\u307f\u8fd4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,10],"class_list":["post-480","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux","tag-10"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=480"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/480\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}