桌面是Mac(Mac)上存储文件最方便的地方之一。当您打开计算机时,它是您登陆的第一个地方。您保存在桌面上的所有文件都可见且易于访问。
虽然一些Mac用户喜欢在桌面上保存文件和图标,但其他人更喜欢保持桌面干净,没有一个应用程序图标可见。如果您觉得您的桌面淹没在您不想看到的图标中,请按照我们的教程学习如何从您的Mac桌面隐藏或删除图标。

为什么要在Mac上(Your Mac)隐藏桌面图标(Hide Desktop Icons)?
即使您不保存在桌面上下载的文件,您可能仍会用它来保存重要文件,以便您记住将它们放在哪里。有些人甚至将他们的计算机桌面用作待办事项列表。
但是,如果您不定期清理杂乱的桌面,就会成为一个问题。您保存的文件越多,单个重要文件就越容易放错地方。最重要的是,有时您可能需要Mac桌面看起来像样。
如果您需要向某人发送屏幕截图(send a screenshot)但不希望他们在您的桌面上看到您的个人文件怎么办?更糟糕的是,您正在进行Zoom通话,需要与同事共享您的屏幕。(share your screen)您可能不希望所有人都看到您的私人文件和文档,即使是以桌面图标的形式。
幸运的是,您可以使用多种方法删除或隐藏Mac上的桌面图标。
如何使用终端在Mac上隐藏(Your Mac Using Terminal)桌面图标(Desktop Icons)
Terminal是最有用的 Mac 应用程序之一,由于GUI(图形用户界面)不会减慢您的速度,它使您可以更快地在Mac上完成工作。(Mac)与流行的看法相反,您不必成为专家用户就可以利用终端(Terminal)应用程序提供的功能。以下是如何使用终端(how to use Terminal)隐藏Apple电脑上的桌面图标。
- 在Mac上启动终端(Terminal)。您可以使用Spotlight搜索,或按照路径Applications >实用程序(Utilities)找到并打开它。

- (Enter)在终端(Terminal)窗口
中输入以下命令:
默认写入 com.apple.finder CreateDesktop false
- 按回车。
- 输入第二个终端命令:
killall 查找器

- 再按一次 Enter。
就是这样。您现在应该在桌面上看不到任何图标。它们都被安全地隐藏起来,您可以使用桌面(Desktop)部分
下的Finder查看它们。(Finder)
如果您需要再次显示桌面图标,请打开终端(Terminal)并在命令行中输入以下内容:
默认写入 com.apple.finder CreateDesktop true
然后又是这个:
killall 查找器

它将恢复桌面屏幕上的图标。
如何使用系统文件夹从桌面删除/隐藏(Desktop Using System Folders)图标(Icons)
如果您正在计算机上寻找一个安全的地方来存储重要的桌面文件,而不是让每个人都看到它们(比如在您的桌面屏幕上),您可以使用您的系统文件夹。
以下是如何从桌面上删除图标并将文件隐藏在“库”文件夹中的方法。
- 打开查找器。
- 在屏幕的左上角,从 Finder 的菜单(Menu)栏中选择前往。
- 按Option键在下拉菜单中
显示隐藏的库选项。(Library)

- 在库(Library)文件夹中,粘贴要隐藏的项目或先为它们创建一个单独的文件夹。
您以后可以使用此方法隐藏Mac上的其他重要文件。
如何使用 Finder 删除桌面图标(Desktop Icons Using Finder)
如果您不是Terminal的粉丝或不想陷入使用它的困境,Finder提供了一种更直接的方法来从您的计算机屏幕上隐藏桌面图标。请注意,此方法不会帮助您隐藏所有图标。在Finder 首选项(Finder Preferences)中,您可以自定义设置以不显示与外部设备关联的图标,例如硬盘驱动器、外部磁盘、DVD(DVDs)、iPhone、iPad 和连接的服务器。
要使用Finder(Finder)隐藏桌面图标,请按照以下步骤操作。
- 打开查找器。
- 在Finder 菜单(Finder Menu)中,选择首选项。
- 在常规(General)选项卡中,在桌面上显示(Show)这些项目下,取消选中所有项目:硬盘、永久磁盘、CD、DVD(DVDs)和 iPod、连接的服务器。

