Commit 2c994d7
committed
flatpak overrides: bake GTK_THEME=adw-gtk3-dark + force-dark color scheme
Operator 2026-05-10: "Nautilus STILL has olde GTK/CSS/Decorations/
theming" -- the dconf system-db override (mios.git@8f29504) set
host gtk-theme=adw-gtk3-dark + color-scheme=prefer-dark, but
flatpaks don't see host themes by default. Their bundled Adwaita
runtime falls back to its built-in light theme.
Two coupled fixes:
1. /var/lib/flatpak/overrides/<app>: add GTK_THEME=adw-gtk3-dark +
ADW_DEBUG_COLOR_SCHEME=force-dark. Combined with the
org.gtk.Gtk3theme.adw-gtk3-dark flatpak extension (added to
mios-bootstrap/mios.toml [desktop].flatpaks), each sandboxed
GTK app picks up the dark Adwaita theme natively -- same
look as system-side gnome-software etc.
2. ADW_DEBUG_COLOR_SCHEME=force-dark forces libadwaita apps
(which ignore GTK_THEME because they use their own stylesheet)
into dark mode at the libadwaita level.
Verified live 2026-05-10: nautilus relaunch with new env -- the
GLib G_IS_OBJECT assertion crashes vanished, replaced by a
benign "Theme parsing error: 'font-feature-settings' is not a
valid property name" (CSS warning, not fatal). Confirms the
adw-gtk3-dark CSS is actually being parsed + applied.1 parent 397b455 commit 2c994d7
6 files changed
Lines changed: 12 additions & 0 deletions
File tree
- var/lib/flatpak/overrides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
0 commit comments