1<?xml version="1.0" encoding="utf-8"?> 2<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="gsettings-browse" xml:lang="tr"> 3 4 <info> 5 <link type="guide" xref="setup"/> 6 <link type="seealso" xref="dconf"/> 7 <link type="seealso" xref="overrides"/> 8 <revision pkgversion="3.30" date="2019-02-08" status="draft"/> 9 10 <credit type="author copyright"> 11 <name>Matthias Clasen</name> 12 <email>matthias.clasen@gmail.com</email> 13 <years>2012</years> 14 </credit> 15 <credit type="author copyright"> 16 <name>Jim Campbell</name> 17 <email>jwcampbell@gmail.com</email> 18 <years>2012</years> 19 </credit> 20 <credit type="editor"> 21 <name>Petr Kovar</name> 22 <email>pknbe@volny.cz</email> 23 <years>2019</years> 24 </credit> 25 26 <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/> 27 28 <desc>What tool can I use to explore system and application settings?</desc> 29 </info> 30 31 <title>Browse GSettings values for your applications</title> 32 33 <p>There are two tools you can use to browse system and application 34 preferences stored as GSettings values, the <app>dconf-editor</app> graphical 35 utility and the <cmd>gsettings</cmd> command line utility.</p> 36 37 <p>Both <app>dconf-editor</app> and <cmd>gsettings</cmd> also allows you to 38 change preferences for the current user.</p> 39 40 <note style="warning"><p>Note that these tools always operate using the 41 current user's GSettings database, so you should not run these 42 applications as root.</p> 43 44 <p>Both <app>dconf-editor</app> and <cmd>gsettings</cmd> require a 45 D-Bus session bus in order to make any changes. This is because the 46 <sys>dconf</sys> daemon must be activated using D-Bus.</p> 47 48 <p>You can get the required session bus by running <cmd>gsettings</cmd> under 49 the <sys>dbus-launch</sys> utility, like this:</p> 50 51 <screen><output>$ </output><input>dbus-launch gsettings set org.gnome.desktop.background draw-background true</input></screen> 52 </note> 53 54 <p><app>dconf-editor</app> may be better to use if you are not familiar with 55 the options available in an application. It shows the hierarchy of settings 56 in a tree-view and also displays additional information about each setting, 57 including the description, type and default value.</p> 58 59 <p><cmd>gsettings</cmd> is more powerful than <app>dconf-editor</app>. 60 Bash completion is provided for <cmd>gsettings</cmd>, and you can write 61 scripts that include <cmd>gsettings</cmd> commands for automated 62 configuration.</p> 63 64 <p>For a complete list of <cmd>gsettings</cmd> options, see the 65 <link its:translate="no" href="man:gsettings"><cmd>gsettings</cmd>(1)</link> 66 man page.</p> 67 68</page> 69