You are not logged in.
I'm trying to write a script to install Arch on a USB drive and configure it the way I want. Here's what I have so far. I can't seem to set GTK / GNOME themes through the script, though. I've tried it two ways. First, I tried copying this file to ~/.config/gtk-3.0/settings.ini. I verified that it's copied there OK, and the permissions set to the default user.
The contents of the file are:
[Settings]
gtk-theme-name = Arc-Dark
gtk-icon-theme-name = Papirus-Dark
gtk-application-prefer-dark-theme = truewhich isn't very different from the example on the Arch Wiki GNOME page. This file doesn't seem to have any effect.
The second thing I tried was running these commands:
which is these comands:
# Set themes
arch-chroot /mnt sudo -u dh-usb gsettings set org.gnome.desktop.interface gtk-theme Arc-Dark
arch-chroot /mnt sudo -u dh-usb gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
arch-chroot /mnt sudo -u dh-usb gsettings set org.gnome.shell.extensions.user-theme name Arc-DarkBut when I try to run those commands, I get this error:
(process:2): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=e1c07298de3a450099b13ed60edf2389 --binary-syntax --close-stderr': Child process exited with code 1What am I doing wrong? Or is there another way to set my theme settings using a script and chrooting into the USB install?
Offline