现在您的 Mac 桌面应该看起来更干净了。
在 macOS 中
使用堆栈隐藏桌面图标(Your Desktop Icons)
从 macOS Mojave开始,Apple引入了一项名为Stacks的功能。它允许您通过将保存在桌面上的文件(即桌面图标)组织成组来保持桌面整洁。如果您运行的是以下 macOS 版本之一,则可以使用此功能:macOS Mojave、macOS Catalina、macOS Big Sur、macOS Monterey和 macOS Ventura。
文件被分组后,它们被放置在屏幕的右侧。有一个选项可以根据添加日期、修改日期等来堆叠文件。
要在Mac上使用(Mac)Stacks功能,请转到桌面屏幕,右键单击菜单栏中的“(Menu)查看(View)”菜单,然后选择“使用堆栈”(Use Stacks)。或者,您可以右键单击桌面上的任意位置并选择Use Stacks。

要更改文件的分组方式,请再次右键单击您的桌面,然后在堆栈(Group Stacks)分组依据下选择一种分组方法:种类(Kind)、共享者、上次打开日期、添加(Date)日期(Date Added)、修改(Date Modified)日期、创建日期(Date Created)或标签(Tags)。

如果要取消隐藏桌面图标,请右键单击桌面并取消选中“使用堆栈”(Use Stacks)选项。这将使您的桌面恢复到原来的外观。
使用第三方应用程序(App)删除桌面图标(Desktop Icons)
如果您希望将所有工作留给第三方应用程序,您可以从应用程序(App)商店下载其中一个自动化应用程序,例如HiddenMe。此应用程序可帮助您通过单击隐藏桌面图标并轻松取消隐藏它们。

您还可以创建键盘快捷方式(create a keyboard shortcut)来启用和禁用HiddenMe以及更改桌面屏幕的外观。
该应用程序过去是免费的,但现在您需要支付 1.99 美元。从好的方面来说,它就像一个本机功能一样工作,您几乎不会注意到它在您的Mac上的存在。
保持 Mac 桌面清洁
清理桌面的最后一种老式方法是简单地将文件从桌面移动到垃圾箱(Trash)。在你这样做之前,确保你没有移动任何重要的东西,或者将这些文件备份到其他地方。以防万一您不小心清空了垃圾箱,之后将无法恢复文件。
一个更安全的选择是将所有桌面文件移动到一个文件夹中,然后将此文件夹放在计算机上的其他位置。
How to Remove or Hide Desktop Icon on Your Mac
The desktoр is onе of the most convenient places for storing files on your Maс. When you tυrn оn your computer, it’s the first place you land. All files you keep on your dеsktоp are νisіble and eaѕy to access.
While some Mac users like saving files and icons on their desktops, others prefer keeping it clean without a single app icon visible. If you feel like your desktop’s drowning in icons you don’t want to see, follow our tutorial on how to hide or remove icons from your Mac’s desktop.

Why Hide Desktop Icons on Your Mac?
Even if you don’t save the files you download on the desktop, you probably still use it to keep important files so that you remember where you’ve put them. Some people even use their computer desktops as to-do lists.
However, a cluttered desktop can become a problem if you don’t regularly clean it up. The more files you keep there, the easier it is to misplace a single important document. On top of that, there may be occasions when you need your Mac desktop to look presentable.
What if you need to send a screenshot to someone but don’t want them to see your personal files on your desktop? Even worse, you’re in the middle of a Zoom call and need to share your screen with colleagues. Chances are you don’t want all of them to see your private files and documents, even in the form of desktop icons.
Luckily, there are a few ways you can use to remove or hide desktop icons on your Mac.
How to Hide Desktop Icons on Your Mac Using Terminal
Terminal is one of the most useful mac apps that allows you to get things done on your Mac faster since the GUI (graphical user interface) isn’t slowing you down. Contrary to popular belief, you don’t have to be an expert user to take advantage of what the Terminal app offers. Here’s how to use Terminal to hide desktop icons on your Apple computer.
- Launch Terminal on your Mac. You can use Spotlight search, or follow the path Applications > Utilities to find and open it.

