Bug#702393: gnome-control-center: Brightness and Lock option crash

Thomas Barandon t.barandon at gmail.com
Tue Mar 5 23:58:43 UTC 2013


Package: gnome-control-center
Version: 1:3.6.3-1
Severity: important
Tags: upstream

Dear Maintainer,

Using the gnome-control-center (experimental) and selecting the brightness and
lock option lead to a crash with the following error:

(gnome-control-center:2577): GLib-GIO-ERROR **: Settings schema
'org.gnome.desktop.screensaver' does not contain a key named 'show-
notifications'

Addind the missing key to the file
/usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml (modified
file attached to this report) :

 <key type="b" name="show-notifications">
      <default>true</default>
      <summary>Show the notifications</summary>
      <description>Show the notifications</description>
    </key>

Doesn't seems to solve the problem.

Information concerning the schemas:

thomas at Cor:~$ dpkg -S org.gnome.desktop.screensaver
gsettings-desktop-schemas:
/usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml
thomas at Cor:~$ dpkg -l | grep gsettings-desktop-schemas
ii  gsettings-desktop-schemas                 3.7.90-1
all          GSettings deskop-wide schemas

How this issue can be solve ?

Thank you,
--
Thomas



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-control-center depends on:
ii  accountsservice            0.6.30-1
ii  apg                        2.2.3.dfsg.1-2
ii  desktop-file-utils         0.20-0.1
ii  gnome-control-center-data  1:3.6.3-1
ii  gnome-desktop3-data        3.6.1-1
ii  gnome-icon-theme           3.6.0-1
ii  gnome-icon-theme-symbolic  3.6.0-1
ii  gnome-menus                3.6.0-2
ii  gnome-settings-daemon      3.6.4-1
ii  gsettings-desktop-schemas  3.7.90-1
ii  libatk1.0-0                2.7.91-1
ii  libc6                      2.17-0experimental2
ii  libcairo-gobject2          1.12.14-1
ii  libcairo2                  1.12.14-1
ii  libcanberra-gtk3-0         0.28-6
ii  libcanberra0               0.28-6
ii  libcheese-gtk23            3.6.2-1
ii  libcheese7                 3.6.2-1
ii  libclutter-1.0-0           1.12.0-1
ii  libclutter-gtk-1.0-0       1.4.0-1
ii  libcogl-pango0             1.12.0-1
ii  libcogl9                   1.10.2-6exp1
ii  libcolord1                 0.1.21-4
ii  libcomerr2                 1.42.7~WIP-2013-01-01-1
ii  libcups2                   1.6.1-2
ii  libdbus-1-3                1.7.0-1
ii  libdbus-glib-1-2           0.100.2-1
ii  libfontconfig1             2.9.0-7.1
ii  libgcrypt11                1.5.0-5
ii  libgdk-pixbuf2.0-0         2.27.2-1
ii  libglib2.0-0               2.35.8-1
ii  libgnome-bluetooth11       3.6.0-1
ii  libgnome-desktop-3-4       3.6.1-1
ii  libgnome-menu-3-0          3.6.0-2
ii  libgnutls26                2.12.23-1
ii  libgoa-1.0-0               3.6.2-1
ii  libgssapi-krb5-2           1.10.1+dfsg-4
ii  libgstreamer1.0-0          1.0.5-1
ii  libgtk-3-0                 3.7.10-1
ii  libgtop2-7                 2.28.4-3
ii  libjson-glib-1.0-0         0.14.2-1
ii  libk5crypto3               1.10.1+dfsg-4
ii  libkrb5-3                  1.10.1+dfsg-4
ii  libnm-glib4                0.9.8.0-1
ii  libnm-gtk0                 0.9.8.0-1
ii  libnm-util2                0.9.8.0-1
ii  libnotify4                 0.7.5-2
ii  libpango1.0-0              1.32.5-1
ii  libpolkit-gobject-1-0      0.110-2
ii  libpulse-mainloop-glib0    3.0-1
ii  libpulse0                  3.0-1
ii  libpwquality1              1.1.1-1
ii  libsocialweb-client2       0.25.20-3.1
ii  libupower-glib1            0.9.19-1
ii  libwacom2                  0.6-1
ii  libx11-6                   2:1.5.0-1
ii  libxcomposite1             1:0.4.3-2
ii  libxdamage1                1:1.1.3-2
ii  libxext6                   2:1.3.1-2
ii  libxfixes3                 1:5.0-4
ii  libxi6                     2:1.6.1-1
ii  libxml2                    2.9.0+dfsg1-4
ii  zlib1g                     1:1.2.7.dfsg-13

Versions of packages gnome-control-center recommends:
ii  cups-pk-helper         0.2.3-3
ii  gnome-online-accounts  3.6.2-1
ii  gnome-session          3.6.0-1
ii  gnome-user-guide       3.4.2-1+build1
ii  iso-codes              3.41-1
ii  mesa-utils             8.0.1-2+b3
ii  mousetweaks            3.4.2-1
ii  policykit-1-gnome      0.105-2

Versions of packages gnome-control-center suggests:
ii  gnome-screensaver         3.6.0-1
ii  gstreamer0.10-pulseaudio  0.10.31-3+nmu1
ii  libcanberra-gtk-module    0.28-6
ii  x11-xserver-utils         7.7~3



*** /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
  <schema path="/org/gnome/desktop/screensaver/"
id="org.gnome.desktop.screensaver" gettext-domain="gsettings-desktop-schemas">
    <key type="b" name="show-notifications">
      <default>true</default>
      <summary>Show the notifications</summary>
      <description>Show the notifications</description>
    </key>
    <key type="b" name="idle-activation-enabled">
      <default>true</default>
      <summary>Activate when idle</summary>
      <description>Set this to TRUE to activate the screensaver when the
session is idle. DEPRECATED: This key is deprecated and ignored. Set
org.gnome.session.idle-delay to 0 if you do not want to activate the
screensaver.</description>
    </key>
    <key type="b" name="lock-enabled">
      <default>true</default>
      <summary>Lock on activation</summary>
      <description>Set this to TRUE to lock the screen when the screensaver
goes active.</description>
    </key>
    <key type="u" name="lock-delay">
      <default>0</default>
      <summary>Time before locking</summary>
      <description>The number of seconds after screensaver activation before
locking the screen.</description>
    </key>
    <key type="b" name="show-full-name-in-top-bar">
      <default>true</default>
      <summary>Show full name in the lock screen</summary>
      <description>Whether the user's full name is shown in the lock screen or
not. This only affects the screen shield, the name is always shown in the
unlock dialog.</description>
    </key>
    <key type="b" name="embedded-keyboard-enabled">
      <default>false</default>
      <summary>Allow embedding a keyboard into the window</summary>
      <description>Set this to TRUE to allow embedding a keyboard into the
window when trying to unlock. The "keyboard_command" key must be set with the
appropriate command. DEPRECATED: This key is deprecated and
ignored.</description>
    </key>
    <key type="s" name="embedded-keyboard-command">
      <default>''</default>
      <summary>Embedded keyboard command</summary>
      <description>The command that will be run, if the
"embedded_keyboard_enabled" key is set to TRUE, to embed a keyboard widget into
the window. This command should implement an XEMBED plug interface and output a
window XID on the standard output. DEPRECATED: This key is deprecated and
ignored.</description>
    </key>
    <key type="b" name="logout-enabled">
      <default>false</default>
      <summary>Allow logout</summary>
      <description>Set this to TRUE to offer an option in the unlock dialog to
allow logging out after a delay. The delay is specified in the "logout_delay"
key. DEPRECATED: This key is deprecated and ignored.</description>
    </key>
    <key type="u" name="logout-delay">
      <default>7200</default>
      <summary>Time before logout option</summary>
      <description>The number of seconds after the screensaver activation
before a logout option will appear in the unlock dialog. This key has effect
only if the "logout_enable" key is set to TRUE. DEPRECATED: This key is
deprecated and ignored</description>
    </key>
    <key type="s" name="logout-command">
      <default>''</default>
      <summary>Logout command</summary>
      <description>The command to invoke when the logout button is clicked.
This command should simply log the user out without any interaction. This key
has effect only if the "logout_enable" key is set to TRUE. DEPRECATED: This key
is deprecated and ignored.</description>
    </key>
    <key type="b" name="user-switch-enabled">
      <default>true</default>
      <summary>Allow user switching</summary>
      <description>Set this to TRUE to offer an option in the unlock dialog to
switch to a different user account.</description>
    </key>
    <key type="b" name="status-message-enabled">
      <default>true</default>
      <summary>Allow the session status message to be displayed</summary>
      <description>Allow the session status message to be displayed when the
screen is locked. DEPRECATED: This key is deprecated and ignored.</description>
    </key>



More information about the pkg-gnome-maintainers mailing list