finder意外退出 解决_如何在OS X中“退出” Finder

finder意外退出 解决

finder意外退出 解决

There may be rare occasions in which you want to Quit the Finder completely–maybe to clean your cluttered desktop for a screenshot, or to close a bunch of Finder windows at once. But by default, the Finder doesn’t have a Quit option.

在极少数情况下,您可能想完全退出Finder –可能要清理混乱的桌面以获取屏幕截图,或者一次关闭一堆Finder窗口。 但是默认情况下,Finder没有退出选项。

This is generally a good thing, since quitting the Finder can have some unintended or unwanted side effects. For example, all the icons on your desktop will disappear. No, they won’t vanish permanently, since as soon as you restart the Finder, everything comes back, but it may give the uninitiated a nasty scare at first.

这通常是一件好事,因为退出Finder可能会产生一些意想不到的或有害的副作用。 例如,您桌面上的所有图标都将消失。 不,它们不会永久消失,因为一旦您重新启动Finder,一切都会恢复,但是一开始可能会给未开始的人带来讨厌的恐惧。

But, if you know what you’re doing, you can Quit the finder using a few Terminal commands. After running these commands, you’ll have the ability to not only quit Finder from the app switcher, but a “Quit” option will be placed on the Finder menu as well.

但是,如果您知道自己在做什么,则可以使用一些终端命令退出查找程序。 运行这些命令后,您不仅可以从应用程序切换器中退出Finder,而且还可以在Finder菜单上放置一个“退出”选项。

To add this option to your Mac, you will need to first open up the Terminal, which can be found in the Applications > Utilities folder.

要将此选项添加到Mac,您需要首先打开终端,可以在“应用程序”>“实用程序”文件夹中找到该终端。

With the Terminal open, you want to input the following command and hit “Enter”. You don’t need to type it in; you can simply copy and paste it if you prefer. If you do type it, make sure everything matches exactly, including anything upper or lowercase.

在终端打开的情况下,您要输入以下命令并按“ Enter”。 您无需输入; 您可以根据需要简单地复制并粘贴它。 如果输入,请确保所有内容完全匹配,包括大写或小写字母。

defaults write com.apple.finder QuitMenuItem -bool true

Then you will need to restart the Finder by inputting the following command and hitting “Enter”.

然后,您需要通过输入以下命令并单击“ Enter”来重新启动Finder。

killall Finder

In the Terminal it will look like this.

在终端中,它将看起来像这样。

You will now be able to quit the Finder just as if it were any other application. To reverse this action, enter the following command (note, the end of the command says “false” instead of “true”) and hit “Enter”.

现在,您就可以像其他任何应用程序一样退出Finder。 要取消此操作,请输入以下命令(注意,命令末尾显示“ false”而不是“ true”),然后按“ Enter”。

defaults write com.apple.finder QuitMenuItem -bool false

Follow this up with the “killall” command and hit “Enter”.

继续执行“ killall”命令,然后单击“ Enter”。

killall Finder

This will return your system to its previous form. You will no longer be able to quit the Finder and the option will disappear from the Finder menu.

这将使您的系统恢复其先前的形式。 您将不再能够退出Finder,并且该选项将从Finder菜单中消失。

Remember, quitting the Finder will cause anything on your desktop to vanish and you will need to restart the Finder to make them come back. That said, there are probably any number of reasons you might want this. For example, wanting to have a clean desktop for screenshot or even privacy purposes, such as if you’re doing a presentation and don’t want everyone seeing what you have on you computer.

请记住,退出Finder将导致桌面上的所有内容消失,并且您将需要重新启动Finder使其恢复。 就是说,您可能有多种原因。 例如,希望拥有一个干净的桌面来截图或什至出于隐私目的,例如您正在演示时,不想让所有人看到您计算机上的内容。

In any event, it’s a harmless and occasionally useful hack.

无论如何,这是一种无害且偶尔有用的hack。

翻译自: https://www.howtogeek.com/259378/how-to-quit-the-finder-in-os-x/

finder意外退出 解决

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值