Many macOS apps have a Choices menu that makes it possible for you to modify their options. You can also modify Mac choices in the Procedure Choices panel.
But not all options are offered in the Choices or Options dialog packing containers. Which is why you need to have to know about the defaults Terminal command. This makes it possible for you to modify concealed options for apps and the Mac technique applying the command line.
Now, we’ll clearly show you some helpful concealed options on your Mac you can modify applying the defaults command.
What Are Property Lists?
- 1 What Are Property Lists?
- 2 1. Generally Present Hidden Information in Finder
- 3 two. Generally Present the Expanded Print Dialog by Default
- 4 three. Transform the Default Screenshots Format and Area
- 5 4. Drag Dashboard Widgets to the Desktop
- 6 five. Get Rid of the Dashboard
- 7 six. Completely Disguise Desktop Icons
- 8 7. Present Procedure Details on the Login Monitor
- 9 eight. Reset Dock Customizations
- 10 9. Include the Quit Selection to Finder
- 11 10. Present Just one App at a Time
- 12 eleven. Transform Rows and Columns in Launchpad
- 13 Discover Extra About the Defaults Command
App options and user preferences are stored in files named house lists (PLIST files). But manually editing PLIST files is not suggested. The defaults command makes it possible for you to securely modify the options and preferences in PLIST files without the need of digging into them by hand.
PLIST files are stored in two areas on your Mac. Person PLIST files are stored in ~/Library/Choices/. The tilde (~) character represents your dwelling folder. Procedure-vast options are stored in /Library/Choices/.
Names of PLIST files are domains and typically belong to specific apps. For case in point, the area for Thoroughly clean My Mac three is com.macpaw.CleanMyMac3. So the house listing file for Thoroughly clean My Mac three is com.macpaw.CleanMyMac3.plist.
View Person Choices
You can watch the user preferences for an application applying the defaults command. You may possibly want to do this prior to generating modifications to preferences. That way you know what the primary choices were being in case you want to go again to them.
To watch all user preferences, open up the Terminal (in the /Purposes/Utilities/ folder), form the next command at the prompt, and press Enter.
defaults go through
The output listing displays in the Terminal window. This will be very lengthy due to the fact it features all options for each and every application. You can also ship the output to a textual content file if you want to conserve it. Basically add >[path and file name] to the stop of the command. For case in point, to conserve all user preferences to a file on the desktop, form the next command and press Enter.
defaults go through >~/Desktop/userpreferences.txt
You may possibly not care about the user preferences for all apps on your Mac. Thankfully, you can also watch the user preferences for an specific application applying its area and PLIST file. For case in point, to watch the preferences for the Encrypto application, form the next command.
defaults go through com.macpaw.Encrypto
As over, you can add a path and filename as over to conserve it to a file if you like.
Implementing Adjustments Making use of the Defaults Command
If you modify a location for a currently working application applying the defaults command, the application won’t see the modify. It may possibly even overwrite what you did. Thus, you must close an application prior to altering its options with the defaults command.
In the case of the Dock and Finder, you will have to restart them following generating a options modify. To restart the Dock, use the next command in a Terminal window:
To restart Finder, use the next command:
For the preferences outlined below, we consist of the correct killall command exactly where desired. That way, in most circumstances you can simply just duplicate the command and paste it into a Terminal window (ideal-simply click at the prompt and decide on Paste).
1. Generally Present Hidden Information in Finder
By default, Finder does not show all files. Some files are concealed from view—mostly files you do not need to have to offer with. Hidden files have a dot at the commencing of the file name. You can also hide your own files applying the same system.
To constantly clearly show concealed files in Finder, enter the next command at the prompt in a Terminal window.
defaults generate com.apple.finder AppleShowAllFiles Correct && killall Finder
To hide all concealed files once again, run the same command but exchange Correct with Wrong:
defaults generate com.apple.finder AppleShowAllFiles Wrong && killall Finder
two. Generally Present the Expanded Print Dialog by Default
To get extra printing choices on a Mac, you will have to simply click Present Information on the Print dialog box. If you use these extra printing choices normally, you can modify a location to clearly show the thoroughly expanded Print dialog box each and every time.
Enter the next command at the prompt in a Terminal window.
defaults generate -g PMPrintingExpandedStateForPrint -bool Correct
To go again to the default dialog box without the need of the extra choices, enter the same command, changing Correct with Wrong:
defaults generate -g PMPrintingExpandedStateForPrint -bool Wrong
three. Transform the Default Screenshots Format and Area
Your Mac’s technique features numerous helpful shortcuts for having screenshots, like Cmd + Change + three to seize the full display and Cmd + Change + 4 to decide on an location to seize.
We’ve lined how to use the defaults command to modify defaults for screenshots, like the default file format for screenshots and exactly where they are immediately conserve to.
4. Drag Dashboard Widgets to the Desktop
Many individuals both neglect or do not know about the Mac Dashboard. It’s concealed at the rear of a keyboard shortcut (F12). The widgets on the Dashboard are like gizmos in Windows, and consist of things like a clock, climate panel, and calculator.
You can go widgets from the dashboard to your desktop applying a combination of a defaults command and the Dashboard shortcut.
five. Get Rid of the Dashboard
If you do not use the Dashboard at all, you can get rid of it. If you have an more mature Mac with a compact amount of money of memory, you may possibly want to disable the Dashboard so it is not applying sources in the track record.
Enter the next command at the prompt in a Terminal window:
defaults generate com.apple.dashboard mcx-disabled -boolean Indeed && killall Dock
To convey the Dashboard again, simply just re-run the over command, changing Indeed with NO:
defaults generate com.apple.dashboard mcx-disabled -boolean NO && killall Dock
six. Completely Disguise Desktop Icons
You may possibly find your Mac’s desktop obtaining cluttered with files and folders, particularly if you have a lesser display. You can hide all the icons on your desktop to alleviate on your own from the litter. The files and folders are however offered in the Desktop folder in Finder.
We lined how to hide the desktop icons as component of cleansing up your Mac desktop to improve productivity.
7. Present Procedure Details on the Login Monitor
You can watch technique data (pc name, macOS model, and IP tackle) on the login display by clicking the clock, but this feature is not on by default.
To allow it, enter the next command in a Terminal window:
sudo defaults generate /Library/Choices/com.apple.loginwindow AdminHostInfo HostName
To disable this feature, enter the next command:
sudo defaults delete /Library/Choices/com.apple.loginwindow AdminHostInfo
eight. Reset Dock Customizations
When you to start with set up a Mac, the Dock is made up of a stock set of icons. These clearly show at the default size at the bottom of the display. You can customise the Dock, together with adding application icons to the Dock, relocating it to a diverse position on the display, and having the Dock immediately hide.
An uncomplicated way to speedily reset the Dock to its default options is to enter the next command in the Terminal window:
defaults delete com.apple.dock && killall Dock
9. Include the Quit Selection to Finder
Did you know that you can actually give up Finder? By default, there’s no Quit selection in Finder, but you can add a person.
Enter the next command in the Terminal:
defaults generate com.apple.finder QuitMenuItem -bool Correct && killall Finder
To take away the Quit selection, repeat the over command, changing Correct with Wrong:
defaults generate com.apple.finder QuitMenuItem -bool Wrong killall Finder
10. Present Just one App at a Time
You can have a lot of apps demonstrating on your desktop at a time. But if you operate on a compact display, it may possibly be handy to only clearly show a person application at a time. With the single-application mode enabled, opening a minimized application will hide all other open up apps.
Enter the next command in a Terminal window to consider it:
defaults generate com.apple.dock single-application -bool Correct && killall Dock
To disable single application mode, exchange Correct with Wrong in this command:
defaults generate com.apple.dock single-application -bool Wrong && killall Dock
eleven. Transform Rows and Columns in Launchpad
You can customise Launchpad by rearranging the apps. But you can also modify the number of rows and columns exhibited in Launchpad. By default, it displays seven columns and five rows of apps.
To modify the number of columns, enter the next command in a Terminal window. Switch X with the number of columns you want:
defaults generate com.apple.dock springboard-columns -int X
To modify the number of rows, use this command, once again changing the X with the number of rows:
defaults generate com.apple.dock springboard-rows -int X
Then force a restart of Launchpad and restart the Dock with the next command:
defaults generate com.apple.dock ResetLaunchPad -bool Correct && killall Dock
To revert to the default number of columns and rows, enter the next commands:
defaults delete com.apple.dock springboard-rows
defaults delete com.apple.dock springboard-columns
To totally reset Launchpad, together with the arrangement of the apps, enter the next command in the Terminal:
defaults generate com.apple.dock ResetLaunchPad -bool Correct killall Dock
Discover Extra About the Defaults Command
Do not fret if you’re not comfy applying the defaults command. You can use a third-party tool to modify options on your Mac.