Questions about using gsettings, the command-line version of dconf-editor, to read or modify the dconf database. Using gsettings, the schemas and keys of various programs can be viewed and altered. Sometimes hidden settings (that are not in the gui of a program) can be discovered this way.

learn more… | top users | synonyms

19
votes
3answers
22k views

What is dconf, what is its function, and how do I use it?

Mark Shuttleworth recently blogged about the decision to include the Qt libraries in the 11.10 release, with a followup from Jono Bacon. Mark states that the biggest challenge to integrating apps ...
18
votes
1answer
15k views

Graphical editor for GSettings/dconf?

Is there an equivalent to gconf-editor for GSettings/dconf? I know that I can use gsettings set ... on the command line, but that's a bit inconvenient (especially with list types).
17
votes
2answers
4k views

Gconf, Dconf, Gsettings and the relationship between them

I'm trying to understand how Gconf, Dconf and Gsettings works and what the relationship is between them. All I know is: Gconf - XML based database (backend system). The older one. Dconf - BLOB ...
8
votes
1answer
555 views

How to add a key to an empty schema? [closed]

I would like to automate setting some settings, specifically add some keyboard shortcuts to ~/.config/dconf/user. Here is how it looks in dconf-editor: Now gsettings (or dconf) can list the ...
7
votes
2answers
2k views

Where can I get a list of SCHEMA / PATH / KEY to use with gsettings?

After doing some research, I found that I can quickly set configuration options using the gsettings command in the terminal, instead of installing dconf-editor or gconf-editor or CCSM. But we need ...
7
votes
1answer
1k views

How can I install a Gsettings Schema without root privileges?

The typical workflow to install a Gsettings Schema is this: Create a schema, with the extension .gschema.xml, with contents like this: <?xml version="1.0" encoding="UTF-8"?> ...
7
votes
1answer
3k views

One line command for adding new items to com.canonical.Unity.Panel systray-whitelist

This is more of a how to use command line instruction question more than how to add items to the Unity notification panel. I have to have a one line CLI to add a new item to com.canonical.Unity.Panel ...
7
votes
1answer
972 views

Are dconf schema names case-sensitive?

I have found an example of a schema that is referred two in two different ways, differing only in case, which is confusing to me. Gsettings sees the schema name as com.canonical.Unity.Launcher, and ...
7
votes
2answers
988 views

Gsettings and dconf

Hello I need to set a hotkey in ubuntu 12.10, I use: gsettings(dconf) gsettings set ...
6
votes
1answer
2k views

Editing gsettings; add icon to launcher by command

Although there are several posts on the Internet on the subject, I did not find a solution yet: my goal is to find a command that adds an icon (.desktop file) to the Unity launcher and shows it ...
6
votes
1answer
4k views

How can I change default settings for new users?

Every key in the DConf database has a default value that is used when user accounts are created. How can I change these default values?
6
votes
2answers
869 views

Creating Ubuntu Live CD with customized Unity launcher

I would like to create a custom Ubuntu image based on Natty using Ubuntu Customization Kit. I also want to customize the icons appearing on the Unity Launcher. I can change the icons on my desktop ...
5
votes
1answer
5k views

How can I enable/disable Dash online results programmatically?

How can I change this setting from a Bash script? My plan is to enable it only on certain network connections.
5
votes
3answers
5k views

How can I install gsettings schema via a gnome shell extension?

I started to write my own Gnome Shell Extensions and can't find any answer to this question -> is there any way, how to install gsettings schema on machine just via extension code (e.g. not copying ...
5
votes
1answer
458 views

Can commercial applications use Gsettings?

According to specified technical requirements, a commercial application must be self‑contained in a single directory (which I agree is a good requirement), and use ~/.config/<app-name> for its ...
4
votes
1answer
2k views

Shouldn't dconf-editor and gsettings access the same database?

This is a basically 'academic' question --- to try to understand better the configuration system innards. I understand that the dconf system is the new configuration system in gnome3 that has ...
4
votes
1answer
163 views

How to dump all the manully altered gsettings keys?

