Control Menu Bar Icons with Dozer

Like a giggling toddler filling a glass of milk, Mac OSX will blissfully stuff unlimited icons into the menu, with not a care in the world about usability or aesthetics (which is typical for OSX). Like so much basic functionality in OSX, third party tools must be written to fix these issue. While there are many (paid!?) utilities that fix this problem, the open source and free Dozer does it best....

February 25, 2021 · 1 min · 122 words

Read a filtered list of files from a directory and ask the user to choose one (Bash)

One of the most powerful aspects of Docksal is how easy it is to extend base functionality with Bash scripts. A common use-case is to automate importing databases when initializing projects. The snippet below reads all DB files from a directory and presents the user with a choice about which file to import: ...

September 30, 2019 · 2 min · 229 words

Force OSX Finder to Always Show Hidden Files

By default Mac OSX coddles the user by hiding system and “hidden” files (beginning with a period). This is counter-production to the power user in all of us, and an insult to our intelligence! End this madness with: defaults write AppleShowAllFiles YES Then “Relaunch” Finder by option+right-clicking on the Finder icon. To change this back, do: defaults write AppleShowAllFiles NO Easy!

January 3, 2019 · 1 min · 63 words

Changing the Key Repeat Rate in OSX

Mac OSX ships with very slow key repeat rates (how quickly a key repeats after it is first pressed, and how quickly a key input repeats after holding it down). Changing these effectively is not possible in System Settings, we instead use the command line. First, read the two relevant values in case you want to go back: defaults read -g InitialKeyRepeat and defaults read -g KeyRepeat changing these values is similarly easy:...

January 3, 2019 · 1 min · 88 words

How to Recursively Fix File Permissions in Mac OSX and Linux

I run into this problem when developing on a GIT repository where file permissions change and GIT (correctly) warns of hundreds of changes. I see this most commonly when importing files from Windows, but it can happen in many different ways. The fix is to recursively update file permissions. ...

September 20, 2018 · 1 min · 127 words