Cocktail is a general purpose utility for macOS that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get the most out of their computers every day.

Get Cocktail here

Fix Magic Keyboard, Trackpad, or Mouse not connecting to Mac

Learn what to do if your Apple’s Magic Keyboard, Trackpad, or Mouse fails to connect and work with your Mac. Note that the solutions are for fixing the wireless connection between your Mac and Magic accessories. You can always connect your Magic Keyboard or Trackpad via a cable to your Mac, and it should work, provided there are no hardware problems.

Make sure you have the following:

Lightning cable: You will need it to establish a wired connection between your Mac and the Magic Keyboard, Trackpad, or Mouse. You will also need a USB hub if the Lightning cable has a USB-A port on one end and your Mac only has USB-C ports.

Wired keyboard or mouse: Since your wireless Magic accessories are not working, you will need to directly plug in a wired keyboard or mouse to navigate around your Mac. Of course, you don’t need these if you are troubleshooting the connection issue on your MacBook.


Fix Magic Keyboard, Trackpad, or Mouse not working when you power on your Mac.

After you switch on your MacBook, its built-in trackpad and keyboard are ready to use the moment you see the Lock Screen. However, when you boot up your desktop Mac, it takes a moment for the wireless Magic Keyboard/Trackpad/Mouse to become available for use. When you enter the password and go to the Desktop, you will again have a brief moment of downtime until the accessories starts working.

Both these short connection wait times are a normal occurrence. However, if your Magic Keyboard, Trackpad, or Mouse are not connecting automatically to your desktop Mac and you have waited for a while, just connect them with a Lightning cable, and it should become available for use. Leave your Magic accessory connected to your Mac via a cable for a minute or two. After that, you can disconnect the cable, and the accessory will continue to work wirelessly. You can also force your Mac to shut down using its power button, wait for a while, and then power it back on. It should auto-connect to your Magic Keyboard, Trackpad, or Mouse.


What to do if your Magic Keyboard, Trackpad, or Mouse has suddenly stopped working?

In rare cases, your keyboard, trackpad, or mouse may stop working midway after losing connection or going out of battery. Here are all the effective tips to fix it.

Plug the accessories. If you get an alert when your Magic Keyboard, Trackpad, or Mouse battery gets critically low, simply connect it to your Mac with a cable, and you can start using it. You can check the battery percentage of it by going to the Bluetooth section in macOS Control Center or using the Batteries widget.

Restart your Magic accessory. Turn off your Magic Keyboard, Trackpad, or Mouse using the small power button and wait for at least 30 seconds. After that, flip the switch back on and wait once again for it to connect automatically to your Mac. Of course, make sure your Mac’s Bluetooth is enabled in Apple menu > System Settings... In case auto-connect doesn’t work, connect it manually from Apple menu > System Settings... > Bluetooth.

Restart your Mac. Random glitches in macOS can cause all sorts of trouble, including issues between your Magic Keyboard, Trackpad, and Mouse. So, simply restart your Mac using the wired mouse, and hopefully, the problem will go away. You can also force your Mac to turn off by holding the power button for a few seconds until the screen goes black. After that, wait for about a minute, and then press the power button once to turn it back on.

Toggle Bluetooth off and on. You cannot turn off Bluetooth on your desktop Mac if the Magic Keyboard and Magic Trackpad/Mouse are connected to it. So, connect a wired keyboard and mouse to your Mac and then go to System Settings to turn Bluetooth off and back on.

Forget the accessory and connect again. If the problem continues, you should forget the Magic Keyboard, Trackpad, or Mouse from Mac’s Bluetooth settings and then reconnect it. Grab your Lightning cable and follow these detailed steps on your Mac with a wired keyboard and mouse connected to it:

• Open Apple menu > System Settings... and select Bluetooth
• Click the info button (i) next to your Magic Keyboard/Trackpad/Mouse and hit Forget This Device > Forget Device
• Turn off your Magic Keyboard/Trackpad/Mouse using its power switch, and then restart your Mac
• Lastly, turn on your Magic Keyboard/Trackpad/Mouse and go to Apple menu > System Settings... > Bluetooth to connect it to your Mac

This step should address connection issues, and now your Magic accessory will work as intended.

Also, don't forget to update your Mac. If your Mac is not running the latest version of macOS, go to Apple menu>  System Settings... > General > Software Update to download and install the newest version of the operating system.

 

Use Find and Replace text on Mac

Learn how to efficiently manipulate text on your Mac using Find and Replace, simplifying tasks and boosting productivity in popular apps like Notes, Pages, Numbers, TextEdit, etc.

In addition to words, you can also find and replace spaces, numbers, and special characters from your document. You can use it to substitute a word or make corrections in a lengthy document. Other times, it can be handy if you want to delete specific words, symbols, or phrases from your writing.

