[英]Terminal.app On macOS Doesn't Preserve Preferences
I used to work with mac os a while ago an now I am coming back. 以前我曾经使用过Mac OS,现在又回来了。 What I noticed is regular preferences update doesn't work for at least Terminal.app.
我注意到的是,常规首选项更新至少不适用于Terminal.app。 This happens on any High Sierra.
在任何高塞拉山脉都会发生这种情况。
Preferences
either through a menu or Cmd-,
. Cmd-,
进入Preferences
。 What's going on ? 这是怎么回事 ? Looks like a bug to me, perhaps I have missed something since Lion release.
对我来说似乎是个虫子,也许自Lion发行以来我错过了一些东西。
It could be that your preferences are "stuck." 您的喜好可能被“卡住了”。 Preferences in macOS has been broken for awhile now and can sometimes get into a state where the app can't read changes made, or changes never get applied.
macOS中的首选项已被破坏了一段时间,有时可能会进入一种状态,即应用程序无法读取所做的更改,或者永远不会应用更改。
Try deleting your ~/Library/Preferences/com.apple.Terminal.plist
file along with any com.apple.Terminal.plist.lockfile
and com.apple.Terminal.plist.<RANDOM>
companion files you find. 尝试删除
~/Library/Preferences/com.apple.Terminal.plist
文件以及找到的任何com.apple.Terminal.plist.lockfile
和com.apple.Terminal.plist.<RANDOM>
随播文件。 Restart your system and try it again. 重新启动系统,然后重试。
Another way is to look at the ~/Library/Preferences/com.apple.Terminal.plist
permissions. 另一种方法是查看
~/Library/Preferences/com.apple.Terminal.plist
权限。 You may see something like this 您可能会看到类似的内容
Now if you run something like 现在,如果您运行类似
sudo chown evgeniy.sharapov:staff ~/Library/Preferences/com.apple.Terminal.plist
And restart the Terminal.app, it seems to go back to normal and able to save changes in Preferences. 并重新启动Terminal.app,它似乎可以恢复正常并且可以保存“首选项”中的更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.