After the macOS update from macOS26.2 to macOS26.3 I began to have the ssh process hang in the terminal. Some apps like BBEdit the rely on ssh also refused to connect while others like CyberDuck that use SFTP connected fine.
It turns out (I think) that macOS corrupts a file called Listener located in a directory associated with launchd. I delete it and can ssh into every server that I use. The last letters in the directory change every time I delete it.
sudo rm -rf /var/run/com.apple.launchd.Rw60DMcJTr/
Category: OSX
Fixing things Apple broke
Every time Apple updates the OS they break things that I rely on. Sometimes it’s simple things like pinning the dock to the bottom of the screen. Other times it is things like making the menubar translucent. People usually figure out fixes and they are usually command-line switches. My Mac Mini is getting older, and recent updates to Xcode seem to have made the process of compiling apps much slower, so I’m probably going to upgrade my computer in the near future. This post will be a collection of things that I can apply to my next Mac.
Apps no longer appear in the tab switcher.
I noticed a while ago that if I close all of the windows in Safari after a while it does not appear in the app switcher list. According to Michael Tsai Safari and other apps are going into a new state called App Nap. You can prevent this with this line:
defaults write -g NSDisableAutomaticTermination -bool TRUE
Display File Extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
Show the Library Folder
chflags nohidden ~/Library/
Show Hidden Files
This is useful for finding things like git repositories.
defaults write com.apple.finder AppleShowAllFiles -bool true
Restart Finder
For some of these you need to restart the Finder. You can do it with the Force Quit menubar item or the command line.
killall Finder
Use Xcode’s Font in BBEdit
cp -R /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/. /Library/Fonts/
Apple Mail Preferences Pane
When updating to the Mac OS High Sierra Beta my computer hung. I let it run for a long time, but was unable to get it to continue. I restored from a backup, but it did not have all of the files for my email. I had to re-enter my email accounts and restore messages manually. Somewhere in the process, Mail app stopped being able to display the Preferences Pane. I added a new user to my Mac and the Preferences Pane showed up fine, so it looked like something in my user preferences was either missing or corrupted. I removed various things from ~/Library/Preferences/com.apple.mail but nothing fixed the problem. Then I stumbled on a StackExchange mentioning that some things are stored in ~/Containers.
Sure enough, removing Container.plist from com.apple.mail caused Mail to regenerate whatever is in that file. I now get all of my preferences back and they appear to be the same as before the crash.
Improving legibility of OSX Yosemite
The latest update to OSX incorporates design elements from iOS7. If you hate iOS7, you’re going to really hate Yosemite.
However, there are a couple of things you can do to restore screen legibility. Open up the Accessibility preference pane in System Preferences. Click on the checkbox labelled increase contrast. It automatically checks the box for Reduce Transparency. This does two things. First, it stops background colors from bleeding through menu bars and option panels. Second, it darkens the text so it is more legible.
That still isn’t enough for my non-retina displays, so I also move the Display Contrast up to the first tick mark. Finally, on the physical monitor controls I reduced the brightness a bit. I’ve been using it all morning and the text is readable. Unfortunately, there is no way to fix the contrast on buttons so that they are more readily identifiable, but I suppose I’ll get used to it.
Safari:
I like to see the entire URL when maintaining my websites, so in the Advanced Safari preferences I check, “Show full website address”. In the security section I turned off “Autofill web forms using: Credit cards”. Then under the View menu item, I turned on “Show Tab Bar” and “Show Status Bar”.
Dock:
In the Dock preference pane, I disable “Double-click a window’s title bar to minimize”. Prevents you from accidentally disappearing windows. This isn’t a new feature, but I just found out how to disable it.
My usual method for pinning the dock the bottom RHS corner doesn’t work, so if anyone figures out how to do it, pls let me know.
Finder:
In the General preference pane, change “Sidebar icon size” to large. Improves legibility.
Lots of other annoying things I’ll probably get used to, though it would be nice if someone figures out how to change the folder color in the Finder from the garish blue. The good news is that everything I’ve tried so far works just as before—including all the software I wrote.
Upgrading from Windows to a Mac
The last time I used Windows for more than a half-hour at a time was Windows 3.1, so temper what I say about Windows with your own experience. There are lots of superficial differences between Mac and Windows and one major difference. And that’s the way they handle the menubar. The first screen you see on your Mac has a menubar at the top of the monitor. There is an Apple and a bunch of menu commands. The stuff under the Apple never changes when you open new programs, but the stuff to the right of it does. The Apple is similar to the Start button on Windows. You can access the System Preferences and Sleep/Shut Down/Log Out there. There is also an item called Recent Items that is very handy for opening files that you recently worked on or Applications that you recently had open.
When you open a new program, the menubar at the top of the screen changes. It has the commands associated with the current program. All of the menubars start with File and Edit and all end with Help. In between, they differ but most have a View option. Programs that do text editing usually have a Format option. Here’s the big difference between Mac and Windows. When you open multiple documents on the Mac you don’t get new menubars, you get new document windows. Most programs lots of other little windows that they use for palettes. Sometimes they open automatically. Other times they don’t open until you select them from the menubar. You can move these around on the screen to wherever they make the most sense for you. Most of the time, when you quit an application, the next time it opens it will remember where you put the palettes and which ones were open.
One thing that I have heard is much different on Macs than on Windows is the way that folders are copied. On the Mac, if you drag a folder from one location to another and there is already a folder with the same name in that location, all of the contents of the existing folder will be replaced with the contents of the new folder. Same thing if you drag a file into a folder that has a folder with the name of the file. You will be prompted to replace it, but if you say yes, the folder no longer exists and there is a file there instead. I have been told that on Windows individual files are replaced if they have the same name. Existing files are not erased.
Don’t waste your money on anti-virus. Do keep vigilant about phishing attacks. They seem to have increased lately. My Windows guy recommends using the Microsoft anti-virus if you run Parallels for Windows.
I don’t do much fancy word processing, and when I do I use InDesign. I mostly use Bean http://www.bean-osx.com/Bean.html for formatted text. New Macs come with a free copy of Numbers and Pages which will open most Office documents. Pages and Numbers are very unintuitive to me, but if you are used to Microsoft products, I’ve heard that they are easy to pick up. Every once in a while someone sends me Excel spreadsheets and I use LibreOffice to open them. No one complains when I send them back, so I’m guessing it’s compatible. It’s also free.
If you do any audio processing download a free copy of Audacity.
Don’t bother downloading Flash or Adobe Reader. Most websites that use Flash have an HTML5 version that runs fine in Safari. Download a copy of Google’s Chrome browser for the sites that use Flash. Or you can turn on Developer mode and tell the website that you are an iPad. A lot of Mac users like Chrome better than Safari. Especially the geekier ones who like to use a lot of plug-ins.(Some of my demos only run in Flash and if you are a Stewart/Colbert fan you’ll need Flash to watch their clips.) There are also network TV shows that play better in Chrome and some YouTube clips won’t play without Flash.
You’ll also want to download Jumpcut for getting access to your clipboard. It lets you paste things you copied a while ago into the current document. I use it hundreds of times a day. Also free.
You also need Easy Envelopes for printing envelopes. It’s from Ambrosia Software or the Mac App store. Best $9.99 I ever spent. It’s a widget that installs on your dashboard (F12)
You should learn to use the dashboard. I have the current METAR (a Web Clip), a calculator, weather, a unit converter, and Easy Envelopes on my dashboard.
If people send you random videos (and you watch them) you’ll want to download VLC. It opens just about any video format.
If you want a flight simulator, purchase X-Plane.
There are some people who like to have everything on the desktop. I’m not one of them. I usually have whatever I’m currently working on there and then file it away when I’m done. The default place to store files is Documents. I have most of my stuff there. I created a folder called Current that I put in Documents. The name has a space in front of it so that it sorts first. I put all the stuff that I need to deal with in the near future in that folder. That way it’s not cluttering up my desktop and I don’t forget to deal with it.
Learn to use Time Machine. I have two Western Digital 3TB hard drives. I do a Time Machine backup on one every couple of days of them. The other one is in the hangar and I bring it home once a month to do a backup. That’s probably overkill for most people. If you organize your hard drive, you can probably make due with a Time Machine backup and a removable USB stick.
I’d recommend that you put anything that would be a real pain to replicate on a USB stick and keep it somewhere that your computer isn’t. I have my accounting data and my customer database backed up on USB sticks. Every time I go to the office I leave one stick and take home the other. Worst case I lose a couple of days of data. I have never personally had a catastrophic data loss, but I know plenty of people who have. YMMV
There are lots of right-click items that are really useful. If you are in a web browser, mail, or most programs that deal with words, right click on a word and you can do a dictionary lookup or search with Google. If you don’t have a mouse with a right mouse button, Control-click on the word. If you’ve misspelled the word, you get suggestions on how to spell it. Opening the spelling and grammar panel is also one of the options.
Vuescan for Mac will handle just about any scanner. It also has lots of scanning options. With a little work, Image Capture will do the same thing. You just need to download and install the TWAIN SANE Plugins. I haven’t needed to scan anything for a while, but it worked fine using Mountain Lion on two of my scanners that are at least 15 years old. They have plug-ins for Mavericks, but I haven’t tried them. http://www.ellert.se/twain-sane/
I also use Image Capture to get photos off my digital camera. For me, it works better than iPhoto. If you do lots of Photo work, you’ll want to get Aperture or Adobe’s Lightroom.