• Open Notes, Pages, or Numbers and go inside the relevant note or document
• Click Edit from the top menu bar and select Find > Find or Find and Replace (in apps like Pages and Numbers, you can also click the View button from the top left of the app window and choose Show Find & Replace
• Enter the term you want to look for (click the tiny arrow next to the search glass icon for more options, for instance, you can uncheck Ignore Case to find the words that exactly match the capitalization style you specify
• In the second box, enter what you want to replace the found term with

If you type nothing in the Replace box and go ahead with the next steps, it will delete the found words from the document. In other words, you will be replacing found words with nothing, which obviously equates to deleting the searched-for word. You can also choose to replace the found words with just a space (press the Space Bar once) or the desired symbol.

• Click All, and it will replace the found word with the replacement at every instance, or, click Replace, and it will replace only at the selected position (you can also use the arrow icons or press the return key to cycle through the found instances of the word without actually replacing them with the said term)

If you’re using Pages or Numbers, you will see three buttons: Replace All, Replace & Find, or Replace buttons. Replace & Find will replace the selected match with the replacement text and then automatically move to the next match. The Replace button replaces the selected match but does not auto-move to the next one.

 

Prevent yourself from being locked out of your Mac

Getting locked out of your computer could easily be one of the most frustrating things that could happen to you.

Here are three useful tips that will ensure you do not face this issue on your Mac.

 

Add a password hint

After you add a password hint, it shows up on the screen if you enter the incorrect password a few times. You can see that hint and instantly recall what your Mac’s login password is.

A hint should be there to help you refresh your memory. Do not put your exact password or make it too obvious that others around you can guess it.

You can add the hint when you’re creating or changing your Mac’s user account password. Here’s what to do if you’d like to add one now:

• Go to Apple menu > System Settings... > Users & Groups
• Click the info icon (i) next to the desired account
• Click Change... next to Password
• Create a new password and add the hint on this screen
• Lastly, click Change Password

Once the hint is added, go to System Settings > Lock Screen and turn on the switch for “Show password hints”.

 

Show a Lock Screen message

The Lock Screen message is not for adding password hints but rather for displaying a welcome message. You can for example add your email address/phone number so someone who finds your misplaced Mac can contact you and return it.

However, if you do not want to change your current Mac password – a requisite for adding password hint if you don’t have already – then you can rely on the Lock Screen message feature to add a hint. But again, don’t make it obvious.

• Launch Cocktail (https://www.maintain.se/cocktail)
• Click the Interface toolbar button
• Go to the Login tab
• Enter your message into the "Display additional message" text field
• Click Apply


Allow Apple ID to reset Mac’s password

This is an extremely important step that will be helpful if you’ve forgotten your password and can’t figure it out even after looking at the hint.

Go to System Settings > Users & Groups and click the info icon (i) next to an account. Now, turn the switch for “Allow user to reset password using Apple Account”

From now on, you can use your Apple ID and password to reset your Mac’s forgotten account password.

 

Use Hover Text to magnify on-screen text

Hover Text is an interesting macOS accessibility feature that magnifies the text that’s displayed on your screen. This can be any regular text, a menu item, or a button.

As the name suggests, when you hover your mouse cursor over the text, macOS will magnify and display a high-resolution zoomed version of the text in a separate window. This makes reading content a whole lot easier, whether the font size is tiny, or even if the screen is far away from where you’re seated.

This is an accessibility feature, but really anyone who use computers with high-resolution displays can potentially find utility in this capability. Anyone who has used any modern device knows how difficult it can be to read tiny text sometimes, so having the ability to magnify text is obviously helpful.

To enable Hover Text:

• Click on the Apple menu from the top-left corner and choose "System Settings..."
• Click on "Accessibility"
• Select "Hover Text"
• Enable "Hover Text" (to further customize this feature, click on "i" right next to the switch button)

As per the default settings, if you hover the cursor over any text that’s displayed on your screen while pressing the Command key, macOS will bring up the zoomed version right below it.

 

Protect removable media with encryption

Using removable media, such as USB flash drives or removable disks, is a convenient way to transport information. However, if the removable media is lost or stolen, someone else can access its data by mounting the media on another computer.

If you want to keep private or confidential information secure on removable media, you need to encrypt the information on it.

WARNING: When you encrypt a disk or other media, the disk format is converted to the APFS format and then encrypted. Macs with earlier versions of macOS that don’t support the APFS format are not able to read the device’s data. Consider whether you need to connect the media to a Mac with an earlier version of macOS before you encrypt the data. You can also update your other Mac to the latest version of the macOS that supports the APFS format.

To protect your removable media with encryption:

• On your Mac, click the Finder icon in the Dock to open a Finder window
• In the sidebar, Control-click the item you want to encrypt
• Choose Encrypt [item name] from the shortcut menu
• Create a password for the disk and click Encrypt Disk

Be sure to record and keep this password in a safe place. You cannot access the data on the encrypted disk without it.

It may take some time to encrypt, depending on how much information is stored on your Mac. However, you can use your Mac as usual while the disk is being encrypted. To decrypt an encrypted disk, Control-click the disk you want to decrypt, then choose Decrypt [item name] from the shortcut menu.