4

GNOME and many window managers such as the Awesome WM use the GSettings settings database, with Dconf as the backend. What is the equivalent of this for KDE?

Also, we can edit GSettiings with the Dconf Editor application or the gsettings command line tool. For example:

gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'

Has somebody work with KDE's engine? What's its name? What tools are there to modify it (such as dconf-editor and gsettings)?

Finally, we can hack the GSettings engine with gsettings get; how can I do this in KDE?

  • afaik there is no equivalent software. In KDE you have to use systemsetting or manually edit the config files in ~/.kde/share/config. As an example, to edit the order of the titlebar buttons you would have to edit ~/.kde/share/config/kwinrc, section [style] or find the relevant section in System Settings. – Nico Boni Nov 14 '13 at 11:59
  • Oh no, i don't set titlebar, i want to know name of KDE engine. – PersianGulf Nov 14 '13 at 12:48
  • 1
    @Gilles KDE hasn't used dcop since the KDE 3.x days. Since KDE 4.0 it uses dbus, same as gnome. – TheBlackCat Mar 9 '15 at 23:57
  • 1
    We can use sed to get the system default values changed, but one other nice feature of dconf / gsettings is that you can have 'override' files. Meaning you don't touch the actual system level default files (that will be overwritten when they upgrade) but rather you can put files in /usr/share/glib-2.0/schemas with an extension of "gschema.override". If there are multiple override files that set settings differently, "last one wins". – rik-shaw Mar 26 '17 at 4:50
  • 1
    <continued from above comment> Anyway, this allows us to have many different user locations with different default settings for their location, while at the same time it doesn't fight with the upstream gnome default settings. So I am wondering if there is any way to work with adjusting the system default settings on kde without interfering with the exact files that will be overwritten as kde updates? I will possibly start a new question but thought it most relevant to start here. – rik-shaw Mar 26 '17 at 4:51
3

I found the corresponding settings saved in .kde/share/config/kioslaverc.

3

KDE doesn't use dconf. In KDE, settings are stored in simple text files rather than a database. The GUI for changing these settings is systemsettings, although individual application settings are usually set within the application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.