I ran the following command in chroot environment without X:
gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled true
I get the following error message:
(process:8290): WARNING **: Command line `dbus-launch --autolaunch=09be9504960407430fb3a253000052a5 --binary-syntax --close-stderr' exited with non-zero exit status 1: No protocol specified\nNo protocol specified\nAutolaunch error: X11 initialization failed.
Is X a must for changing gsettings? Is there another way to change the setting? (My purpose is to make a LiveCD iso with screen reader enabled by default)
Thanks!
It's possible to run
gsettings
without X11 usingdbus-launch --exit-with-session
: