search
HomeCommon ProblemHow to Make the Mac Dock Show Only Running Apps

How to Make the Mac Dock Show Only Running Apps

May 16, 2023 am 11:07 AM
softwaremacmac application

How to Make the Mac Dock Show Only Running Apps

We'll use a handy Terminal command to set up your Mac to only show apps that are actively open and running. No matter what version of macOS your system is running, you can use the following steps.

  1. First, you need to find and launch the Terminal application. If you haven't used Terminal before, click the Finder app on your Mac from the Dock.

    如何让 Mac Dock 只显示正在运行的应用程序

  2. Once the Finder window opens, select Applications from the left pane and locate the Utilities folder. Click on it to continue.

    如何让 Mac Dock 只显示正在运行的应用程序

  3. Here you will find the Terminal application. Click it to launch Terminal on your Mac.

    如何让 Mac Dock 只显示正在运行的应用程序

  4. Now, just enter the following command as shown in the screenshot and hit “Return” on your keyboard. You need to wait a few seconds for the desktop to refresh with the updated Dock.
    defaults write com.apple.dock static-only -bool true; killall Dock

    如何让 Mac Dock 只显示正在运行的应用程序

  5. As you can see below, Mac’s The Dock now only shows running applications. Finder appears because it's always running on your Mac, and Trash is necessary to drag and drop unwanted files.

    如何让 Mac Dock 只显示正在运行的应用程序

That’s pretty much all you need to do to clean your Dock the easy way. Now the Mac Dock only shows running apps, and it's more like a taskbar than an app launcher.

This neat trick has been around for a while since Leopard and continues to work in macOS Monterey, Big Sur, and modern macOS versions.

How to restore Mac's Dock to default, showing all apps

If you change your mind and want the Dock to show inactive apps again as an app launcher, you can use another Terminal command to fulfill. let's see.

  1. Launch Terminal again on your Mac. You can also use Spotlight Search (Command Spacebar) to quickly launch Terminal.

    如何让 Mac Dock 只显示正在运行的应用程序

  2. Now type the following command exactly as shown below to revert the changes.
    defaults write com.apple.dock static-only -bool false; killall Dock
    Alternatively, you can try:
    defaults delete com.apple.dock static-only ; killall Dock

    如何让 Mac Dock 只显示正在运行的应用程序

Your desktop will now refresh and the Dock will reload. From now on, it will also show apps that are not actively running and return to the Dock's default behavior.

The above is the detailed content of How to Make the Mac Dock Show Only Running Apps. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.