- Enter the following command into the Terminal window:
defaults write com.apple.finder CreateDesktop false
- Press Enter.
- Type the second Terminal command:
killall Finder

- Press Enter one more time.
That’s it. You shouldn’t see any icons on your desktop now. They’re all safely hidden, and you can see them using Finder under the Desktop section.
If you need to show desktop icons again, open Terminal and enter the following into the command line:
defaults write com.apple.finder CreateDesktop true
And then this one again:
killall Finder

It’ll restore the icons on your desktop screen.
How to Remove/Hide Icons from Your Desktop Using System Folders
If you’re looking for a safe place on your computer where you can store essential desktop files without them being visible to everyone (like on your desktop screen), you can use your System folders.
Here’s how to remove icons from your desktop and hide files in your Library folder instead.
- Open Finder.
- In the top left corner of the screen, select Go from the Finder’s Menu bar.
- Press the Option key to reveal the hidden Library option in the dropdown menu.

- In the Library folder, paste the items you want to hide or create a separate folder for them first.
You can use this method to hide other important files on your Mac in the future.
How to Remove Desktop Icons Using Finder
If you’re not a fan of Terminal or don’t want to get into the weeds of using it, Finder offers a more straightforward way to hide the desktop icons from your computer screen. Note that this method won’t help you hide all icons. In Finder Preferences, you can customize the settings not to show icons associated with external devices, like hard drives, external disks, DVDs, iPhones, iPads, and connected servers.
To hide desktop icons using Finder, follow the steps below.
- Open Finder.
- In the Finder Menu, select Preferences.
- In the General tab, under Show these items on the desktop, uncheck all the items: hard disks, eternal disks, CDs, DVDs, and iPods, connected servers.

Now your Mac’s desktop should look much cleaner.
Use Stacks to Hide Your Desktop Icons in macOS
Starting from macOS Mojave, Apple introduced a feature called Stacks. It allows you to keep your desktop neat and clean by organizing the files you keep on your desktop (i.e., desktop icons) into groups. You can use this feature if you’re running one of the following macOS versions: macOS Mojave, macOS Catalina, macOS Big Sur, macOS Monterey, and macOS Ventura.
After the files are divided into groups, they’re placed on the right side of the screen. There’s an option to stack your files based on the date added, date modified, and more.
To use the Stacks feature on your Mac, go to your desktop screen, right-click on the View menu from the Menu bar, and select Use Stacks. Alternatively, you can right-click anywhere on your desktop and select Use Stacks.

To change how the files are grouped, right-click on your desktop again and select one of the grouping methods under the Group Stacks By: Kind, Shared By, Date Last Opened, Date Added, Date Modified, Date Created, or Tags.

If you want to unhide your desktop icons, right-click on your desktop and uncheck the Use Stacks option. This will return your desktop to its original look.
Use a Third-Party App to Remove Desktop Icons
If you prefer to leave all the work to a third-party app, you can download one of the automator apps from the App store, like HiddenMe. This app helps you hide your desktop icons with a single click and unhide them just as easily.

You can also create a keyboard shortcut to enable and disable HiddenMe and change the look of your desktop screen.
The app used to be free, but now you’ll have to pay $1.99. On the plus side, it works like a native feature, and you practically won’t notice its presence on your Mac.
Keep Your Mac’s Desktop Clean
One final and old-fashioned way of clearing out your desktop is to simply move your files from the desktop to Trash. Before you do that, make sure you’re not moving anything important, or have these files backed up somewhere else. In case you accidentally empty your bin and won’t be able to restore the files afterward.
A safer option is to move all your desktop files into a single folder and then place this folder somewhere else on your computer.