How to adjust screen brightness in Ubuntu on a laptop or external monitor

Illustrated infographic summarizing: Adjust Screen Brightness Ubuntu 19.10 - 22.04

By Greg Nowak. Last updated 2026-12-05.

Open the system menu at the top right of the Ubuntu desktop and move the brightness slider. On a laptop, you can also use the keys marked with a sun icon, holding Fn if your keyboard requires it. Watch which screen changes. If the laptop dims while the monitor on your desk stays bright, reach for the monitor’s own brightness control.

For a one-off adjustment, that may be all you need. A terminal command earns its place when you want to restore a shared desk to a known setting, adjust a monitor with awkward buttons, or dim an X11 desktop below the lowest backlight setting.

Which brightness control fits your screen?

What you need Control to use What it changes
A comfortable setting on a laptop Ubuntu slider or brightness keys The built-in display’s brightness, on supported hardware
A repeatable laptop setting brightnessctl The backlight device that Linux exposes
A dimmer external monitor Monitor menu or ddcutil The monitor’s own brightness setting
Extra dimming in an X11 session xrandr --brightness The image sent to the display

Set a laptop backlight from the terminal

Start by checking whether Linux offers a backlight control for the panel. Install brightnessctl if needed, then list devices in the backlight class. Selecting that class keeps keyboard lighting out of the results.

sudo apt install brightnessctl
brightnessctl --class=backlight --list

If one device appears, note its current value so you can put it back. The following command sets the backlight to 40% of that device’s maximum. This gives you a repeatable setting on this laptop. The same percentage on another model can look quite different.

brightnessctl --class=backlight set 40%

For smaller adjustments, use brightnessctl --class=backlight set +10% to go up by ten percentage points of the maximum, or brightnessctl --class=backlight set 10%- to go down. With several backlights listed, add --device=NAME before set, replacing NAME with the panel’s device name. An empty list means this tool has no backlight device to adjust. A permission error means it found a device but your account lacks access to it.

Adjust an external monitor with ddcutil

Open the monitor’s on-screen menu using its buttons or joystick and find Brightness. For keyboard or terminal control, look for a setting called DDC/CI and enable it if available. This lets the computer send settings to a compatible monitor over the display connection. It works independently of whether you use X11 or Wayland.

sudo apt install ddcutil
ddcutil detect

Match the model in the detection results to the monitor you want to change. If it is listed as display 1, read its brightness using feature code 10. Substitute the number from your own results, especially at a desk with two monitors.

ddcutil --display 1 getvcp 10

Write down the current value and check the maximum. If the maximum is 100, the command below sets the control to its midpoint. To undo the change, run it again with the value you wrote down in place of 50.

ddcutil --display 1 setvcp 10 50

If detection fails through a dock, try connecting the monitor directly and run ddcutil detect again. A successful direct test narrows the problem to the connection through the dock. The monitor’s own menu remains available while you investigate.

Dim an X11 desktop below the hardware minimum

When the backlight is already at its lowest comfortable hardware setting and you still want a darker picture, check your session type in a terminal on the Ubuntu desktop.

echo "$XDG_SESSION_TYPE"

If it prints wayland, use the desktop or hardware controls above. Xwayland can show output names to older applications even though the Wayland desktop controls the physical displays. If it prints x11, find the connected output you want to dim.

xrandr -q | grep ' connected'

The first word on each matching line is an output name. If yours is eDP-1, try the following command. Substitute your own output name if it differs.

xrandr --output eDP-1 --brightness 0.8

A multiplier of 0.5 darkens the picture further. Both values change the image in software while the backlight stays at its existing level. Before reviewing shadow detail in a client photograph or signing off a website’s colours, remove the dimming multiplier and return to your usual colour profile.

xrandr --output eDP-1 --brightness 1

Leave the next person a working setting

For a shared desk, record the monitor model, how it connects, the control that worked and the value to restore. Before assigning a keyboard shortcut, unplug and reconnect the dock, check the display number again, and test the command from the account that will use it.

If your team keeps troubleshooting the same desk, talk to Greg about the setup. The monitor model, dock model and what happens when you move the Ubuntu slider are a useful place to start.

Related on GrN.dk

Need help with this kind of work?

Talk to Greg about a recurring Ubuntu workstation issue Get in touch with Greg.

Sources

Seneste artikler

AI kan læse kontonummeret på en PDF-faktura. Afviger det fra den godkendte konto, holder bogholderiet betalingen tilbage og ringer til leverandøren.

Afstem Shopify Payments mod banken og e-conomic ved månedsluk. Brug udbetalings-ID’et til at spore gebyrer, refusioner og beløb, der lander efter månedsskiftet.

Find abonnementer og forsikringer i e-conomic, der skal fordeles over flere måneder. Se, hvordan AI læser bilagene, og økonomiansvarlige godkender forslagene.

Teamtailor udfaser Riminder den 21. november 2026. Tjek parservalg, kontaktfelter og integrationer, og få styr på sletning af ansøgerdata.

En sendt faktura er ikke nødvendigvis nået frem. Få styr på leveringsstatus, systemkravene i 2027 og afgrænset AI-hjælp til fejl og opfølgning i økonomiafdelingen.

Rækker jeres ChatGPT-licens til weboversættelser? Få overblik over API-kreditter, adgang og en WordPress-proces fra godkendt dansk tekst til oversættelseskladder.

Få styr på manglende bilag med et afgrænset AI-flow, der sorterer svar, koordinerer påmindelser og giver bogholderen en overskuelig liste til opfølgning.

Lad AI skrive kampagneudkast til Black Friday ud fra godkendte produktdata. Få styr på priser, modtagere og godkendelse, før Mailchimp-kladden bliver sendt.

Få tilbudsmails fra Outlook ind i CRM med AI. Afklar felter, dubletter og sælgeransvar, og mål i en pilot, om løsningen sparer tid og får flere forespørgsler fulgt op.

Gør månedsrapporten lettere at gentage med AI til Excel, Python og faste kontroller. Få styr på import, fejllister og afstemning, så tallene kan efterprøves.