RepositorySwiftCNChina
huberdf

huberdf/FreeDisplay

Free & open-source alternative to BetterDisplay for macOS. DDC brightness/contrast control, HiDPI virtual displays, display arrangement, color profiles, auto brightness sync, keyboard brightness key interception with native OSD — all core BetterDisplay features, zero cost.

138stars
44forks
10issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: betterdisplay

#1 Repository of the week

1
TINIX TRENDING·Topic: monitor-control

#1 Repository of the week

2
TINIX TRENDING·Topic: hidpi

#2 Repository of the week

FreeDisplay

Free & open-source alternative to BetterDisplay — all the core display management features, zero cost.

BetterDisplay is a great app, but its best features are locked behind a paid Pro license. FreeDisplay implements the most essential BetterDisplay features as a completely free, open-source macOS menu bar app.

Download Latest Release | Report an Issue


What BetterDisplay Features Does This Replace?

BetterDisplay FeatureFreeDisplayNotes
DDC Brightness & Contrast✅Hardware control via IOKit I2C (Intel) / IOAVService (Apple Silicon)
Software Brightness (Gamma)✅Per-display gamma table control with smooth transitions
Keyboard Brightness Keys for External Displays✅Intercepts brightness keys when cursor is on external display, shows native macOS OSD
Auto Brightness Sync✅Syncs external display brightness with built-in display changes
HiDPI Virtual Displays✅Creates HiDPI dummy displays via CGVirtualDisplay private API
Display Arrangement✅Position displays (external above built-in, etc.)
Resolution & HiDPI Switching✅Browse and switch all available display modes including HiDPI
ICC Color Profile Management✅Switch color profiles per display via ColorSync
Image Adjustment (Gamma/Temperature)✅Software contrast, color temperature, RGB channels, invert
Display Presets✅Save & restore full display configurations with one click
Virtual Display (Dummy)✅Create headless virtual displays
Notch Management✅Hide the MacBook notch with a black overlay
Launch at Login✅Via SMAppService

Not Included (intentionally)

  • Screen streaming / PiP — rarely used, adds complexity
  • EDID override — requires SIP disabled
  • XDR/HDR extra brightness — requires specific hardware

Screenshots

Coming soon


Installation

Option 1: Download DMG

  1. Download FreeDisplay.dmg from Releases
  2. Open the DMG and drag FreeDisplay.app to Applications
  3. First launch: right-click → Open (unsigned app, one-time approval)

Option 2: Build from Source

brew install xcodegen
git clone https://github.com/huberdf/FreeDisplay.git
cd FreeDisplay
xcodegen generate
xcodebuild -scheme FreeDisplay -configuration Release build

Permissions

PermissionWhy
AccessibilityRequired for brightness key interception on external displays

No internet connection required (except optional update checks via GitHub Releases API).


Tech Stack

  • Swift 6 + SwiftUI (MenuBarExtra)
  • IOKit — DDC/CI I2C for hardware brightness/contrast
  • CoreGraphics — Display enumeration, resolution, arrangement
  • ColorSync — ICC color profile management
  • CGVirtualDisplay — Virtual display creation (private API, macOS 14+)
  • CoreDisplay — Built-in display brightness reading (private API, via dlopen)
  • Zero third-party dependencies

Project Structure

FreeDisplay/
├── App/              # AppDelegate, app entry point
├── Models/           # DisplayInfo, DisplayMode, DisplayPreset
├── Services/         # System-level services (DDC, brightness, resolution, gamma, etc.)
└── Views/            # SwiftUI views for each feature section

How It Works

FreeDisplay sits in your menu bar and talks directly to your displays:

  • External monitors: Uses DDC/CI protocol over I2C (Intel) or IOAVService (Apple Silicon) to control hardware brightness, contrast, and other settings
  • Built-in display: Uses CoreGraphics gamma tables for software brightness adjustment
  • Brightness keys: Installs a CGEventTap to intercept keyboard brightness keys and route them to the display under your mouse cursor
  • Auto brightness: Polls the built-in display brightness via CoreDisplay private API and proportionally adjusts external displays
  • HiDPI: Creates virtual displays via CGVirtualDisplay private API, or writes display override plists for persistent HiDPI

Contributing

Issues and PRs welcome. This project uses:

  • xcodegen for project generation (edit project.yml, not .xcodeproj)
  • Swift 6 with SWIFT_STRICT_CONCURRENCY: minimal
  • MVVM architecture (View → ViewModel → Service)

License

MIT License — see LICENSE for details.


Acknowledgments

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
didriksg/Crisp

Every display control macOS hides, in one menu bar app: sharp HiDPI/Retina scaling (no more blurry or tiny text), DDC brightness and volume, Extra Brightness past 100%, presets, virtual displays. Free and open source, a no-cost alternative to BetterDisplay and Lunar.

2.6k
Nov 30, 2026
RepositorySwift
MonitorControl/MonitorControl

🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

34.9k
Oct 14, 2026
RepositorySwift
alin23/Lunar

Intelligent adaptive brightness for your external monitors

5.7k
Oct 25, 2026
RepositorySwift
Rydersel/Candela

Candela protects your displays from OLED burn-in and wear: panel health history, a checkup for defects, and the controls macOS leaves out for external monitors (brightness, volume, contrast, custom resolutions, HiDPI scaling). Free and open source.

50
Nov 24, 2026
Repository
waydabber/BetterDisplay

Unlock your displays on your Mac. Flexible HiDPI scaling, XDR/HDR extra brightness, virtual screens, DDC control, image adjustments, PIP/streaming, EDID override. More info - betterdisplay.pro/guide

34.8k
Dec 1, 2026
RepositorySwift
iina/iina

The modern video player for macOS.

47.4k
Dec 1, 2026
RepositorySwift
permissionlesstech/bitchat

bluetooth mesh chat, IRC vibes

37.2k
Nov 27, 2026
RepositorySwift
shadowsocks/ShadowsocksX-NG

Shadowsocks GUI client for mac OS

32.9k
Nov 26, 2026
RepositorySwift
jordanbaird/Ice

Powerful menu bar manager for macOS

30.1k
Oct 6, 2026