From 83d5d281d43452861cfc5dc3acf3c992e5599e69 Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Sun, 17 Apr 2022 15:37:29 +1000 Subject: [PATCH] Provide more examples and enhance existing ones: - in `dconf` --- pages/linux/dconf.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pages/linux/dconf.md b/pages/linux/dconf.md index 61c95853a..c129dcf91 100644 --- a/pages/linux/dconf.md +++ b/pages/linux/dconf.md @@ -4,14 +4,22 @@ > See also `gsettings`. > More information: . -- Print the value of a dconf path: +- Print a specific key value: -`dconf read {{/example/dconf/path}}` +`dconf read {{/path/to/key}}` -- List contents of a dconf path: +- Print a specific path sub-directories and sub-keys: -`dconf list {{/example/dconf/path}}` +`dconf list {{/path/to/directory/}}` -- Watch for dconf database changes in a path and subpaths: +- Write a specific key value: -`dconf watch {{/example/dconf/path}}` +`dconf write {{/path/to/key}} "{{value}}"` + +- Watch a specific key/directory for changes: + +`dconf watch {{/path/to/key|/path/to/directory/}}` + +- Dump a specific directory in INI file format: + +`dconf dump {{/path/to/directory/}}`