The dconf Editor indicate the keys whose values have been altered by the user by changing the key's font to bold as shown in the snapshot. So I wonder if there is a way to dump all the keys ...
4
votes
2answers
972 views

How to read default key value with dconf or gsettings?

I would like to know the default value of a dconf/gsettings key. My question is a followup of the question below: Where can I get a list of SCHEMA / PATH / KEY to use with gsettings? What I'm trying ...
4
votes
1answer
1k views

How to change Gsettings via remote shell?

I need to automate desktop configuration via Puppet, virtual terminal or ssh. Unfortunately, invocation of gsettings via ssh or virtual terminal gives: gsettings set ...
4
votes
2answers
407 views

Problem with setting wallpaper using gsettings

I used gsettings set org.gnome.desktop.background picture-uri 'file://PathToImage' to set an image as a wallpaper as suggested in this answer. This does not do the job properly. For today's bing ...
4
votes
1answer
2k views

How can I make the battery icon appear in my gnome-3 panel only when charging or discharging?

I am using ubuntu 11.10. There was an option for the same in 11.04. I found a suggestion listed here. Unfortunately, it does'nt work. $ GSETTINGS_BACKEND=dconf gsettings set ...
3
votes
4answers
369 views

“rm” doesn't accept internal command as a paramter

Why doesn't this work? rm $(gsettings get org.gnome.desktop.background picture-uri | awk '{gsub("file://","");print $0}') rm: cannot remove ...
3
votes
1answer
847 views

How do I change the window theme using bash?

In Ubuntu 12.04, how will I be able to set the gnome window theme with a bash command? This no longer works (it used to in the previous releases) gconftool-2 --set --type string ...
3
votes
2answers
654 views

change gsettings without running X and Unity

I am trying to change some gconf settings in Ubuntu 12.10. I would like to change the lightdm greeter background. I have discovered that while logged in to unity as a user while running X server, I ...
3
votes
2answers
100 views

How to show spreedX client ApplicationIndicator?

For my job I require the use of the spreedX client which allows me to share my desktop when using the Spreed web conferencing environment (www.spreed.com). In pre-Unity Ubuntu versions, this ...
3
votes
1answer
5k views

How to set gtk-style and background in GDM3

I'm triyng to set a different GTk-theme and background for GDM3 (using ubuntu 11.04 and GNOME3 PPA). As far As I have seen, the GTK-theme used by gdm is exactly the one stored into Gsettings > ...
3
votes
1answer
392 views

How to run `gsettings set` in chroot? [duplicate]

I ran the following command in chroot environment without X: gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled true I get the following error message: (process:8290): WARNING ...
3
votes
1answer
1k views

Why Gsettings isn't enough to reset my nautilus settings?

I'm trying to narrow down a bug (to eventually report it or give up if it'll turn out that resetting a simple setting will be enough to get rid of it) I noticed that with a brand new user the bug ...
3
votes
3answers
241 views

gsettings and anacron

I wrote a script to change my desktop background. I want this script to run on anacron because I often turn my computer off at night. I've tested parts of the script, and I think the problem is with ...
2
votes
3answers
273 views

Disabling gedit backup files (filename~ tilde)

How can I get the following command to change for the root user as well? gsettings set org.gnome.gedit.preferences.editor create-backup-copy false This command should disable gedit backup files. ...
2
votes
1answer
135 views

How can I read GSettings values from a filesystem backup?

I have a complete filesystem backup from an old Ubuntu installation. I'd like to retrieve some data from it that was stored via GSettings, e.g. my old GNOME Terminal color selections or the commands ...
2
votes
1answer
116 views

How to remove element from gsettings array in script?

Array in dbus/gsettings has a format [element1, element2, element3, ...]. Gsettings' interface allows only replacing existing array with another, so for instance, adding another item element can be ...
2
votes
1answer
72 views

What determines what is present in gsettings?

I'm on Xubuntu 13.10. I ran this command: $ gsettings list-recursively > ~/Desktop/gset.txt I see a lot of stuff unrelated to Xubuntu. For example: com.canonical.Unity.Lenses always-search ...
2
votes
2answers
3k views

