aboutsummaryrefslogtreecommitdiff
path: root/init
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
commit296bd5fbdba9b1e5ff1d5139472313520b82f0b2 (patch)
tree6f04cda6e8ea71a70449e0a0ebc5e7d4aaf9b0d6 /init
parentcabf2ff4aaba122870ae483593566ba0f5d14a96 (diff)
downloadarchsetup-296bd5fbdba9b1e5ff1d5139472313520b82f0b2.tar.gz
archsetup-296bd5fbdba9b1e5ff1d5139472313520b82f0b2.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 'init')
0 files changed, 0 insertions, 0 deletions