MATE on FreeBSD: Make It Look and Feel Like macOS

May 23, 2025 • Mastodon • RSS

Font rendering settings
Keyboard and mouse settings
Interface settings
Turn on TearFree
Wallpapers
macOS theme for Mate
Spotlight replacement

As I mentioned earlier, I noticed similarities between FreeBSD and macOS—after 20 years of using macOS, returning to FreeBSD feels like coming home. But I don’t like the font rendering used in non-macOS systems. Partly because Apple did it very well — Steve Jobs had a great understanding of typography — and partly because I’m just used to it.

In this article, I’ll share my method for configuring MATE on FreeBSD to resemble macOS in appearance, behavior, and usability. This makes the transition from a MacBook to a FreeBSD machine smoother, eliminating the need to relearn shortcuts or adjust to a completely different interface. Here’s what my FreeBSD setup looks like right now:

MATE desktop on FreeBSD styled to resemble macOS

I assume you already have FreeBSD and MATE installed. This is how I set it up on my Mac. Your preferences may differ.

Tweaking MATE's UI Fonts

The topic of replicating macOS-style font rendering on X Server is widely debated online. I chose a different approach: instead of relying solely on discussion, I compared screenshots from both macOS and X Server to fine-tune the font rendering settings for a closer match.

To make MATE’s font rendering resemble macOS, I connected both systems to a 1080p monitor and captured screenshots. Then, using Figma’s zoom tool, I adjusted various FreeType settings step by step to get as close a match as possible.

Comparing FreeBSD and macOS font rendering in Figma

Let’s compare the results. They’re not identical, but this is the closest I could achieve:

Font rendering after FreeType adjustments

The font SF Pro Display works better than SF Pro:

SF Pro Display font rendering comparison

Replaced MATE’s UI fonts to SF Pro Display. Put SF Pro Display, Regular and SF Pro Display, Bold to ~/.fonts folder and set it up in MATE’s settings. Add SF Mono, for Fixed width fonts too:

MATE interface fonts set to SF Pro Display and SF Mono

If you’re using dark appearance, set medium version of SF Pro Display, becase in macOS Apple uses bolder fonts for dark appearances:

Medium-weight SF Pro Display for dark appearance

Font rendering needs to be tweaked. In ~/.profile add:

export FREETYPE_PROPERTIES="cff:no-stem-darkening=0.0 autofitter:no-stem-darkening=0.0"

Set Smoothing to Grayscale and Hinting to None (I also set font size to be 10 and DPI to 95):

Grayscale smoothing and hinting settings in MATE

Fonts in macOS (left) vs. MATE (right). You may notice that fonts in macOS appear bolder—not just because Apple often uses semibold and bold weights in the UI, but also due to how macOS renders text. With the settings I provide, you can achieve a look that’s quite similar. It won’t be an exact match, as MATE and macOS handle letter rendering, letters spacing, text color and other typographic details differently, but it will be much closer than MATE’s default appearance:

macOS and MATE font rendering compared side by side

Close-up comparison of macOS and FreeBSD typography

In the Appearance settings hide icons from menu and buttons:

MATE appearance settings with menu and button icons disabled

Optional change Firefox fonts in the settings, for Serifs use Apple’s New York Medium font:

Firefox serif font configured for a macOS-like appearance


Change Keyboard Shortcuts

MATE keyboard shortcuts for a Mac-like workflow Additional macOS-style keyboard shortcuts in MATE Custom MATE keyboard shortcuts

Change Keyboard Preferences

MATE keyboard preferences Keyboard repeat settings in MATE

Change Mouse Settings

MATE mouse preferences

Change MATE Terminal Shortcuts

Keyboard shortcuts in MATE Terminal


Interface settings

MATE window preferences for macOS-like behavior Window titlebar buttons positioned on the left

My /etc/rc.conf

dbus_enable="YES" 
keyrate="fast" 
moused_enable="YES" 
powerd_enable="YES"
kld_list="amdgpu"

Turn on TearFree

Check to see if it supports it. It should show “TearFree”: “auto, on, off:

xrandr --props

In /usr/local/etc/X11/xorg.conf.d/10-amdgpu.conf:

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "amdgpu"
    Option "TearFree" "true"
EndSection

Then, use this command again to see if TearFree is enabled. It should show TearFree: On:

xrandr --props

Wallpapers

My favorite wallpapers are from macOS Sequoia and macOS Ventura.

macOS wallpapers on the FreeBSD desktop


MATE’s Theme & Icons & Cursors

Download WhiteSur-Dark.tar.xz file and unpack it in the ~/.themes, then select in Appearance Preferences:

WhiteSur theme selected in MATE Appearance Preferences

Download icons Colloid-Dark file and unpack it in the ~/.icons folder:

Colloid icon theme selected for MATE

Unpack cursors macOS.tar.xz to the ~/.icons:

macOS-style cursor theme in MATE


File Manager

I changed the default file manager from Caja to Thunar because Thunar is visually cleaner and allows you to right-click on categories in the sidebar to change them.

Caja on top (visually noisy to me), Thunar at the bottom (clean):

Caja and Thunar file manager interfaces compared

Set Thunar in Mate Settings > Prefrered Applications > System > File Manager:

Thunar selected as the preferred file manager

Change Thunar shortcuts to macOS-like:

macOS-style shortcuts configured in Thunar


Dock

pkg install -y plank 

I’m using x11/plank with GTK+ theme:

Plank dock on FreeBSD Plank dock appearance settings Plank dock configured with a GTK theme

Hide Desktop Icons

Open dconf-editor and turn off the system icons on the desktop, including the trash bin, since we have them in the Dock anyway. Org > Mate > Caja > Desktop > volumes-visible:

Desktop system icons disabled in dconf-editor

Firefox Settings

To change CTRL to CMD in Firefox go to about:profiles, find the Default Profile (marked “Yes”), open that folder, and create a user.js file with the following content:

user_pref("ui.key.accelKey", 224);

To disable the ability to open the menu by pressing Alt (since it’s often pressed accidentally), add the following in about:config:

ui.key.menuAccessKeyFocuses: false

Spotlight replacement

You can use Rofi window switcher and launcher. Download Spotlight theme.

pkg install x11/rofi

mkdir -p ~/.local/share/rofi/themes/

Copy Spotlight theme to ~/.local/share/rofi/themes.

In the ~/.config/rofi/config.rasi:

configuration {
  modes: [ combi ];
  combi-modes: [ window, drun, run ];
}

@theme "spotlight"

And then MATE > Control Center > Keyboard Shortcut > Add:

rofi -show run -show-icons 

Custom keyboard shortcut for the Rofi launcher

And set shortcut to Option + Space or any desired.


macOS-like Shadow by Using Picom

WIP: Method for comparing Picom settings 1:1 to the macOS window shadow.


Similar Articles