Forrest logo
back to the dconf tool

dconf-write:tldr:2dae0

dconf-write: Write a specific string key value.
$ dconf write ${-path-to-key} "'${string}'"
try on your machine

The command you provided is used to write a value to a certain key in the dconf database. Here is a breakdown of the command:

  • dconf write: This is the command-line utility used to write values to the dconf database.
  • ${-path-to-key}: This part should be replaced with the actual path to the key you want to write the value to. The path specifies the location of the key within the dconf database.
  • "'${string}'": This part should also be replaced with the desired string value you want to write to the key. The string is enclosed in single quotes and the ${string} part is used to insert the actual value of the string you want to write.

To provide a concrete example, let's say you want to write the string value "example" to the key located at "/org/gnome/desktop/background/picture-uri". The command would be:

dconf write /org/gnome/desktop/background/picture-uri "'example'"

This would set the value of the "picture-uri" key to "example" within the dconf database.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dconf tool