mac

External display waking up? Disable notifications when your screen is off

Since a week or so ago, I noticed that even when my Mac's display was put to sleep, my external display would sometimes turn on and remain on for long periods of time if I had a calendar reminder or some other type of non-dismissible notification. It would even come on (and turn off shortly thereafter) for quick notifications.

This was highly annoying, especially when I'd come to my computer in the morning and realize the external monitor had been on displaying a notification all night!

Apparently macOS 10.12.2 includes a new feature called Enhanced notifications, and they can wake up internal or external displays to show notifications. Annoyingly, this new feature is enabled by default. To disable it, you need to go into the Notifications System Preference, and inside the 'Do Not Disturb' section, and check the "When the display is sleeping" option under "Do Not Disturb":

A Tale of Two Apples: AirPods and the Touch Bar

Yesterday UPS delivered a BTO 2016 MacBook Pro 13" with Touch Bar (to replace my 2013 11" MacBook Air), and a set of AirPods (to replace three different headsets I use daily in my work as a remote employee).

AirPods on 2016 MacBook Pro 13" Touch Bar Safari address bar in Charging Case

The two products tell a different story about the company that makes them:

MacBook Pro with Touch Bar

The MacBook Pro fails to 'thrill' in a way that no other Apple device I've made the conscious decision to purchase has.

Upgrading from a 2013 MacBook Air 11" (portability is king to me, but I needed more performance), the only major external difference is the retina display—something most other 'pro' Mac users have been enjoying since 2012. The Touch Bar itself is mostly useless to me for two reasons:

MetaZ - Alternative to MetaX and iDentify 2 for tagging video content in iTunes

For many years, I've ripped all my DVDs, Blu-Rays, and HD-DVDs into my computer, and it's great to be able to watch any of my digital content on any of my devices whenever and wherever I want, without having to have a huge stack of discs laying somewhere accessible (I store them all in a box in my basement).

For almost as long, I've used iDentify for this purpose, but it looks like the developer behind the app gave up on the iTunes/macOS ecosystem entirely in the past year or so, and the app stopped working on macOS Sierra 10.12.

I looked around for alternatives, and found mentions of iFlicks (didn't seem as fully featured), Vidalin (no longer developed), MetaX (no longer developed?), and Subler. I tried a couple of these and didn't find them as pleasant as iDentify, but then I also found MetaZ, tagged as "Two letters better than MetaX".

Figuring out why an external USB hard drive won't spin down on my Mac

I am using a 2011 Mac mini as a backup server for all the data I store on iCloud, and for the first few days while I was setting up the Mac, I noticed the 4 TB and 2 TB external USB drives I had plugged in would spin down after a few minutes, and I would have blissful silence as long as there wasn't an active operation on that Mac (which should be fairly rare; just hourly Time Machine backups and periodic SSD activity since the iCloud libraries are all on SSD).

However, after a few weeks, I noticed that at least one of the two hard drives runs continously, 24x7. Something on the Mac mini must keep hitting the drive and preventing it from spinning down.

To see what was happening, I used sudo fs_usage | grep VOLUME (in my case, VOLUME is 4\ TB\ Utility) to monitor what processes were accessing the drive, and what files they were accessing. After a few minutes watching (and doing nothing else on the computer, to make sure I wasn't causing any extra filesystem seeks), there were a couple regular culprits:

Fix macOS Screen Sharing frequent pauses or freezes

Ever since upgrading my Macs to macOS Sierra, there have been one or two times when using Screen Sharing (as part of Back to My Mac) when the session would freeze up, or intermittently pause. It seemed that every 5 or 10 seconds, there would be 10 seconds where the shared screen would stay frozen.

I could enter keystrokes, but things like pasting or clicking was hit-or-miss. This made it extremely annoying to work on one of my headless Macs (without a monitor plugged in), because I could only do work in brief spurts!

I opened up the Console app (in Applications > Utilities) to see what was happening, and quickly found that the following three errors were logged any time the screen would freeze:

Converting a batch of Dashcam videos into a timelapse

I recently took a family vacation from St. Louis, MO to Branson, MO, and as it was the first time driving with my new Mobius Action Cam Mini dashcam installed on our Toyota Sienna (see a full writeup and review here), I wanted to see if I could quickly whip up a time lapse video of the entire drive.

Driving in St. Louis - dashcam loop gif
A tiny snippet of the final time-lapse video of my STL to Branson drive.

How I record my own conference presentations

At this year's php[tek] conference, I decided to record my own sessions (one on a cluster of Raspberry Pis, and another on tips for successfully working from home). Over the years, I've tried a bunch of different methods of recording my own presentations, and I've settled on a pretty good method to get very clear audio and visuals, so I figured I'd document my method here in case you want to do the same.

SSH into a Raspberry Pi with only a network cable using OS X's 'Internet Sharing'

Recently, I found myself in a situation where I had to connect to a Raspberry Pi to set it up for a presentation, but I did not have:

  • A keyboard and/or other input device to use to type anything into the Pi
  • An HDMI cable to connect the Pi to a display so I could view anything on the Pi
  • A microSD card reader so I could modify the contents of the Pi's microSD card

Because of this, none of the standard methods of setting a static IP address, reconfiguring the Pi's WiFi configuration, or logging in on the Pi itself to find it's IP address or set things up so I could connect over a local network would work.

I remembered that Mac OS X handily includes an 'Internet Sharing' feature, which sets up a bridged network interface so your Mac is effectively a router and DHCP server to any devices connected to the shared interface.

Mounting a Raspberry Pi's ext4 SD card on Ubuntu 14.04 inside VirtualBox on Mac OS X

Since I'm running a Mac, and don't have a spare linux-running machine that can mount ext4-formatted partitions (like those used by default for official Raspberry Pi distributions like Raspbian on SD cards), I don't have a simple way to mount the boot partition on my Mac to tweak files on the Pi; this is a necessity if, for example, you break some critical configuration and the Pi no longer boots cleanly.

To mount an ext4-formatted SD or microSD card on a Mac, the easiest option is to use VirtualBox (and, in my case, Vagrant with one of Midwestern Mac's Ubuntu boxes). Boot a new linux VM (any kind will do, as long as it's modern enough to support ext4), shut it down, go into Settings for the VM inside VirtualBox and enable USB, then reboot.

Follow these steps once the VM is booted, to mount the flash drive:

Sync a Shared Google Calendar with macOS, OS X, or iOS (iPhone, iPad)

Someone shared a Google Calendar with me recently, and it showed up at calendar.google.com just fine. However, I could not see the shared events on my Mac (using Calendar) or on my iPhone or iPad (using the Calendar app).

To fix this, I had to visit https://www.google.com/calendar/syncselect directly, and check the shared calendar, then save the settings.

I'm posting this here because after spending an hour or so digging around all the Google Calendar settings online and settings on my Mac and iPhone, I finally found that link in some random forum post (nowhere to be found in Google's help docs!), and I don't want to forget how to manage shared calendar sync! Even using the iCal feed for the shared calendar didn't work.

Pages

Subscribe to RSS - mac