mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 17:47:48 +00:00
Update cheatsheets
This commit is contained in:
34
linux/dconf-write
Normal file
34
linux/dconf-write
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 []"`
|
||||
Reference in New Issue
Block a user