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

Latest articles

PostNord’s 2026 Christmas deadlines differ for Bornholm and the rest of Denmark. Use your last confirmed collection and packing schedule to set each order cutoff.

Before WooCommerce 11.4 arrives, test your gift guide on a store copy. Choosing Medium should narrow the knitwear grid and leave the sale gifts below it alone.

AI can read the bank account number on a PDF invoice. If it differs from the supplier’s approved account, accounts payable puts the payment on hold and calls the supplier.

Let’s Encrypt moves to 64-day certificates on 10 February 2027. Check when each site renews, test the reload and verify the certificate visitors receive.

Work out which Drupal 10 sites can move to Drupal 11 by 9 December, who can resolve each blocker and how to test publishing and rollback before launch.

See how SharePoint access changes reach internal AI search, and test how long revoked content can still appear in results, generated answers, and citations.

At month-end, reconcile Shopify Payments against your bank statement and e-conomic. Use the payout ID to trace fees, refunds, and payouts that reach your bank the following month.

Trace an intermittent NGINX 502 through Cloudflare, upstream attempts, and application logs so you can see where the request failed and who should pick it up.

Find the apps, scripts and printers that still send mail through Microsoft 365 with a mailbox password, then test a replacement before the December 2026 change.

Find subscriptions and insurance expenses in e-conomic that should be spread over several months. See how AI reads the supporting documents and how your finance lead approves the proposed allocations.