This bug was also reported in GNOME's bugzilla: 
https://bugzilla.gnome.org/show_bug.cgi?id=693149

Let me add that if the locks are removed from the /etc/dconf files, and
then the user changes the value manually, for example to 3 minutes, then
this is the result:

$ dconf read /org/gnome/desktop/session/idle-delay
uint32 180
$ gsettings get org.gnome.desktop.session idle-delay
uint32 180

But if the locks are then restored (by editing the files and then
running dconf update):

$ dconf read /org/gnome/desktop/session/idle-delay
10
$ gsettings get org.gnome.desktop.session idle-delay
uint32 600


** Bug watch added: GNOME Bug Tracker #693149
   https://bugzilla.gnome.org/show_bug.cgi?id=693149

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1122028

Title:
  gsettings does not respect dconf locks

Status in “glib2.0” package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu 12.04.1 LTS
  Release:      12.04

  libglib2.0-bin:
    Installed: 2.32.3-0ubuntu1
    Candidate: 2.32.3-0ubuntu1

  gsettings does not respect locked dconf values (although it does know
  that they are not writable).

  Steps to reproduce:
  1. Lock the value of /org/gnome/desktop/session/idle-delay by setuping up 
dconf
  as outlined at https://live.gnome.org/dconf/SystemAdministrators, specifically

  $ mkdir -p /etc/dconf/profile
  $ mkdir -p /etc/dconf/db/local.d
  $ mkdir -p /etc/dconf/db/site.d/locks

  $ cat /etc/dconf/profiles/user
  user-db:user
  system-db:local
  system-db:site

  $ cat /etc/dconf/db/site.d/screensaver
  [org/gnome/desktop/session]
  idle-delay=10

  $ cat /etc/dconf/db/site.d/locks/screensaver
  /org/gnome/desktop/session/idle-delay

  2. Run `dconf update` to updates these changes.

  3. Run `dconf read /org/gnome/desktop/session/idle-delay` and observe
  the value is '10'.

  4. Run `gsettings get org.gnome.desktop.session idle-delay` and
  observe the value is the default value 'uint32 600'

  
  Expected results:
  dconf and gsettings would return the same value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1122028/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to