Public bug reported:
Ubuntu Trusty Tahr (development branch) 14.04 (with the latest updates
as of this morning)
gsettings is ignoring my override files
(So is SystemSettings-->Brightness&Lock tab)
I've followed various instructions on the Internet on how to create override
files
or site-wide key files to override dconf defaults.
I created these 3 files:
/etc/dconf/profile/user
user-db:user
system-db:sitewide
/etc/dconf/db/sitewide.d/00-site-wide-defaults
[org/gnome/desktop/session]
idle-delay=15
/etc/dconf/db/sitewide.d/locks/gmooreLockPolicy
/org/gnome/desktop/session/idle-delay
`gsettings get` is incorrectly reporting the default setting of 5 minutes:
$ gsettings get org.gnome.desktop.session idle-delay
uint32 300
( SystemSettings-->Brightness&Lock tab also displays 5 minutes.)
The `dconf-editor` correctly reports 15 seconds.
(Also, if I remove the lock from file,
/etc/dconf/db/sitewide.d/locks/gmooreLockPolicy
and run `sudo dconf update`, `gsettings` is still
incorrectly reporting 300 seconds.)
I also have left my terminal idle, and watched it, around the 5 minute mark
to go to the password lock screen. Meaning, it is taking longer than
the 15 seconds that it should be locking at.
I have run:
`strace gsettings get org.gnome.desktop.session idle-delay`.
After trimming a lot of output, I do see these pertinent files being opened:
open("/usr/share/glib-2.0/schemas/gschemas.compiled", O_RDONLY) = 3
open("/etc/dconf/profile/user", O_RDONLY) = 4
open("/run/user/1000/dconf/user", O_RDWR|O_CREAT, 0600) = 4
open("/home/bee000guest/.config/dconf/user", O_RDONLY) = 4
open("/etc/dconf/db/sitewide", O_RDONLY) = 4
So it is opening all the correct files. It's just ignoring what it finds in
/etc/dconf/db/sitewide.
Is the syntax I'm using in /etc/dconf/db/sitewide.d/00-site-wide-defaults
OK for `dconf-editor`, but somehow not correct for `gsettings`?
** Affects: gsettings-desktop-schemas (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1303461
Title:
gsettings is ignoring my override files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-schemas/+bug/1303461/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs