Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

425. Displays and scaling

This page is for setting up your screens: arranging several monitors, making text larger, warming the colours at night and changing brightness.

KWin, the compositor, drives every screen, and KScreen is how you arrange them: resolution, refresh rate, position, rotation, scale and which screen is primary. This page covers arranging the screens from System Settings and from a prompt, the size of the desktop’s text, Night Light, the brightness of a laptop panel and of an external monitor, and what to check when a screen is missing or blurry. How KWin draws the screens is in KWin.

Installation

Port Provides
kwin Output management: modes, scale, rotation, HDR and colour profiles, and Night Light
kscreen The Display Configuration page, the screen-layout OSD on Meta+P, the KDE daemon module that applies a saved layout when screens change, and kscreen-doctor
knighttime The day and night schedule Night Light follows
powerdevil Screen brightness, a laptop screen’s own and an external monitor’s over DDC/CI
ddcutil The DDC/CI library PowerDevil uses for an external monitor
kdos-tools kdos toggle night-light

There is nothing to enable: KWin finds every connected screen at login, and the login screen’s own KWin does the same before it.

Configuration

Where a layout is kept

KWin keeps every screen arrangement it has seen in ~/.config/kwinoutputconfig.json, keyed by the set of connected screens, and applies the matching one when that set comes back. The greeter’s KWin keeps its own in /var/lib/sddm/.config/. There is no system-wide layout file.

The size of the desktop’s text

Two settings make text larger:

Night light

System Settings → Night Light sets when the screen warms and how much: always on, from sunset to sunrise at the machine’s location, or at fixed times. KNightTime works the schedule out and KWin follows it.

Meta+Ctrl+Shift+N, a shortcut KDOS adds (see Shortcuts and window rules), runs kdos toggle night-light. It writes Active under [NightColor] in ~/.config/kwinrc and, when turning Night Light on, also Mode=Constant: the screen warms at once and stays warm all day, in place of the schedule, until you turn it off or choose a schedule on the page again.

The DDC/CI line of an external monitor

PowerDevil, Plasma’s power manager, changes an external monitor’s brightness over DDC/CI (the control channel in the video cable), through libddcutil, which opens the monitor’s /dev/i2c-N node. KDOS grants that node to the video group and to the user of the active session, and to nothing else, from fs/etc/udev/rules.d/70-kdos-i2c.rules:

SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{class}=="0x03*", GROUP="video", MODE="0660", TAG+="uaccess"

fs/etc/udev/rules.d/70-kdos-i2c.rules, lines 39–39

The comment above the rule explains the class match and the uaccess tag, which elogind turns into an access-control entry for whoever’s session is in front.

Usage

Arranging the screens

  1. System Settings → Display Configuration, or Meta+P for the quick layouts (extend, mirror, only one screen).
  2. Drag the screens into place; pick each one’s resolution, refresh rate, rotation and scale; set the primary screen, which holds the panel.
  3. Apply. KWin asks whether to keep the change and reverts it after 15 seconds without an answer, so a mode the screen cannot show undoes itself.

Listing and changing the screens from a prompt

kscreen-doctor --outputs                       # every output, its modes, scale and position
kscreen-doctor output.HDMI-A-1.mode.1920x1080@60
kscreen-doctor output.eDP-1.scale.1.5
kscreen-doctor output.HDMI-A-1.position.1920,0
kscreen-doctor output.HDMI-A-1.disable

Run it in a terminal inside the session: it talks to the running KWin over Wayland. The output names are KWin’s, as --outputs prints them.

Larger text on a high-density screen without scaling

Leave the scale at 100 % and raise the font size under Text and Fonts, or set Force fonts DPI there. Windows keep their pixel sizes and only the text grows; a program that draws its own text at fixed sizes is not affected.

Night light

Turn it on and choose the schedule on System Settings → Night Light. From a prompt, or with Meta+Ctrl+Shift+N, it is on, warm all day, or off:

kdos toggle night-light

The brightness of an external monitor

Use the brightness slider in the system tray’s Brightness and Color applet, or the keyboard’s brightness keys: each screen that answers on DDC/CI has its own slider. A monitor that does not answer has DDC/CI turned off in its own menu, or is connected through a dock or adapter that does not pass it on.

ddcutil detect          # which monitors answer on DDC/CI

The live medium and an installed system

Both find the screens the same way. The live medium starts every screen at its preferred mode and the scale KWin chooses for its size; an arrangement made there lasts until power-off unless the medium has a persistence store.

Tips

Troubleshooting

A screen is black or missing. Check that KWin sees it: kscreen-doctor --outputs. A connected output listed as disabled is turned on with kscreen-doctor output.<name>.enable. One not listed is not seen by the kernel either: check cat /sys/class/drm/*/status and the cable, and see Graphics drivers.

Text is blurry on a scaled screen. The program is an X11 one running under Xwayland, which draws at 100 % and is scaled up. System Settings → Display Configuration → Legacy Applications (X11) → Apply scaling themselves lets such programs draw at the real size; see Xwayland and X11 applications.

The external monitor has no brightness slider. Run ddcutil detect as your own user. If it says “No monitor detected” while sudo ddcutil detect finds one, the node’s permission is wrong: ls -l /dev/i2c-* must show group video, and getfacl /dev/i2c-N an access entry for the active user.

The layout is wrong after plugging a dock in. KWin applies the last layout it saw for that set of screens. Arrange it once and Apply; it is kept for that set.

Known gaps

See also