2021-05-16 18:47:31 +01:00
|
|
|
# dconf write
|
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
> Write key values in dconf databases.
|
|
|
|
> See also: `dconf`.
|
|
|
|
> More information: <https://manned.org/dconf>.
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
- Write a specific key value:
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
`dconf write {{/path/to/key}} "{{value}}"`
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
- Write a specific string key value:
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
`dconf write {{/path/to/key}} "'{{string}}'"`
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
- Write a specific integer key value:
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
`dconf write {{/path/to/key}} "{{5}}"`
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
- Write a specific boolean key value:
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
`dconf write {{/path/to/key}} "{{true|false}}"`
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
- Write a specific array key value:
|
2021-05-16 18:47:31 +01:00
|
|
|
|
2022-04-17 06:50:23 +01:00
|
|
|
`dconf write {{/path/to/key}} "[{{'first', 'second', ...}}]"`
|
|
|
|
|
|
|
|
- Write a specific empty array key value:
|
|
|
|
|
|
|
|
`dconf write {{/path/to/key}} "@as []"`
|