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

35
votes
3answers
55k 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 ...
8
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 ...
18
votes
1answer
13k 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 ...
9
votes
1answer
7k 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?
12
votes
2answers
15k 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 org.compiz.core:/org/compiz/...
9
votes
2answers
2k 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 ...
38
votes
2answers
10k 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 ...
7
votes
2answers
11k 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
2k 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 ...
7
votes
1answer
1k 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 ...
10
votes
2answers
4k 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
3k 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 ...
5
votes
2answers
2k 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 ...
3
votes
2answers
301 views

How to alter touchpad settings on Ubuntu GNOME 16.04?

After upgrading to Ubuntu GNOME 16.04 with GNOME 3.20 I have found that if I tap my touchpad it clicks which is something I do not want due to a faulty touchpad, previously I was able to disable this ...
2
votes
1answer
68 views

Automate unity launcher icon ordering

I have written an install script which automates my install process. Afterwards I would like it to rearrange/add/remove the icons to the unity launcher. Using dconf watch / I can see output as I ...
26
votes
1answer
26k 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).
4
votes
3answers
4k views

My dconf/gsettings installation is broken. How can I fix it without Ubuntu reinstall?

I run Ubuntu 12.04.1 LTS x64 in VirtualBox. After one very unfortunate misclick (reset saved state instead of load saved state) I got a very annoying problem. Almost all applications (unity, synaptic,...
6
votes
2answers
1k 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 ...
4
votes
1answer
601 views

Editing Gsettings unsuccesful when initiated from cron

I must have a blind spot, but I cannot find what it is. I made a small python script that removes VLC from the sound menu. It runs perfectly in any way I run it from the terminal or from a launcher ...
1
vote
1answer
2k views

Ubuntu 11.10 resets to default settings after reboot

I upgraded to kernel 3.2 last night. Now: Gnome 3 resets to default after reboot and/or log out. Cannot change theme, font, etc through gnome tweak tool. cannot add any keyboard shortcuts that ...
3
votes
1answer
6k 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 > org....
2
votes
1answer
179 views

Why do I only get half a desktop wallpaper?

I've created a neat little script that downloads a JPG using wgetand then sets it as the Unity desktop background with gsettings set org.gnome.desktop.background picture-uri file:///home/myname/...
2
votes
0answers
87 views

Having trouble preventing users from changing wallpaper/settings [duplicate]

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 ...
1
vote
1answer
396 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 ...
5
votes
3answers
1k 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 image,...
3
votes
2answers
212 views

Sort Unity Launcher icons alphabetically

I like to keep my locked Launcher applications sorted alphabetically, and I was wondering if it would be possible to write a script that sorts them, so I don't have to do it myself every time I add a ...
2
votes
1answer
606 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 ...
1
vote
2answers
194 views

How to use gsettings from /opt

I have to use gsettings from /opt so that ubuntu maintainers will accept my application. I may not use /usr or any of the underlying directories so /usr/share/glib-2.0/schemas is not an option.
0
votes
0answers
100 views

Editing Gsettings from Cron via script doesn't work

So, I'm trying to change my theme from a light to a dark version in the evening, and vica versa in the morning. However, Gsettings doesn't work from Cron, and the solutions posted here and here don't ...