DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Displays & outputs

Monitors, resolution, scale, VRR and HDR

Displays & outputs

Each monitor is configured with a monitor_rule line. Use wlr-randr or dfmsg get all-monitors to find names.

SECTION 02 · Compositor & desktop
Scope: Outputs
Repository and source ↗

Monitor rules

monitor_rule=name:^eDP-1$,width:1920,height:1080,refresh:60,x:0,y:0,scale:1.5
monitor_rule=name:^DP-2$,width:2560,height:1440,refresh:144,x:1280,y:0,vrr:1

Fields include name, make, model, serial, rr (transform), hdr, icc, primary and disable. If you use XWayland, keep positions non-negative.

Monitor commands

dfmsg dispatch focusmon,left
dfmsg dispatch sleep_toggle_monitor,eDP-1
dfmsg dispatch toggle_monitor,eDP-1
dfmsg dispatch create_virtual_output

By default Alt + Shift + Left / Right focuses another monitor and Super + Alt + Left / Right moves the window to it.

HDR and tearing

The repository docs say HDR is supported only in the wl-only branch, because it needs the Vulkan renderer, which scenefx does not support yet. Do not expect it to work in a normal Dragonfruit build. Tearing is off by default (allow_tearing=0). See the monitor reference.

← Previous

Input devices

Next →

Configuration guide