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

4
votes
2answers
1k 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 ...
1
vote
1answer
522 views

Array manipulation in gsettings' set command

Is there an easy way to do array manipulation in gsettings? I am comparing gsettings to OS X's defaults command that offers the defaults domain --array key overwrite-value and defaults domain ...
0
votes
1answer
692 views

Updating wallpaper with smooth transitions

I'd like to write a program which displays dynamically-generated slideshows on the desktop, replacing the wallpaper. The point is to display live photo-streams from the web, updating the wallpaper ...
2
votes
1answer
288 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
427 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 ...
1
vote
2answers
500 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
2answers
173 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.
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 ...
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 ...
3
votes
1answer
905 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 ...
0
votes
1answer
1k views

Panel notifcation - how can i update gsettings to add 'skype'

gsettings get com.canonical.Unity.Panel systray-whitelist shows ['JavaEmbeddedFrame', 'Mumble', 'Wine', 'hp-systray', 'scp-dbus-service'] How can I make it be ['JavaEmbeddedFrame', 'Mumble', ...
3
votes
4answers
390 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 ...
1
vote
1answer
744 views

How to remove 'system settings' from title bar of Ubuntu 12.04 LTS

I want to remove System settings, Displays, software up to Date from the unity bar (title bar) of the new Ubuntu 12.04 LTS.
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 ...
2
votes
1answer
911 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 ...
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 ...
2
votes
1answer
865 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.
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
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
2answers
102 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 ...
1
vote
1answer
122 views

How to use 'dh_installgsettings'?

My app use systay. I know I should use gsettings to set the 'systray-whitelist' key. Now I would like to package my app. After I googled, I guess dh_installgsettings can help me. So I put a file ...
7
votes
1answer
5k 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?
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 > ...
6
votes
2answers
939 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 ...
2
votes
1answer
197 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 ...
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 ...
20
votes
3answers
25k 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
16k 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).