本文共 2212 字,大约阅读时间需要 7 分钟。
hbuilder基座
Sometimes, your Mac’s Dock might freeze up and stop working. It might also become glitchy, with app badges never going away or apps still showing after you close them. Here’s how to fix those problems.
有时,Mac的Dock可能会冻结并停止工作。 它还可能会出现故障,应用程序徽章永远不会消失,或者在您关闭它们后仍会显示应用程序。 这是解决这些问题的方法。
Restarting the Dock will usually fix problems you’re having with it. You can do it in Terminal by typing (or copying and pasting) this command and then hitting Enter:
重新启动Dock通常可以解决您遇到的问题。 您可以在终端中输入以下命令(或复制并粘贴),然后按Enter键:
killall Dock
The Dock should restart itself automatically.
扩展坞应自动重启。
Note: If you don’t want to use the terminal, you can accomplish the same thing by restarting your system—it just takes more time.
注意:如果您不想使用终端,则可以通过重新启动系统来完成同样的事情-这只需要花费更多时间。
If you’ve restarted the Dock (or your Mac) and the Dock is still acting up, you can reset to the default Dock settings and restart the Dock. To to that, type (or copy and paste) the following command at the terminal and then hit Enter:
如果重新启动了Dock(或Mac),但Dock仍在运行,则可以重置为默认Dock设置,然后重新启动Dock。 为此,请在终端上键入(或复制并粘贴)以下命令,然后按Enter:
defaults delete com.apple.dock; killall Dock
Keep in mind that this command does reset the dock back to its default settings, so you may have to fire up its preferences and reconfigure the Dock the way you had it, if you use different settings.
请记住,此命令的确会将扩展坞重置为默认设置,因此,如果使用其他设置,则可能必须启动其首选项并按照您的方式重新配置扩展坞。
Sometimes Finder itself can cause issues with the Dock. If you’ve tried our previous suggestions and your Dock is still acting up, you can restart Finder from the terminal by typing (or copying and pasting) the following command and hitting Return:
有时Finder本身可能会导致Dock出现问题。 如果您尝试了我们先前的建议,而您的Dock仍在运行,则可以通过键入以下命令(或复制并粘贴)并单击Return从终端重新启动Finder:
killAll Finder
If you don’t want to use the terminal, you can also hold down the Option key, right-click the Finder icon, and then click the “Relaunch” command.
如果您不想使用终端,也可以按住Option键,右键单击Finder图标,然后单击“重新启动”命令。
Force-quitting Finder will cause it to relaunch as well.
强制退出Finder也将使其重新启动。
翻译自:
hbuilder基座
转载地址:http://iiawd.baihongyu.com/