Vig*_*xin 5 macos terminal nstouchbar
我希望能够使用 defaults.write 在“触摸栏显示 F1、F2 等键”和“触摸栏显示扩展控制条”之间切换
我尝试过以下方法:
com.apple.touchbar.agent PresentationModeGlobal
之间切换fullControlStrip
functionKeys
但是,当我使用 成功应用该更改时defaults write com.apple.touchbar.agent PresentationModeGlobal functionKeys
,它不会更改我的触摸栏。
是不是有什么原因defaults write
没有达到预期的效果?
小智 5
你已经猜对了。剩下要做的就是重新启动触摸栏。
pkill "Touch Bar agent"; killall "ControlStrip";
Run Code Online (Sandbox Code Playgroud)