万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    macOSのボリュームコントロールのオーバーレイがうざい

    音声の上げ下げで出てくるこいつがうざい! f:id:shinriyo:20170826140020p:plain 字幕で見てる時にこいつが邪魔すぎる。ジョブズしっかりしろ。成仏できないぞ?

    apple.stackexchange.com

    macOS 10.12 の Sierraでは「System Integrity Protection(rootless)」、通称SIPを無効にする。

    しかも面倒なことにSIPを無効にするにはリカバリモードにしないといけない。 やり方はここが詳しい。 Utilityしかつかえないモードなのでコマンドはメモしておくのを勧めます。 qiita.com

    そのあとで csrutil statusSystem Integrity Protection status: disabled.となってる(SIPが無効)ことを確認して。

    launchctl unload -wF /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist

    をすると出て来なくなる。

    wFについては、

            -w      If the service is disabled, it will be enabled. In previous
                    versions of launchd, being disabled meant that a service was
                    not loaded. Now, services are always loaded. If a service is
                    disabled, launchd does not advertise its service endpoints
                    (sockets, Mach ports, etc.).
            -F      Forcibly load the service. This flag will ignore the service's
                    disabled state. In previous versions of launchd, this flag
                    would also ignore the ownership and permissions of the
                    specified launchd.plist. This is no longer the case. Note that,
                    unlike the -w flag, this flag will not  modify the service's
                    disabled state; it will instead only ignore it for the load
                    operation.