Quantcast
Channel: Effect of sudo on the performance of `gsettings set` command - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Answer by vanadium for Effect of sudo on the performance of `gsettings set` command

$
0
0

dconf settings are stored in a database on a per-user basis. When you run a command with sudo, the $USER is root, not anymore your own user. gsettings will therefore act on the dconf database of the root user if it exists, rather than on the dconf database of a specific user.

An in depth guide for system administrators about dconf is available on the gnome wiki. It suggests that the database on which dconf acts can be set by the DCONF_PROFILE environment variable.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>