5 Hidden functions of Mac you did not know

| October 25, 2016

Mac OS X debuted back in 2001, and during that time has become very popular OS. Apple operating system is very intuitive, which is why many users consider themselves Mac experts. In fact, there are many useful features, which are known not many.

Change the extension of screenshots

The default macOS screenshots are saved in png format, which has a positive impact on their quality, but such files are usually weigh almost 20 MB. If you share screenshots to Facebook, Twitter or other social networks, in this case, it makes sense to select a jpg, to reduce the size of the images.

Open Terminal (in Spotlight or a list of programs) and run the following command:

"defaults write com.apple.screencapture type jpg"

You can choose almost any extension – tiff, pdf, etc.

Encrypt any file

When you need to send sensitive data such as financial information, passport details or any other confidential information, making it best in an encrypted form.

The Mac App Store, you can find a lot of applications for data encryption, but the same can be done from the terminal.

"openssl enc -aes-256-cbc -e -in {file path} {-out place where you want to save the file}"

You can use any type of encryption is considered the standard AES. File Path optionally be entered manually, it is enough to drag in a terminal window. After «-out» you must specify the path to the folder in which you want to store the encrypted file, its name and extension. The system then prompts you to enter your password. To decrypt, enter the following command:

"openssl enc -aes-256-cbc -d -in {path to the encrypted file} {-out path and name}"

Configure check for updates once a day or once a year

By default, Mac App Store checks for updates once a week, which may annoy users who like to be among the first to try the new version. Instead of having to enter the app store every time manually, you can change the frequency of checking for updates.

Open the Terminal and enter the following command:

"defaults write com.apple.SoftwareUpdate ScheduleFrequency -int {number of days}"

You can set absolutely any number of days, whether it’s one day or 365.

Quick switch sound output devices

To change the sound output device on the Bluetooth-headset, for example, many go into the settings and look for the appropriate item. In fact, everything is much easier – hold down the «Option» and click the volume icon in the top bar. This way you can quickly switch to headphones or an external microphone.

“Caffeine” for Mac

Sometimes it is necessary that the computer did not go to sleep. For example, you download YouTube videos or games from Steam. To this end, it is not necessary to delve into the settings and find the desired item. Just open a terminal and enter the command «caffeinate», which changes the settings in the “Power Saving” section. After that, the Mac will not restart, shut down or go to sleep as long as you do not change the option. This can be done shortcut Control + C or closing the Terminal.

In addition, you can also disable the computer to turn off only for a certain time. For example, you need to get after the game is loaded, the Mac automatically enters sleep mode. In this case, use the command «caffeinate -i -t {time in seconds}.” In one hour’s 3600 seconds, that is, if you want the device to remain active for 5 hours, enter “18000”

Tags: ,

Category: Software, Technology

Comments are closed.