Skip to content

gtk4 dark theme broken since upgrade to 23.11 #274554

@merspieler

Description

@merspieler

Describe the bug

Since the upgrade to 23.11, gtk4 apps no longer respect the set dark mode.

Steps To Reproduce

Steps to reproduce the behavior:

  1. set dark mode for gtk4 via nix-shell -p glib --run "gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'"
  2. launch any gtk4 app via Dmenu or terminal
  3. it's not in dark mode

Only way I got it into using dark mode was like this:
GTK_THEME=Adwaita-dark <program> but that's not feasible when using dmenu

Expected behavior

All gtk4 apps are in dark mode

Additional context

Add any other context about the problem here.

In case it makes a difference, I'm running i3wm under X.org.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.67, NixOS, 23.11 (Tapir), 23.11.1779.cf28ee258fd5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: questionRequests for a specific question to be answered2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: GNOMEGNOME desktop environment and its underlying platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions