Posts Tagged ‘macOS’

Updating the locate database on macOS

Today I uninstalled CrashPlan on my macOS laptop since on August 22 2017 they announced they were exiting the home user market. I think the party is close to being over as even Amazon CloudDrive is now limited to 1TB of storage.

I wanted to ensure I removed any traces of CrashPlan. I use the locate command a lot. Ever wondered how to run the equivalent of updatedb on macOS? Its locate.updatedb (comes with a man page too). Run sudo /usr/libexec/locate.updatedb and that updates the locate database.

Pleased to say CrashPlan went away quite cleanly.

Keybase and FUSE on macOS

I like the concept of Keybase, have had an account there for sometime ( I also installed the Keybase app on macOS which has kbfs, the FUSE-based filesystem for Keybase users to share files with encryption (read more).

However, I also tend to spend time offline, and sometimes on restricted networks where I use TripMode. I realised very quickly that a simple ls or df could take some 20 seconds to complete (timeouts at work).

After poking around I realised it was Keybase. So this is what I do now:

keybase ctl stop
pkill Keybase

I used to have to also unmount the /keybase directory but this seems to be taken care of by newer clients. A macOS annoyance. I can’t always just have it running. There is a github issue #971. I think their iOS app is quite well done and have no complaints thus far.

The Touch Bar can wow you over!

In the tech space, sometimes people can be notorious for bemoaning new technology. Case in point? The Touch Bar on the new retina MacBook Pro’s.

I’ve been using a 15″ retina MacBook Pro with Touch Bar for about six months now. I am a vim user when I SSH to servers so I do use the Escape key (and maybe find it a tad annoying that I don’t get any feedback that I’ve hit the Esc key). Otherwise, I use BBEdit. I’ve used the function keys to control screen brightness, adjust volume, and play music. I don’t find Siri useful. I’ve wondered why when I use Keynote I can see little slides appear on my Touch Bar (not like I can read the text, right?). Safari has always been odd with switching tabs via a keyboard (unlike Chrome’s shortcuts), but now you can also switch tabs using the Touch Bar (alas, I’m not really a Safari user). PDFpenPro has selection tools that I can now access via the Touch Bar, so its a bit of a productivity improvement.

So all in, I’m more or less indifferent to the Touch Bar. I don’t love it, but I don’t hate it. Oh wait, I can’t forget the killer feature: unlocking my MacBook Pro with my fingerprints! Touch ID is a killer feature especially since I use 1Password which also supports it. I think this feature alone has improved my productivity tremendously, and saved lots of time re-entering my password.

However, Sara saw my keyboard the other day and she was amazed that it could also display emoji. And this made her really like the MacBook Pro’s Touch Bar (she’s a 13″ MacBook Air user). So Apple can wow users!

Touch Bar with emojis

I presume she will find other uses for it as she’s a creative user of the Mac. I’m just a boring text/code wrangler.

How would the Touch Bar be improved? It needs to be offered across the board on Macs (even for keyboards that iMac and Mac Mini users will use). It probably needs to have haptic feedback; this I suspect will improve the touch typing experience. However even as I write this, I think to myself that when I type on my iPhone or iPad, I don’t get haptic feedback and I intuitively know where everything is…

Upgrade notes on macOS Sierra

I’m notorious for not updating OS X (macOS) too quickly, preferring to wait months on end for Apple to iron out bugs. I just hope that in 2017 they don’t make a major release and something sensible, i.e. that fixes usability and makes the OS much more stable.

However when you buy a new Mac, you’re more or less forced into the new OS. I did pickup a MacBook Pro 15″ with the new TouchBar, and at some stage I’ll talk about my usage (its been about 3 months of daily usage).

One thing that has annoyed me about the new macOS Sierra is that I don’t get to use GPGTools – it will not work on macOS Sierra. There is now however a beta you could try to ensure you’re signing and encrypting email just as well.

Another thing that I hit almost immediately? Some of my SSH hosts just stopped working. I’ve seen various sites talk about how ssh-agent does not automatically load pass phrases to keychain during startup to Upgrading to macOS Sierra will break your SSH keys and lock you out of your own servers.

My ~/.ssh/config now has:

Host *

UseKeychain yes

AddKeysToAgent yes

to fix things.

Everything else more or less works. I did Time Machine restore. I’m not too happy that they removed the Time Remaining from the Battery icon, and I’m not getting the battery life that I expect, but maybe when the new Mac Mini’s come out, I’ll do another Time Machine restore to that, and a clean install to the MacBook Pro.