Pesquisar

Este conteúdo não está disponível no idioma selecionado.

9.4. What Are dconf Profiles?

download PDF
A profile is a list of system's hardware and software configuration databases, which the dconf system collects. dconf profiles allow you to compare identical systems to troubleshoot hardware or software problems.
The dconf system stores its profiles in text files. The $DCONF_PROFILE environment variable can specify a relative path to the file from the /etc/dconf/profile/ directory, or an absolute path, such as in a user's home directory.
Key pairs which are set in a dconf profile will override the default settings unless there is a problem with the value that you have set.

9.4.1. Selecting a dconf Profile

On startup, dconf consults the $DCONF_PROFILE environment variable whether the variable is set. If set, dconf attempts to open the named profile and aborts if this step fails.
As long as the environment variable is not set, dconf attempts to open the profile named user. Provided this step still fails, dconf falls back to an internal hard-wired configuration.
Each line in a profile specifies one dconf database. The first line indicates the database used to write changes whereas the remaining lines show read-only databases. The following is a sample profile stored in /etc/dconf/profile/user:
user-db:user
system-db:local
system-db:site
This sample profile specifies three databases: user is the name of the user database which can normally be found in ~/.config/dconf, and local and site are system databases, located in /etc/dconf/db/.

Important

The dconf profile for a session is determined at login, so users will have to log out and log in to apply a new dconf user profile to their session.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.