【问题标题】:Hide icon spotlight in El Capitan [closed]隐藏El Capitan中的图标聚光灯[关闭]
【发布时间】:2015-07-26 18:55:58
【问题描述】:

Mac os x El Capitan

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

sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

收到此回复:

chmod: Unable to change file mode on /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search: Operation not permitted

如何解决?

【问题讨论】:

标签: macos console osx-elcapitan


【解决方案1】:

不确定其他答案,因为这里似乎不存在/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 将继续隐藏图标。

【讨论】:

  • 调酒师很棒
  • 等等,什么?我需要进入安全模式并重新启动等等,才能让 Bartender 真正工作?
  • 像魅力一样工作!这种方法需要最少的努力,并且不会对操作系统进行真正的更改,也没有风险。
【解决方案2】:

您实际上也可以在恢复模式下启动 (cmd + r),然后在终端中输入命令。通过这种方式,您可以隐藏聚光灯图标,但不必禁用 sip。

【讨论】:

  • 这似乎不起作用,Search.bundle 似乎在恢复环境中不存在。
【解决方案3】:

我找到了解决办法!

您需要通过恢复启动禁用 el capitan 的 sip。
这里有更多细节:
http://blog.binaryage.com/el-capitan-update/

【讨论】:

    猜你喜欢
    • 2016-02-14
    • 1970-01-01
    • 2017-07-07
    • 1970-01-01
    • 1970-01-01
    • 2013-08-05
    • 1970-01-01
    • 1970-01-01
    • 2011-04-11
    相关资源
    最近更新 更多