dconf write
has worked fine on previous versions of LinuxMint (17 and 18 versions).And, it also works fine in a current shell on LinuxMint 19.
However, trying to use
dconf write
inside a here document, launching a shell as a different user, now results in an error!Example, open a terminal and paste the following, replacing
<YOUR_USER_NAME>
:Code: Select all
sudo -u <YOUR_USER_NAME> bash << EOBLOCK
dconf write /org/nemo/preferences/show-full-path-titles true
EOBLOCK
Code: Select all
error: Could not connect: Connection refused
Usage:
dconf write KEY VALUE
Write a new value to a key
Arguments:
KEY A key path (starting, but not ending with '/')
VALUE The value to write (in GVariant format)