Dark mode has gained popularity among macOS users for its sleek and visually appealing interface. However, there might be instances where you prefer to disable dark mode for specific applications like Chrome or other apps on your Mac. In this guide, I will walk you through the steps to disable dark mode for Chrome and any other app on your macOS device.
Step 1: Get the App ID
To disable dark mode for a specific app, you first need to obtain its unique App ID. Open the Terminal application on your Mac and enter the following command:
osascript -e 'id of app "NAME_OF_APP_GOES_HERE"'
For example, if you want to obtain the App ID for Google Chrome, run the command:
osascript -e 'id of app "chrome"'
This will return the App ID, such as “com.google.Chrome”. Make a note of this ID as you will need it for the next step.
It returns com.google.Chrome
we will copy it and use it in the next step.
Step 2: Disable Dark Mode using the App ID
Now that you have the App ID, you can proceed to disable dark mode for the desired app. In the Terminal, run the following command:
defaults write APP_ID NSRequiresAquaSystemAppearance -bool Yes
Replace “APP_ID” with the actual App ID you obtained in Step 1. For example, to disable dark mode for Google Chrome, the command would be:
defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool Yes
By executing this command, you are instructing the app to use the light mode (Aqua) appearance instead of the dark mode.
Bonus: Disable dark more for FileZilla
Run the following command to disable the
defaults write org.filezilla-project.filezilla NSRequiresAquaSystemAppearance -bool Yes