Running gsettings as root
Josef Wolf
jw at raven.inka.de
Wed Aug 17 09:21:26 UTC 2016
Hello,
I want to do lots of configuration settings as root in the background
I know, I can do this with
sudo -u $USER dbus-launch --exit-with-session gsettings set [ .... ]
This works fine while the user is NOT logged in.
But it won't work if the user IS logged in.
I need a command that works independently of whether the user is logged in or
not.
Any suggestions?
--
Josef Wolf
jw at raven.inka.de
More information about the ubuntu-users
mailing list