[oneiric] gconf settings don't get set properly
Bug #836443 reported by
Jeremy Bícha
This bug report is a duplicate of:
Bug #856884: Unity sets the wrong metacity keyboard shortcut defaults.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gconf |
New
|
High
|
|||
gconf (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Using gconf-editor to set settings doesn't work. The new theme section of System Settings sets every setting except for the Window theme which is the only setting changed there that is still gconf and isn't gsettings. When I try to Edit>Keyboard Shortcuts in gnome-terminal, my changes don't stick after closing gnome-terminal because the gconf settings aren't actually set.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gconf2 3.1.6-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Mon Aug 29 01:45:06 2011
SourcePackage: gconf
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gconf: | |
importance: | Unknown → High |
status: | Unknown → New |
Changed in gconf (Ubuntu): | |
status: | New → Invalid |
importance: | Undecided → Medium |
To post a comment you must log in.
An exception to the broken gconf is gnome-tweak-tool which is still able to set gconf values (like the previously mentioned window theme). gnome-tweak-tool uses the following code:
from gi.repository import GConf
class GConfSetting:
assert( self._type in (str, bool))
self._ client = GConf.Client. get_default( )
def __init__(self, key, _type):
self._key = key
self._type = _type
def set_value(self, value):
self. _client. set_bool( self._key, value)
self. _client. set_string( self._key, value)
assert( False)
if self._type == bool:
elif self._type == str:
else: