Skip to content

Instantly share code, notes, and snippets.

@loukamb
Last active March 24, 2025 16:36
Show Gist options
  • Save loukamb/456ec2fd0cee93048f52672c150ca1d0 to your computer and use it in GitHub Desktop.
Save loukamb/456ec2fd0cee93048f52672c150ca1d0 to your computer and use it in GitHub Desktop.
Improving macOS for desktop use

Improving macOS for desktop use

macOS is a clean implementation of an Unix operating system. While it officially is supported for both laptop and desktop use, it is visibly better adapted for laptops with a lot of features that are odd or even maybe disruptive for desktops. This gist lists actions you can take to improve macOS for desktop use.

Last updated: March 24, 2025

Remove caps lock delay

Explanation

On macOS, there is a delay before caps lock activation and deactivation, forcing you to hold the key for an extra 1/5th of a second. This was implemented because users tend to accidentally trigger capslock while typing on butterfly keyboards produced by Apple. However, when using macOS on a desktop with external peripherals, this feature doesn't make sense and can be disruptive while typing.

Implementation

Run this in Terminal.

hidutil property --set '{"CapsLockDelayOverride":0}'

Prevent program persistence

Explanation

On macOS, programs remain loaded in memory even when they are closed, indicated by a dot underneath their icon in the dock. This behavior makes sense on operating systems with minimal screen space (e.g. mobile, tablet, or embedded systems) where closing an application's windows helps save visual space or system resources, but not so much on desktops where resolutions are usually sufficient and background applications are expected to create a tray icon when persisting in the background.

Implementation

Install Swift Quit with homebrew.

brew install --cask swift-quit

Disable trackpad-like mouse features

Explanation

On macOS, all mice are subject to Apple's trackpad-like scrolling features and acceleration profiles, which does not feel right on a desktop computer with a mouse. Conversely, Apple does not allow your mouse to use some of the good trackpad functionality that should be available on any mouse peripherals, such as mouse actions, lookup, mission control, and so on. It would be nice to have the good features that Apple should support on external mice, while disabling the bad features that make your mouse too trackpad-like.

Implementation

Install Mac Mouse Fix with homebrew.

brew install mac-mouse-fix

Disable external monitor flickering

Explanation

The GPU of macOS devices based on Apple Silicon uses temporal dithering to simulate a broader range of colors. While this works usually fine on Apple's own monitors, it can result in extremely annoying and even eyestrain-inducing flickering on a variety of external monitors. macOS does not currently expose a user-facing setting to toggle temporal dithering.

Implementation

Install Stillcolor. When it launches, select "Disable Dithering" in its menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment