在El Capitan隐藏图标聚光灯

Rus*_*lan 12 macos console osx-elcapitan

Mac os x El Capitan

我想隐藏聚光灯图标.
输入命令:

sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
Run Code Online (Sandbox Code Playgroud)

收到这个回复:

chmod: Unable to change file mode on /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search: Operation not permitted
Run Code Online (Sandbox Code Playgroud)

怎么解决?

Ale*_*lec 27

不确定其他答案,因为/System/Library/CoreServices/Search.bundle这里似乎不存在.

但是,如果您使用的是Bartender,您仍然可以通过暂时禁用系统完整性保护来删除Spotlight图标(同时保持Spotlight搜索).

  1. 重启进入恢复模式(启动时按住+ R)
  2. 公用事业>终端
  3. csrutil disable
  4. 重启
  5. 开始调酒师.现在SIP已关闭,它会要求安装一些东西
  6. 隐藏Spotlight,现在可以在Bartender的菜单项列表中找到
  7. 重新启动进入恢复模式并重新启用SIP: csrutil enable
  8. 重启

重新启用SIP后,Bartender将继续隐藏图标.

  • 调酒师很棒 (2认同)

Rus*_*lan 0

我找到了解决办法!

您需要通过恢复启动禁用 el Captain 的 sip。
以下是更多详细信息:
http://blog.binaryage.com/el-capitan-update/