我正在尝试编辑键盘布局,而我正在保存文件{。}}。
到目前为止,我已经尝试了一些没有成功的事情:
cd /System/Library/Input Methods/PressAndHold.app/Contents/Resources
sudo chmod u+w Keyboard-pl.plist
vim Keyboard-pl.plist
和
sudo chflags nouchg Keyboard-pl.plist
sudo chmod u+w Keyboard-pl.plist
vim Keyboard-pl.plist
知道如何编辑它?
答案 0 :(得分:2)
事实上,在/ Cap(和其他位置)下的El Captain文件受到保护。要编辑它,您需要禁用保护:
要禁用系统完整性保护,您可以执行以下操作:
- 在按住
的同时重新启动,启动进入Recovery HDSymbol,Series,Date,Prev Close,Open Price,High Price,Low Price,Last Price,Close Price,VWAP,Total Traded Quantity,Turnover in Lacs,No. of Trades,DeliverableQty,% Dly Qt toTraded Qty 3IINFOTECH,EQ,23-May-2014,9.90,10.25,10.70,9.70,10.10,10.10,10.23,"84,99,408",869.20,"16,539","40,35,648",47.48 3IINFOTECH,EQ,26-May-2014,10.10,10.40,10.60,9.10,9.30,9.20,9.97,"59,15,990",589.88,"9,894","27,10,021",45.81 3IINFOTECH,EQ,27-May-2014,9.20,9.20,9.30,8.30,8.60,8.55,8.53,"34,95,072",298.18,"3,600","14,71,141",42.09 3IINFOTECH,EQ,28-May-2014,8.55,8.60,9.40,8.45,9.30,9.15,9.07,"36,09,261",327.27,"3,955","13,92,733",38.59 3IINFOTECH,EQ,29-May-2014,9.15,9.25,9.50,8.80,9.40,9.35,9.28,"30,13,036",279.69,"3,090","15,20,654",50.47 3IINFOTECH,EQ,30-May-2014,9.35,9.35,9.55,8.90,9.00,9.00,9.13,"13,97,140",127.53,"1,992","7,43,964",53.25
。- 打开终端(从“工具”菜单中)。
在终端中运行以下命令:
⌘R
- 醇>
重新启动。
来源:https://georgegarside.com/blog/osx/package-incompatible-installer/和https://apple.stackexchange.com/questions/208911/the-keyboards-plists-of-pressandhold-also-can-no-longer-be-modified-to-add-the