{"id":337,"date":"2019-10-17T13:07:47","date_gmt":"2019-10-17T04:07:47","guid":{"rendered":"https:\/\/blog.hgrs.me\/?p=337"},"modified":"2019-12-11T14:11:37","modified_gmt":"2019-12-11T05:11:37","slug":"macbook%e3%81%ae%e5%bf%8c%e3%81%be%e3%82%8f%e3%81%97%e3%81%8d%e5%85%85%e9%9b%bb%e9%9f%b3%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.hgrs.me\/archives\/337.html","title":{"rendered":"MacBook\u306e\u5fcc\u307e\u308f\u3057\u304d\u5145\u96fb\u97f3\u3092\u6d88\u3059\u65b9\u6cd5"},"content":{"rendered":"
\uff08\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u304c\u7121\u99c4\u306b\u30dd\u30c3\u30d7\u3067\u3059\u306d\u3002\uff09<\/p>\n
MacBook Pro\u3092\u666e\u6bb5\u5feb\u9069\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3042\u306e\u5145\u96fb\u3057\u305f\u3068\u304d\u306b\u306a\u308b\u300c\u30d5\u30a9\u30f3\u30c3\u300d\u307f\u305f\u3044\u306a\u97f3\u304c\u8a31\u305b\u307e\u305b\u3093\u3002<\/p>\n
\u305f\u3076\u3093\u3001\u5145\u96fb\u3067\u304d\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306e\u78ba\u8a8d\u306e\u305f\u3081\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u50d5\u306f\u5145\u96fb\u306e\u6709\u7121\u3067\u753b\u9762\u306e\u660e\u308b\u3055\u3092\u5909\u3048\u308b\u8a2d\u5b9a\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u97f3\u306f\u90aa\u9b54\u306a\u3060\u3051\u3067\u3059\u3002\u3057\u304b\u3082\u3053\u306e\u97f3\u3001\u672c\u4f53\u3092\u6d88\u97f3\u306b\u3057\u3066\u3044\u3066\u3082\u9cf4\u308b\u3057\u3001\u97f3\u697d\u3084\u52d5\u753b\u306a\u3069\u306e\u4ed6\u306e\u518d\u751f\u3055\u308c\u3066\u3044\u308b\u97f3\u3092\u906e\u308a\u307e\u3059\u3002\u60aa\u8cea\u3067\u3059\u3002<\/p>\n
\u6d88\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n
\u50d5\u306e\u74b0\u5883\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002\u9055\u3046\u5834\u5408\u306f\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u3067\u306f\u6d88\u305b\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n
OS: macOS Catalina(10.15)\nModel: MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)<\/code><\/pre>\n\u6d88\u3057\u65b9<\/h2>\n
\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n
$ defaults write com.apple.PowerChime ChimeOnNoHardware -bool true\n$ killall PowerChime<\/code><\/pre>\n\u4ee5\u4e0a\u3002<\/p>\n
\u3061\u306a\u307f\u306b<\/h2>\n
\u3053\u306e\u97f3\u306e\u6b63\u4f53\u306fPowerChime.app\uff08\/System\/Library\/CoreServices\/PowerChime.app\uff09\u3068\u3044\u3046\u30a2\u30d7\u30ea\u304c\u9cf4\u3089\u3057\u3066\u3044\u308b\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\uff08\/System\/Library\/CoreServices\/PowerChime.app\/Contents\/Resources\/connect_power.aif\uff09\u3067\u3059\u3002<\/p>\n
\u4ed6\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3053\u306e\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u308b\u65b9\u6cd5\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u73fe\u5728\u306eMac\u306f \/System<\/code> \u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u64cd\u4f5c\u306f\u539f\u5247\u7981\u6b62\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001SIP\uff08\u30b7\u30b9\u30c6\u30e0\u6574\u5408\u6027\u4fdd\u8b77\uff09\u3092\u7121\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u3053\u306eSIP\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u89b3\u70b9\u304b\u3089\u7121\u52b9\u5316\u3059\u308b\u3053\u3068\u306f\u63a8\u5968\u3055\u308c\u307e\u305b\u3093\u3002\u307e\u3057\u3066\u3084\u3001\u3053\u3093\u306a\u97f3\u4e00\u3064\u3092\u6d88\u3059\u305f\u3081\u306b\u7121\u52b9\u5316\u3057\u3066\u826f\u3044\u3088\u3046\u306a\u4fdd\u8b77\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u306a\u3093\u304b\u8abf\u3079\u3066\u51fa\u3066\u304d\u305f\u304b\u3089\u306e\u69d8\u306a\u5b89\u6613\u306a\u6c17\u6301\u3061\u3067\u306f\u5b9f\u884c\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\u4eca\u56de\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u306f\u3001\u30a2\u30d7\u30ea\u3092\u8aad\u307f\u8fbc\u3080\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08.plist\uff09\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u6d88\u97f3\u5bfe\u5fdc\u3092\u884c\u306a\u3063\u3066\u3044\u307e\u3059\u3002Mac\u306e defaults<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u306f\u3042\u3089\u3086\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u300d\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u5148\u307b\u3069\u306e\u30b3\u30de\u30f3\u30c9\u306f com.apple.PowerChime<\/code> \u306e\u8a2d\u5b9a\u306e ChimeOnNoHardware<\/code> \u3068\u3044\u3046\u9805\u76ee\u3092 true<\/code> \u306b write<\/code> \u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n\u3053\u3053\u3067\u66f8\u304d\u8fbc\u307e\u308c\u305f\u8a2d\u5b9a\u306f \/Users\/<username>\/Library\/Preferences\/com.apple.PowerChime.plist<\/code> \u306b\u66f8\u304d\u8fbc\u307e\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u30d0\u30a4\u30ca\u30ea\u5316\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u4e2d\u8eab\u3092\u898b\u305f\u3044\u5834\u5408\u306f\u30af\u30a4\u30c3\u30af\u30eb\u30c3\u30af\uff08\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u3092\u62bc\u3059\uff09\u304b\u3001xml\u306b\u5909\u63db\uff08 plutil -convert xml1 \/Users\/<username>\/Library\/Preferences\/com.apple.PowerChime.plist<\/code> \u901a\u5e38\u306f\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3055\u308c\u305f\u304f\u306a\u3044\u5834\u5408\u306f -o <path><\/code> \u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\uff09\u3057\u3066\u4e2d\u8eab\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\u307e\u305f\u5148\u307b\u3069\u306e defaults<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u3082\u78ba\u8a8d\u304c\u884c\u3048\u307e\u3059\u3002\u4eca\u5ea6\u306f read<\/code> \u3092\u4f7f\u3044\u3001 defaults read com.apple.PowerChime<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305f\u3082\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\u304a\u308f\u308a\u306b<\/h2>\n
\u6700\u5f8c\u306f\u3082\u3046\u95a2\u4fc2\u306a\u3044\u8a71\u3067\u3059\u304c\u3001\u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u307f\u3066\u77e5\u3089\u306a\u3044\u3053\u3068\u3082\u3042\u3063\u305f\u306e\u3067\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u3082\u3046\u3042\u306e\u5fcc\u307e\u308f\u3057\u304d\u5145\u96fb\u97f3\u3068\u306f\u304a\u3055\u3089\u3070\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u306f\u3058\u3081\u306b \uff08\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u304c\u7121\u99c4\u306b\u30dd\u30c3\u30d7\u3067\u3059\u306d\u3002\uff09 MacBook Pro\u3092\u666e\u6bb5\u5feb\u9069\u306b\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3059…<\/p>\n","protected":false},"author":1,"featured_media":338,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[32],"_links":{"self":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts\/337"}],"collection":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/comments?post=337"}],"version-history":[{"count":0,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts\/337\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/media\/338"}],"wp:attachment":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/media?parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/categories?post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/tags?post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}