aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-19 07:33:26 -0500
committerCraig Jennings <c@cjennings.net>2026-05-19 09:49:17 -0500
commitdc068955692811b99c954e2d948516639babf935 (patch)
treefb9f7ccead9348dc2ed73392ab553ad2c8595373 /tests
parent8e52feb67ce5b94cc6542925009048cbb6bac547 (diff)
downloadarchsetup-dc068955692811b99c954e2d948516639babf935.tar.gz
archsetup-dc068955692811b99c954e2d948516639babf935.zip
fix(archsetup): write desktop defaults as a system dconf db
The previous block ran two `sudo -u $user dbus-launch dconf write …` calls during install to set GTK file-chooser and GNOME interface defaults. Both exited 1 on a headless install. The user had no real session bus, so dconf couldn't create `~/.config/dconf/user`. They also showed up in the 2026-05-11 / 16 / 18 VM-run error summaries. I rewrote the block to compile a system-wide dconf db under `/etc/dconf/db/site.d/`. `dconf update` runs as root and needs no D-Bus. Settings apply to every user and can still be overridden per-user. Bonus: portal-gtk reads these on first login without the ~50s settings-proxy timeout the prior code aimed to prevent but couldn't deliver, since the per-user writes failed during install.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions