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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. composer: A package-based dependency manager for PHP projects
  2. Understanding the /etc/skel directory in Linux
  3. register_new_matrix_user: command not found
  4. ghc: The Glasgow Haskell Compiler
  5. “az sshkey” Command Examples (Manage ssh public keys with virtual machines)
  6. How to Disable “alt+ctrl+Del” Key Combination causing reboot in CentOS/RHEL 4,5
  7. “cannot install the best update candidate for package” – error on running dnf update
  8. calligrasheets: Calligra’s spreadsheet application
  9. How to Install SSHFS on CentOS/RHEL/Ubuntu
  10. chsh Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright