Questions tagged [dconf]
dconf is a configuration system which includes a database of settings and a tool (also called dconf) to read and write it.
328
questions
100
votes
3
answers
183k
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 ...
98
votes
3
answers
33k
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 based ...
67
votes
1
answer
75k
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).
64
votes
1
answer
15k
views
What are the differences between gconf and dconf?
I've read a lot of discussion about a new Ubuntu configuration tool: gconf is replaced by dconf.
Why is this change being made? Why is there so much debate about it? Is it too difficult to create a ...
45
votes
4
answers
25k
views
How do I clean up my dconf database?
Dconf is pretty young, yet my database is already a mess with lots of "schema-less" keys. Is there a way to do some cleaning up, or would I need to start from scratch (by removing ~/.config/dconf/user ...
43
votes
1
answer
24k
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 ...
40
votes
2
answers
22k
views
How to dump ALL dconf/gsettings so that I can compare them between two different machines?
The problem:
I have two machines, both with Ubuntu Gnome 14.04 up-to-date, and both with installed the latest CrossOver Linux(1) to run MS Office 2007 on it. I know, it's a proprietary program, but ...
38
votes
2
answers
16k
views
When to use gconf vs dconf?
Both gconf and dconf editors are available. Given the change to dconf should we still be using gconf at all? Do changes in gconf actually do anything when running 11.10?
37
votes
3
answers
24k
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 ...
37
votes
2
answers
18k
views
How to search dconf for keys or values?
I loaded dconf-editor. There is no menu, but I did discover that you can press Ctrl+F and enter a search term.
However, I do not know what Ctrl+F actually searches. When I enter a term (e.g. panel or ...
36
votes
4
answers
50k
views
How do I change dconf keys without a gui (for a post-install script)?
I have installed dconf-tools. In this case I am manipulating the display of a name in the panel on the session indicator.
I can change this in dconf-editor gui with no problem, I go to apps/indicator-...
36
votes
3
answers
32k
views
How to save GNOME settings in a file?
I save my configuration in a Git repository to restore it easily later.
Recently, I stumbled upon an issue where needed to change GNOME settings with the gsettings command.
Is there a way to save ...
34
votes
1
answer
7k
views
Is it possible to monitor dconf for changes?
I would like to monitor dconf for changes so that while I tinker with settings, applications and the like I can see what keys are changed, if any.
Is there a way I can accomplish this?
31
votes
2
answers
51k
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/...
29
votes
2
answers
6k
views
Do GUI based application execute shell commands in the background?
I have migrated to Ubuntu 16.04 just 2 days ago from Windows. I like the way we can customise the Unity Desktop. I am just playing around with the look and feel of the Desktop environment. Just like ...
29
votes
3
answers
21k
views
dconf change a string key
I'm trying to change a string based dconf key with a bash script, using the following command line:
dconf write /org/gnome/nautilus/preferences/show-directory-item-counts 'never'
But it return the ...
28
votes
2
answers
11k
views
How to change the number of workspaces from the command line?
I'd like to change org.compiz.profiles.unity.plugins.core -> hsize and -> vsize from command line.
I thought I could use
gsettings set org.compiz.profiles.unity.plugins.core vsize 4
but then I've ...
28
votes
3
answers
30k
views
URL protocol handlers in basic Ubuntu Desktop
There was a way to register URL protocol handlers with Gconf, which is now obsolete and there seems to be no way to do the same with DConf (or Gsettings, its recommended wrapper).
How do one properly ...
26
votes
7
answers
34k
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,...
24
votes
2
answers
18k
views
How to change gnome-terminal profile preferences using dconf or gsettings?
After upgrading form Ubuntu 14.10 to 15.10, it seems that changing gnome-terminal preferences using gconftool-2 is no longer supported. I guess this issue is related the Gconf to GSettings migration.
...
21
votes
1
answer
12k
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"?>
<schemalist>
...
21
votes
2
answers
3k
views
Disable gnome-screenshot's 'camera flash' animation
How can I disable the gnome-screenshot 'camera flash' animation (fade from black)? I've already disabled the camera shutter sound with sudo mv /usr/share/sounds/freedesktop/stereo/camera-shutter.oga ...
19
votes
1
answer
5k
views
How do I dump all the manually altered dconf / gsettings keys?
dconf editor indicates 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 (including ...
17
votes
1
answer
14k
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.
17
votes
2
answers
24k
views
what has replaced dconf-tools for Ubuntu 20.04
This strikes me as a bit chaotic, but I'm new to Ubuntu. I want to have the option to restore open apps when I shut down or logout of Ubuntu 20.04. As usual, I did a search, and found two articles ...
17
votes
1
answer
17k
views
How to properly update / install / compile ibus on 14.04, dconf problems?
I updated recently to phpstorm 9.5 and it says I should update ibus to 1.5.11 or newer (which at this point the current one).
Ok. I downloaded 1.5.11 from source and try to install it. I got some ...
16
votes
4
answers
37k
views
How to disable mouse acceleration on ubuntu 18.04
My mouse has mouse acceleration and is too fast in ubuntu 18.04.
Creating 90-mouse.conf in xorg.conf.d doesn't work.
And when gnome will switch from xorg to wayland, these xorg.conf files wont work ...
15
votes
1
answer
11k
views
GNOME Night Light Setting from the Command Line
How do I turn the GNOME night light on or off from the command line? I've got the command gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled but don't know what flag/argument/...
15
votes
1
answer
10k
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 first ...
14
votes
2
answers
7k
views
What is the relationship between .gconf, .gnome2, .cache, .local, and other dot-file hierarchies in my home directory?
According to this answer, .local .cache and .config are, by convention, configuration storage locations adopted by Gnome and Ubuntu.
Are .gnome .gnome2 and .gconf therefore legacy configuration ...
13
votes
1
answer
12k
views
Enable / disable on-screen keyboard using command line
Currently, I can navigate to "accessibility settings" and turn the on-screen keyboard on or off using the settings GUI.
How can I do this via the command line? so that it may be made a part ...
12
votes
1
answer
18k
views
How to disable thumbnail generation?
For privacy and security reasons I want to disable the generation of any thumbnails in the ~/.cache/thumbnails folder (using Ubuntu 14.04 LTS).
I already tried this (without success):
In the ...
11
votes
3
answers
7k
views
Does Ubuntu have the equivalent of a registry, especially for desktop GUI items?
I've seen several references to 'Compiz Config' and a 'gnome config' application that seems to not be installed by default. Where do these config applications store their data? Is there a registry ...
11
votes
2
answers
1k
views
mapping between dconf dump output and gsettings schemas
For example :
dconf dump / | grep mouse
[org/mate/desktop/peripherals/mouse]
....
So if I want to make a gsettings command based on this output, I look to gsettings to list the schemas, but....
(...
11
votes
1
answer
12k
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?
11
votes
1
answer
7k
views
Some keys are not detected in my keyboard (multimedia keys?) by either xev or xbindkeys or keytouch: how to detect them?
It is one more attempt to get Fn keys to volume up/down, brightness, etc. working. Those controls are simply not working in my non-branded ultrabook.
I want to detect them to modify /home/username/....
10
votes
1
answer
2k
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
2
answers
39k
views
error: Cannot autolaunch D-Bus without X11 $DISPLAY
I urgently need to reset Compiz to its default settings because my desktop doesn't show the Dash or menu bar.
When I type:
dconf reset -f /org/compiz/
It says:
error: Cannot autolaunch D-Bus ...
10
votes
1
answer
2k
views
How to mute sound effects in 14.04 via the command line?
Using the command line, I want to mute the sound effects in Ubuntu 14.04.
The GUI way of doing so is going to System Settings (unity-control-center), then going to the Sound Effects tab:
The answer ...
9
votes
2
answers
14k
views
Change gnome-screenshot auto-save-directory in Ubuntu Gnome 14.04
Configuring with dconf or gconf as suggested in this post worded on Ubuntu Gnome 13.10 (I tried and succeeded). But does NOT work on Ubuntu Gnome 14.04.
How to change auto-save-directory of gnome-...
9
votes
1
answer
15k
views
Simple Scan - Changing the default output File Type to PDF and improving Compression?
Is there a way to change the default output file type in the 'Simple Scan' software provided with Ubuntu 12.10 to be a PDF rather than a JPEG? And is it possible to modify the compression settings on ...
9
votes
2
answers
4k
views
Accidentally clicked "don't show this message again" - how to reactivate?
When Gnome 3.2 told me, there are wireless networks available, I accidentally clicked "don't show this message again".
How can I reactivate this message?
9
votes
1
answer
7k
views
ubuntu 18 save session not working
I am using ubuntu 18, and need to be able to shutdown the pc, and keep the apps working for the next time I start the pc.
I've tried to allow hibernation and set up the shutdown button to hibernate, ...
9
votes
2
answers
2k
views
Gsettings and dconf
Hello I need to set a hotkey in ubuntu 12.10, I use:
gsettings(dconf)
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/...
8
votes
1
answer
6k
views
gsettings - change privacy settings via command line
I know how to change privacy settings via GUI (System Settings > Security & Privacy), but I'd like to be able to do it from command line.
What I did to find out
I ran the command:
dconf watch /
...
7
votes
1
answer
4k
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 ...
7
votes
2
answers
5k
views
How do I move Panel (Not Launcher) icons in Ubuntu Unity?
I've added a couple of applets to the Ubuntu Unity top panel. How can I move them from the right side to the left side?
For example, in this Video, the person seems to have moved the Unity Panel ...
7
votes
1
answer
2k
views
What exactly do dash-to-dock intellihide and intellihide-mode dconf variables do on GNOME 3?
At least since 18.04 Bionic Beaver, maybe previously, dash-to-dock GNOME extension was defined as system default dock application and its settings are stored through dconf.
One of those got me ...
7
votes
2
answers
19k
views
System tray icons and dconf-editor in 14.04
In 12.04 I could use dconf-editor to edit the icons that were visible in the system tray as well as whitelist any applications that I wanted to be up there (such as XChat, Bomgar, Shutter).
This ...
7
votes
1
answer
397
views
Can't increase the number of recent documents in gedit
After upgrading to Ubuntu 20.04 LTS 64-bit my list of recent documents in gedit returned to the default 10 only.
Normally this could be easily changed with dconf, but now dconf can't find the ui max-...