gsettings not working over ssh [duplicate]

I'm trying to change Unity Launcher icons on a remote computer with command: gsettings set com.canonical.Unity.Launcher favorites ... and it works perfectly But when I do ssh 127.0.0.1 gsettings ...
2
votes
1answer
577 views

How to use gsettings when there is no schema listed

I'm wanting to write a script to reorder the loading of compiz modules, so while using the Unity desktop, expo and scale are loaded last and the set hotcorners in those plugins, will remain active ...
2
votes
3answers
1k views

gtk-key-theme Emacs: what keystroke is for select-all?

I prefer emacs keystrokes, but select-all doesn't seem to be part of the emacs vocabulary, or at least, the gtk-key-theme for emacs. M-w isn't working to copy the selected region. What's the ...
2
votes
1answer
203 views

How can I get Summary and Description of Schema using gsettings

I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - ...
2
votes
1answer
398 views

How to run “gsettings” command inside a kickstart file?

I want to create an unattended installation cd of Ubuntu 12.04 with several customizations. I've written a kickstart file to do so, and it works perfectly. (I know that preseed technology exists, but ...
2
votes
1answer
280 views

How can I change the HUD key from the command line?

I know I can change the HUD shortcut key by going into System Settings... > Keyboard > Shortcuts > Launchers > Key to show the HUD. I need to do this from the command line, so I can put it in a ...
2
votes
1answer
885 views

Where are the dconf profiles?

The dconf System Administrator Guide says that "dconf stores its profiles in text files in /etc/dconf/profile/" but on my 11.10 Ubuntu laptop, there is no /etc/dconf directory. Have profiles been ...
2
votes
1answer
813 views

Command to change Gnome 3 setting system-wide (for all users)?

I´m looking for a command to set / change Gnome 3 parameter for all users. Gsettings works fine but only for one user.
2
votes
1answer
196 views

Selecting classic mode on login still shows Launcher

I was running Unity in Natty when I tried to activate the Rotate and Cube effects. That broke Unity and I had to restore the Unity original configuration by invoking gsettings reset ...
2
votes
0answers
43 views

Having trouble preventing users from changing wallpaper/settings

I'm sort of new to linux and I'm having a problem, I'm trying to prevent users from changing the desktop wallpaper (as well as other things but that is the main one) I know this has been asked ...
2
votes
2answers
280 views

gsettings key not listed in dconf

I wonder why in my beta of 12.10. the gsettings key com.canonical.indicator.session is not listed in dconf-editor. I can switch the value via: gsettings set com.canonical.indicator.session ...
1
vote
1answer
84 views

What does “gsettings get com.ubuntu.update-manager launch-time 1382579402” mean?

When I run gsettings get com.ubuntu.update-manager launch-time the response is 1382579402. What does the value of 1382579402 mean?
1
vote
1answer
367 views

Set desktop background from command line over ssh

I am attempting to set my desktop background from the command line in ubuntu 12.04. I am able to do this from the terminal on the actual machine as described here. gsettings set ...
1
vote
1answer
75 views

Is there a way to fetch a gtk app's gsettings values?

For example, I have Devhelp installed. According to the source code, Devhelp creates a gsettings id called org.gnome.devhelp.fonts, I would like to know if it's possible to read the value for ...
1
vote
2answers
463 views

Error accessing Gio.Gsettings on application made in quickly

I am trying to develop an application using the quickly/pygtk stack. I got my Gsettings schemas all set up in ~/app-name-here/data/glib-2.0/schemas/net.launchpad.app-name-here.gschema.xml correctly ...
1
vote
1answer
84 views

How to add element to the gsettings array at the specific location (given by index)?

I want to write a script that translates devilspie's window rules into compiz' rules. Compiz settings can be changed by gsettings keys in path org.compiz.profiles.unity.plugins.place. There are three ...
1
vote
1answer
114 views

How can run a gsettings command inside a postinst script from a custom .deb package?

I want to change the wallpaper when a custom .deb package is installed. In the postinst script I've written this: PID=$(pgrep gnome-session) export DBUS_SESSION_BUS_ADDRESS=$(grep -z ...