0

on ubuntu 20.04, this was working well to tweak my setting via cli:

dconf write /org/gnome/desktop/interface/text-scaling-factor 0.9

however on ubuntu 22.04, I can only read the value

$ dconf read /org/gnome/desktop/interface/text-scaling-factor    
0.94999999999999996

$ dconf write /org/gnome/desktop/interface/text-scaling-factor 0.9 error: The given address is empty

Any idea how to solve ? Gnome tweaks can modify it, but I want to do it via cli

n0tis
  • 297
  • 1
  • 12

1 Answers1

1

What is the result of echo $DBUS_SESSION_BUS_ADDRESS

If this environment variable is not set then try setting it with:

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus

Then try your dconf write again.

codlord
  • 3,153