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

0
votes
0answers
9 views

How does one make backups of registry key values?

I am building a kiosk mode application that needs to disable key combinations such as the following: open terminal close window minimize activate window menu I use gconftool under Ubuntu 12.04 and ...
0
votes
0answers
16 views

customize ubuntu with bash scripts - never turn the screen off [duplicate]

I'd like to disable the screen from dimming automatically. It is manually done in Settings > Brightness & Lock > Turn screen off when inactive for: Never. I want to do it with a shell ...
2
votes
0answers
29 views

Autostart with AutostartCondition

I want to run a program at a certain condition. So I have created a .desktop file and put it in /etc/xdg/autostart. the contents of the desktop file are: [Desktop Entry] Type=Application ...
0
votes
0answers
39 views

How to get a list (from shell) of Icon Themes installed?

I'm developing a simple script for change the icon theme with Unity. How could I know all the current (Ubuntu & Unity) System Icon Themes with a shell command? There are a few folders in ...
2
votes
2answers
207 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 very annoying problem. Almost all applications (unity, synaptic, ...
0
votes
1answer
112 views

How To Set System Wide Proxy Using Shell Script

I want to make a script that sets and unsets SYSTEM WIDE proxy just as what happens through the network settings. I tried this answers gsettings part but it does not work in 14.04 Could Anyone ...
1
vote
0answers
131 views

Add a custom keybinding with gsettings in ubuntu

I can modify existing custom keybindings like this: gsettings set ...
1
vote
0answers
76 views

Upgrade to 14.04 broke gsettings

I have a cron job which runs every 30 minutes that changes the background image by running this bash script: #!/bin/bash export DISPLAY=:0 export GSETTINGS_BACKEND=dconf ...
2
votes
0answers
85 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
453 views

Configure gnome-shell extensions from command line

I like to run a couple of scripts to automatically install packages and do some configurations on fresh OS installs. I use gnome shell with a few extensions and was thinking of improving my scripts to ...
1
vote
1answer
223 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 ...
0
votes
0answers
99 views

For a Custom 14.04 LiveCD, when and where to set org.gnome.desktop.media-handling automount-open false

I am using UCK to create a locked down Kiosk 14.04 Live CD that can do VPN and RDP, but not access USB, Floppy, hard disk, or any other storage but the CD it was booted from. If I issue in the UCK ...
0
votes
0answers
101 views

Modify power / sleep setting via command line SSH

I want to change the power management sleep via SSH for a logged in user I set the value sudo -u user dbus-launch --exit-with-session gsettings set org.gnome.settings-daemon.plugins.power ...
1
vote
1answer
135 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 ...
2
votes
1answer
287 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 ...
7
votes
2answers
4k 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 ...
0
votes
0answers
10 views

Enable minimize on click feature in 14.04 with gsettings? [duplicate]

I don't have admin priv to install compizconfig-settings-manager on this machine. Anyone figured the setting that this option adds when it's enabled in ccsm?
1
vote
1answer
152 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 ...
1
vote
1answer
100 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?
8
votes
1answer
1k 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 ...
2
votes
1answer
119 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 ...
5
votes
1answer
270 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 ...
1
vote
2answers
690 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 ...
2
votes
3answers
636 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. ...
6
votes
1answer
5k 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 ...
2
votes
0answers
72 views

How to temporarily disable Xfce monitor power off via bash

I have set up my monitor to go off after some minutes of inactivity, but when watching an internet stream in a browser this is unwanted, thus I'd like to have bash command that to disable (and later ...
1
vote
1answer
292 views

How do I reset all GSettings key to their default values?

I want to reset all keys in the GSettings to their default values; preferably using a single command, or a simple bash script. How can I get that done?
4
votes
2answers
671 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 ...
1
vote
0answers
362 views

Wicd network manager tray icon not showing ubuntu 13.10 unity 7.1.2

After successfully installing wicd in ubuntu 13.10 saucy salamander which was a real chore. I now am curious to know if wicd network manager supports a tray icon and if so how do I edit the gsettings ...
0
votes
0answers
753 views

How to change Login-Screen Background on 13.10 [duplicate]

I tried it with gsettings and was able to deactivate the grid and disable the user backgrounds. But changing the background didn't work, now there's no background shown. The background-picture is in ...
1
vote
1answer
447 views

Change gsettings for other (all) users remotelly

I configure several Ubuntu 12.04/13.10 computers remotely using cfengine3. I am wondering how I can add an item to the Launcher for all users. I am aware that I need to set ...
1
vote
1answer
2k views

Help, broken Gsettings

I was trying to disable the global menu as per http://ubuntuhandbook.org/index.php/2013/07/disable-global-menu-on-ubuntu-13-10-saucy/#comment-8612, but while it didn't change anything, after running ...
3
votes
1answer
178 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 ...
0
votes
1answer
65 views

Any setup to version control ALL ubuntu settings?

Just now, I had to google for the third time in my life on how to disable that thing in Ubuntu, where you hold the super key and a help window pops up. Granted, there was a few months in between, but ...
2
votes
2answers
4k 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
814 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 ...
3
votes
1answer
474 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 ...
1
vote
1answer
76 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 ...
3
votes
3answers
2k 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 ...
9
votes
1answer
7k 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.
2
votes
1answer
237 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 - ...
1
vote
1answer
401 views

Change Unity's indicator messages envelope color from blue

How can I change the "You've got mail" messaging indicator envelope color? Is there a setting similar to as in allowing any indicators?
6
votes
2answers
915 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 ...
5
votes
1answer
523 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 ...
8
votes
1answer
2k 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"?> ...
19
votes
2answers
6k 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 ...
0
votes
1answer
698 views

compiz-plugins schemas not found with gsettings

I have installed the extra plugins (compiz-plugins) for CompizConfig Settings Manager (compizconfig-settings-manager) and am trying to change these settings from the command line using gsettings. The ...
7
votes
2answers
1k views

Gsettings and dconf

Hello I need to set a hotkey in ubuntu 12.10, I use: gsettings(dconf) gsettings set ...
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 ...
0
votes
3answers
1k views

What is pxgsettings?

Today I opened System monitor to kill an app and found three enigmatic entries labelled pxgsettings and four sh entries. See image below: Does anyone have a clue what these are? EDIT Today (2 days ...