How To Fix Mouse Scrolls the Command Line History Instead of the Window Buffer in Terminal

Author: , May 23rd, 2023

In the macOS Terminal, my mouse scroll wheel would magically start scrolling the command line history instead of the window buffer scroll bar on the right to show window history. This happened when an SSH session was disconnected or timed out. The fix is to run the reset command.

How To Get rsync To Work With macOS Ventura – Getting Error “Operation not permitted”

Author: , May 5th, 2023

I have a new iMac running macOS Ventura 13.3.1. I tried to rsync some files from another host and got the following error:

In order to get rsync to have access to the hard drive in macOS Ventura, you need to add rsync and other programs to the Full Disk Access panel under Privacy […]

How To Enable Focus Follows Mouse On MacOS

Author: , December 2nd, 2021

Use AutoRaise! From the docs: “When you hover a window it will be raised to the front (with a delay of your choosing) and gets the focus.” Web page: https://github.com/sbmpost/AutoRaise Download: https://github.com/sbmpost/AutoRaise/archive/refs/heads/master.zip

My ~/.AutoRaise file:

How To Bounce the Dock Icon For All Incoming Email on MacOS

Author: , November 2nd, 2021

I needed a way to get the dock icon to bounce for all incoming emails and there did not seem to be any option to do so. There is actually a simple way to do it, but it is not intuitive. The key is to add a new Rule! Open Mail.app and choose Mail -> […]

How To Restart a Hung Top Menu Bar in MacOS

Author: , April 23rd, 2021

Ever get the spinning beachball when trying to access the top menu on your Mac? SOLUTIONS Use the GUI Open the Activity Monitor application Select All Processes from the View menu Click on the SystemUIServer process, then click Force Quit. ~or~ Via CLI In Terminal, execute killall SystemUIServer

How To Prevent Spotlight From Indexing External Drives on MacOS

Author: , February 26th, 2021

On MacOSX 10.10.5 Yosemite, I was having trouble with Spotlight preventing the clean eject of an attached hard drive. Using the fuser command allowed me to see that it what the Spotlight-specific mds process preventing the eject.

At first, I tried to disable the indexing via the mdutil command, but that just gave me […]

How To Re-Install MacOS

Author: , October 11th, 2020

Format the new USB flash drive as Mac OS Extended (Journaled) and label it “MyVolume” Click the Mojave Download Link: https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12 Download the installer package from the App store – it will land in the main /Applications folder. Open Terminal and run:

Full article at Apple Support “How to create a bootable installer for […]

How To Install MySQL on MacOS Using Brew

Author: , April 5th, 2020

As a non-root user:

Make sure your PATH contains /usr/local/bin

How to Remove Skype for Mac

Author: , March 27th, 2020

Quit Skype From your Applications folder, drag the Skype icon into the Trash In the top Finder menu, select Go -> Go to Folder… or press Shift-Command-G to bring up the “Go to the folder” prompt Open ~/Library/Application Support and drag “Skype Helper” to the Trash Open ~/Library/Application Support/Microsoft and drag “Skype for Desktop” to […]

How To Remove the MacOS Quarantine Extended File Attribute for an Entire Directory Tree

Author: , November 24th, 2019

xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *