I have run gsettings list-recursively locally from the terminal while logged into X11 on Ubuntu 20.04. Then I also configured a user-based cron job to run gsettings list-recursively from the cron and save it into the file. When I compare contents of those files they are slightly different: some entries have different values. But some entries which I know I changed do match. Why are there differences?

I have read around about DBUS_SESSION_BUS_ADDRESS but I am not setting it for the cron job and it seems gsettings still works (but output is slightly different).

  • Have you tried setting the DBUS_SESSION_BUS_ADDRESS in cron and running it? – muru Sep 8 '20 at 8:40
  • No difference. Also no difference if I remove DBUS_SESSION_BUS_ADDRESS from local session (I still get the same output as with it). – Mitar Sep 8 '20 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.