• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dconf Command Examples in Linux

by Deepika

dconf is a command line tool for manipulating the dconf configuration database in Linux. dconf is a low-level key-based configuration system, it’s used to store settings for desktop environments and applications in a hierarchical format. It’s similar to gsettings, but it uses a more efficient binary format and provides additional features such as transaction support. The dconf command allows you to read and write values in the dconf database, as well as resetting specific keys or entire directories to their default values.

dconf Command Examples

1. Print a specific key value:

# dconf read /path/to/key

2. Print a specific path sub-directories and sub-keys:

# dconf list /path/to/directory/

3. Write a specific key value:

# dconf write /path/to/key "value"

4. Reset a specific key value:

# dconf reset /path/to/key

5. Watch a specific key/directory for changes:

# dconf watch /path/to/key|/path/to/directory/

6. Dump a specific directory in INI file format:

# dconf dump /path/to/directory/

Filed Under: Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘network’
  2. How to Configure Early-kdump Support Feature in CentOS/RHEL 8
  3. kjv Command Examples in Linux
  4. Spacewalk Installation Steps On CentOS/RHEL
  5. Ubuntu Linux – yED(Graph Editor) Alternate of Microsoft Office Visio
  6. ping not working on a Newly Built CentOS/RHEL server
  7. adig: command not found
  8. sysctl: command not found
  9. “device-mapper: resume ioctl failed: Invalid argument” – error on running lvcreate/lvresize/lvextend
  10. Failed to start LSB: Bring up/down networking – On restarting network service CentOS/RHEL (DHCP client)

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright