I spent an evening chasing a setting that does not exist. After a month on Fedora COSMIC Atomic — where I'd already written that COSMIC has no Night Light, no variable refresh rate, and no ICC color management — I was back on a Pop!_OS 26.04 LTS laptop, late session, staring at the familiar blue-white glare of a 16:10 panel at 11 PM. I opened Settings → Displays expecting a Night Light toggle. Nothing. No slider, no schedule, no "reduce blue light" section.
This post fills that gap. Not with a COSMIC feature that secretly shipped — it didn't — but with a small community applet that works around the compositor's missing color protocol in a genuinely clever way: by briefly kicking COSMIC off the display so it can write the color ramp directly to the kernel. It's unofficial, it installs a root helper, and it's the most complete fix I found for an internal laptop panel on COSMIC today.
A note on scope: this is a hybrid report. The hands-on parts come from one Pop!_OS 26.04 LTS machine I used for this investigation on December 1, 2026: an ASUS Vivobook 14 (M1405YA) with an AMD Ryzen 7 7730U, integrated Radeon "Barcelo" graphics on the amdgpu driver, 16 GB RAM, a 1920×1200 eDP-1 panel, Wayland, and cosmic-comp 0.1~1795208846~26.04~0681eaf. The project facts (version numbers, repo history, upstream issue tracking) come from the project's own GitHub repository and release history, checked directly on December 1–2, 2026.
The Missing Toggle Isn't a Packaging Mistake
The first thing to rule out was the obvious: maybe Pop!_OS hid it, maybe I was looking in the wrong page.
cosmic-settings --help on this machine lists every settings page. There's a displays page, but no night-light subcommand. The Displays UI has orientation, refresh rate, scaling, and arrangement — no warmth control. The COSMIC config tree under ~/.config/cosmic/com.system76.CosmicSettings/ was empty too, so nothing was configured and merely hidden.
It's also not for lack of someone building it. A COSMIC contributor (GitHub user CyphrRiot) submitted a complete working Night Light implementation upstream — a gamma manager inside cosmic-comp, a full settings UI with schedules, temperature, and sunrise/sunset location — hoping it would get merged or used as a starting point (cosmic-epoch#1542). As of this writing it hasn't landed. System76's own public roadmap lists Night Light, alongside HDR and gamepad support, under the COSMIC Epoch 3 milestone — a future release, with no shipped date yet.
A disabled feature with a finished third-party patch sitting in the tracker is a different situation than "nobody's thought about it." It's more like: the fix exists, it just hasn't been merged.
Why Redshift, Gammastep, and wlsunset Don't Work
The usual Linux advice doesn't apply here. On X11, Redshift can poke XRandR gamma ramps. On wlroots Wayland compositors, gammastep and wlsunset speak wlr-gamma-control-unstable-v1. COSMIC is neither: it's not X11, and cosmic-comp isn't wlroots.
COSMIC doesn't implement wlr-gamma-control-unstable-v1, so none of the usual tools have anything to talk to — this is tracked upstream in cosmic-comp#764 and cosmic-comp#2059, both still open. The Arch Wiki's COSMIC page notes the same gap and, until recently, suggested the awkward workaround of running redshift from a bare TTY before cosmic-comp starts — which obviously isn't something you want to do every evening on a laptop.
| Tool | Needs | COSMIC/Wayland result |
|---|---|---|
| Redshift (X11 path) | XRandR gamma on X server | Not available on a native Wayland session |
| Redshift / gammastep / wlsunset (Wayland path) | wlr-gamma-control-unstable-v1 |
Not implemented by cosmic-comp |
| Native COSMIC Night Light | Compositor + settings integration | Not shipped; targeted for a future COSMIC Epoch 3 |
cosmic-nightlight (community applet) |
Root helper + DRM/KMS access | Works on supported DRM displays, including internal laptop panels |
What cosmic-nightlight Is
cosmic-nightlight is a community applet for the COSMIC desktop, MPL-2.0 licensed, maintained at cosmic-nightlight/cosmic-nightlight on GitHub. It isn't made or endorsed by System76.
The project has already been through one rename: it started life in mid-2026 as Night Shift, then at v0.3.0 the maintainer renamed it to Night Light and moved the repository — the GitHub org it now lives under is literally called cosmic-nightlight. That's the only rename in its history; there's no second name change hiding behind it.
The current stable release is v0.5.1, published September 12, 2026 — a small bug-fix update (notably fixing repeated password prompts on Fedora Atomic) that also laid groundwork for translations. A newer development build from late October previews an upcoming v0.6.0 with a few quality-of-life fixes and a configurable keyboard shortcut; check the Releases page for whatever's current by the time you read this, since this is an actively developed project.
What it gives you, per the project's own README:
- A panel or dock applet with an on/off toggle and warmth slider.
- A settings window for schedule, night temperature, and brightness dimming.
- Three schedule modes: Off (manual), Sunset to Sunrise (calculated from your time zone — no location permission needed), and Custom Schedule (exact from/to times, including overnight windows).
- An optional Run in Background mode, or a
systemd --userservice, if you don't want the applet taking up panel space. - Packages for Debian/Ubuntu-family distros (
.deb), Fedora 44+ (.rpm), Arch Linux, and an optional Flatpak build.
It doesn't give you HDR-aware color management, per-display ICC profiles, or a native COSMIC Settings page. It gives you a warmer screen at night. On a laptop where the alternative is staring at 6500K blue-white light, that's enough.
How It Actually Works — and It's Cleverer Than a Simple Gamma Write
This is the part most casual write-ups skip, and it's the most interesting bit for anyone who's used redshift before.
You might expect the fix is just "write to DRM/KMS instead of going through Wayland." That's necessary but not sufficient — because COSMIC's compositor holds exclusive DRM master on your displays. Nothing else, privileged or not, can simply reach in and rewrite the gamma table while COSMIC is actively driving the screen.
So cosmic-nightlight's root helper does something genuinely clever, documented in its own README: on every tint change, it briefly switches your session to a spare virtual terminal. That forces COSMIC to release DRM master. The helper grabs it, writes the new color curve to the display (using the well-known Tanner Helland color-temperature-to-RGB formula), releases DRM master, and switches you straight back to your COSMIC session. The tint persists after the switch-back.
That's also why the project is upfront about a real limitation: every tint change causes a brief 1–2 second flicker. It's not a bug so much as the visible cost of the VT-switch trick. A handful of events — changing resolution, hotplugging a monitor, the screen waking from sleep — can clear the tint and require the schedule (or you) to reapply it; resume-from-suspend is handled automatically, the rest you just toggle again.
The codebase is split into three crates specifically to keep the privileged surface small:
| Crate | Runs as | Does |
|---|---|---|
nightlight-core |
library | Color math, the DRM writes, and the VT-switch logic |
nightlight-helper |
root, via pkexec |
A small CLI that takes --temp / --brightness and calls into nightlight-core |
cosmic-nightlight |
your user | The panel applet, the --settings window, and an optional --daemon mode |
That separation is the right instinct from a security standpoint: the code that runs with real privilege is a thin CLI wrapper, not the whole GUI application.
Install Walkthrough
cd /tmp
curl -fLO $(curl -s https://api.github.com/repos/cosmic-nightlight/cosmic-nightlight/releases/latest \
| grep "browser_download_url.*amd64.deb" | cut -d '"' -f4)
sha256sum cosmic-nightlight_*_amd64.deb
The command above pulls whatever .deb is current at install time — don't trust a hash from an old blog post (including this one); compute it yourself against the file you actually downloaded, and compare it to whatever the project publishes with that release.
Inspect before installing:
dpkg-deb -I cosmic-nightlight_*_amd64.deb
dpkg-deb -c cosmic-nightlight_*_amd64.deb
Then install:
sudo apt install ./cosmic-nightlight_*_amd64.deb
On Fedora 44 or newer, the project ships an .rpm instead: sudo dnf install ./cosmic-nightlight-*.rpm. On Arch, there's a .pkg.tar.zst for pacman -U. A Flatpak build is also attached to every release if you'd rather sandbox the GUI — note that it still installs the same privileged helper on your system the first time you turn Night Light on, since a sandboxed app can't touch DRM on its own either.
The applet doesn't pin itself to your panel automatically:
- Open Settings → Desktop → Panel or Dock.
- Choose Configure applets.
- Click Add applet.
- Select Night Light.
Click the icon for the quick on/off toggle and warmth slider; open the settings window for schedule and brightness. For a first setup, Sunset to Sunrise with a moderate warmth and no aggressive brightness dim is the sane starting point — you can push it warmer once you know how it looks on your panel.
Security Review: What You're Actually Trusting
This is the section most install guides skip, and it's the reason I wanted a "hands-on plus security review" angle rather than just an install tutorial.
What gets installed. A user-facing binary, a root-capable helper (cosmic-nightlight-helper), a polkit rule, a systemd user unit, and the usual desktop entries and icons. Small in purpose, privileged in effect.
What the helper can do. It briefly takes exclusive control of your display hardware — enough to force your compositor off the screen and rewrite the color output, then hand control back. That's not "read your browser history" dangerous; it's "runs with elevated display-hardware access, on a schedule, without you watching" dangerous. The threat model here is supply-chain and local privilege abuse, not remote exploitation.
What polkit changes. The polkit rule is what lets an authorized desktop user trigger the privileged helper without a password prompt every time the sun sets. Convenient — and also a quiet expansion of what your desktop session can trigger unattended. On a single-user laptop where you're already in the sudo/wheel group, that's a reasonable trade. On a shared machine, read the rule line by line before accepting it.
How I'd audit it:
# Before install
dpkg-deb -I cosmic-nightlight_*_amd64.deb
dpkg-deb -c cosmic-nightlight_*_amd64.deb
# After install
dpkg -L cosmic-nightlight
ls -l /usr/bin/cosmic-nightlight /usr/bin/cosmic-nightlight-helper
grep -r "cosmic-nightlight" /usr/share/polkit-1/rules.d/
systemctl --user cat cosmic-nightlight.service
# Confirm provenance
apt-cache policy cosmic-nightlight
How to undo it:
sudo apt remove cosmic-nightlight
For a Flatpak install, run flatpak uninstall io.github.cosmic_nightlight and then the project's own scripts/uninstall.sh to remove the host-side helper it installed separately — the Flatpak removal alone doesn't take that with it.
My take: on this single-user AMD laptop, I'm comfortable running it after inspecting the package. I wouldn't install a gamma-helper .deb from an unreviewed fork, I wouldn't skip the hash check, and I wouldn't treat "open source community project" as the same trust boundary as a compositor shipped by your distro.
Verdict
COSMIC's missing Night Light isn't a mystery and isn't, today, fixed by native settings. A complete community implementation already exists as an open pull/issue upstream, System76's own roadmap has it slated for a future COSMIC Epoch 3, and the usual Redshift-family tools fail for the simple reason that cosmic-comp doesn't speak their protocol.
cosmic-nightlight is the practical stopgap, and it's a more interesting piece of engineering than "just write to DRM" — it has to physically evict the compositor from the display, via a VT switch, to get a privileged write in edgewise. That's narrow, honest about its cost (the flicker), and a little spicy from a security angle, because it asks for real privilege to do it.
The clean ending isn't "install this forever." It's: use it now if your eyes need it, audit the helper like an adult, and retire it the day COSMIC ships a native color protocol. The best night-light implementation is the one that doesn't need a root sidecar doing VT gymnastics to work.
Further reading
- cosmic-nightlight on GitHub — source, README, architecture notes, releases
- Latest release — current
.deb/.rpm/Arch/Flatpak assets - pop-os/cosmic-comp#764 and #2059 — why wlr-gamma-control-style tools don't work on COSMIC
- pop-os/cosmic-epoch#1542 — a complete community Night Light implementation offered upstream
- pop-os/cosmic-epoch#2498 — roadmap tracking for native Night Light
- COSMIC Epoch 2 and 3 Roadmap — System76's own feature roadmap, Night Light under Epoch 3
- COSMIC Atomic After a Month — my earlier note on COSMIC's 2026 feature gaps, including the missing Night Light