HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dconf write — Write key values in dconf databases. See also: `dconf`. More information: <https://manned.org/dconf>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddconfkeyvaluesclidatabaseswritedconf write
linux

Problem

How to use the dconf write command: Write key values in dconf databases. See also: dconf. More information: <https://manned.org/dconf>.

Solution

dconf write — Write key values in dconf databases. See also: dconf. More information: <https://manned.org/dconf>.

Write a specific key value:
dconf write /{{path/to/key}} "{{value}}"


Write a specific string key value:
dconf write /{{path/to/key}} "'{{string}}'"


Write a specific integer key value:
dconf write /{{path/to/key}} "{{5}}"


Write a specific boolean key value:
dconf write /{{path/to/key}} "{{true|false}}"


Write a specific array key value:
dconf write /{{path/to/key}} "[{{'first', 'second', ...}}]"


Write a specific empty array key value:
dconf write /{{path/to/key}} "@as []"

Code Snippets

Write a specific key value

dconf write /{{path/to/key}} "{{value}}"

Write a specific string key value

dconf write /{{path/to/key}} "'{{string}}'"

Write a specific integer key value

dconf write /{{path/to/key}} "{{5}}"

Write a specific boolean key value

dconf write /{{path/to/key}} "{{true|false}}"

Write a specific array key value

dconf write /{{path/to/key}} "[{{'first', 'second', ...}}]"

Context

tldr-pages: linux/dconf write

Revisions (0)

No revisions yet.