20+ hidden settings and functions of OS X, which can be enabled using the Terminal
Tips Makradar / / December 19, 2019
Like all operating systems, OS X does ample opportunities for customization of the interface and functions of the system. Most of them are hidden by default, in order to protect users against rash actions that could harm the operating system. But if we act wisely, we can really fine-tune the system for themselves and activate some comfortable, but initially hidden functions. As you've probably guessed, all manipulations will be carried out by the terminal. Do not worry, to include almost all functions, you only need to copy one or two lines of code. Well, let's get started!
* * *
Docking shift in the screen angle
Do not like to see the dock on the center of the screen? Well, here, this command will allow to move it to the edge of the screen:
defaults write com.apple.dock pinning -string end; killall Dock
If you have changed the position of the dock, simply replace end on start or middle.
Adding widgets to your desktop
Whether you like it or not, Apple has decided that widgets should be placed in the Dashboard. Do you prefer to see them on the desktop? It is this team will help you:
defaults write com.apple.dashboard devmode YES
After that, log off and log on again for the changes to take effect. Now just grab any widget from Dashboard and click F12, to transfer it to the desktop. Can bring back all the same team, but instead YES should enter NO.
If a widget does not appear - restart the dock here this command:
killall Dock
Turn on the display of hidden files by default
Initially, the system does not show hidden files, to protect themselves from interference by the user. In principle, it is good, but sometimes you may need access to them. To get it here enter this command:
defaults write com.apple.finder AppleShowAllFiles true; killall Dock
To cancel entering the same command, but replace true on false.
Turn dimensional Dock
I love the old school and you do not like surround the dock? You can make it flat (does not work in OS X Mavericks). To do this, enter the following command:
defaults write com.apple.dock no-glass -bool true
To return to the dock amount, enter the same command, but replace true on false.
In OS X has always been a lot of features that are not included by default, but that can be easily activated via the Terminal.
Single Application Mode
If you are constantly distracted during important work, this mode can help you focus. IN Single Application Mode you will be able to interact simultaneously with only one application. In other words when I am writing this article in byword, I can only see his window. When switching to Safari disappear byword, and when you open iTunes disappear Safari, etc. This technique will not work for everyone, but you can try, maybe you'll like. enter:
defaults write com.apple.dock single-app -bool true; killall Dock
When the job, replace the team true on falseTo get everything back into place.
Copy the text from the Quick Look
One of the most convenient things about OS X - Quick Look, it can very easily view the contents of the file. But here's the copy out the default text can not. This is easily changed using such a command:
defaults write com.apple.finder QLEnableTextSelection -bool true; killall Finder
Now unfortunate misunderstanding corrected.
Adding pop-up notification to the iTunes icon
Would you like to receive notifications about the current track, directly on the application icon? It's simple:
defaults write com.apple.dock itunes-notifications -bool TRUE; killall Dock
If you do not like to cancel, type this command here:
defaults delete com.apple.dock itunes-notifications
Turn on debug mode in applications
Almost all Apple applications, debug mode contains some hidden features. They differ in each application, but basically you get access to experimental features that may be useful in some cases.
Debug mode in Contacts
defaults write com.apple.addressbook ABShowDebugMenu -bool true
Debug mode in the Calendar
defaults write com.apple.iCal IncludeDebugMenu -bool true
Debug Mode in Disk Utility
defaults write com.apple. DiskUtility DUDebugMenuEnabled -bool true
and
defaults write com.apple. DiskUtility advanced-image-options -bool true
Traditionally, to disable the need to enter the same commands, but changing true on false.
Every release of OS X fixes a lot of big and small problems, but some of them can be easily corrected by using the Terminal.
Turn off the melody start
Each time you turn on your Mac plays a sound to signal that everything is working. It is suitable for most users, but some can be annoying. Particularly annoying is that the volume does not depend on the volume set in the system mixer. To mute the sound at startup, enter this command here:
sudo nvram SystemAudioVolume =% 80
Now, during the boot your Mac will be silent like a ninja.
Reduce the response time of the Dock
By default, the hidden dock is displayed with a slight delay, hover. This delay can be annoying. If you want immediate display dock here enter this command:
defaults write com.apple. Dock autohide-delay -float 0 &&; killall Dock
Remove remembering the previous position of the file in Preview and QuickTime
Memorizing the position of the last file handy feature, but in some applications it is quite inappropriate. This applies Preview and QuickTime. If you do not want the files to be played from the last position, type here these commands:
to view
defaults write com.apple. Preview NSQuitAlwaysKeepsWindows -bool false
for QuickTime
defaults write com.apple. QuickTimePlayerX NSQuitAlwaysKeepsWindows -bool false
Disable window animations to speed up the old Mac
Animations in OS X look very cool, but they slow down the system on old Macs. To facilitate their task and speed up a little bit easier to turn off the animation window here with this command:
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Disable Notification Center
You're not a fan of MC in new versions of OS X? Well, you can disable this feature by using this command here:
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist; killall NotificationCenter
With Terminal, you can make things incredibly steep. Here are some great tips.
We do not give our Mac to sleep
OS X has advanced power-saving settings, which always will drive Mac in sleep mode to conserve resources when we are not using the computer. But sometimes you have to hold your computer on. In this case, we will help the following command:
caffeinate -t 3600
This command disables sleep for exactly an hour. The number at the end of a line, this time, in seconds, during which your Mac will not go to sleep.
Quick calendar directly in Terminal
Need to quickly look into the calendar? There is nothing easier! enter:
cal December 2013
As you have guessed, 12 is the desired month, and 2013 year. Here's a great way to see what day of the fall a certain date in the distant future (or past).
Prohibit display of reference of all windows
Usually, when you view Help, forced her window displayed on top of the other. To prevent this, use the following command here:
defaults write com.apple.helpviewer DevMode -bool true
* * *
That's all for today. I hope you have found a few useful tips. If I missed something or you want to add your advice - I ask in the comments. Stay with us and you'll learn a lot of interesting about the possibilities Terminal in OS X!