The "turn screen off when inactive for" option is not saved

Bug #1228939 reported by dimovnike
This bug affects 10 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released

Bug Description

the option above is never saved. It always stays selected at "Never". Also when i try to select some other value it says in terminal:

(gnome-control-center:7240): GLib-GIO-CRITICAL **: g_settings_set_value: key 'idle-delay' in 'org.gnome.desktop.session' expects type 'u', but a GVariant of type 'i' was given

However, using xset dpms 300 300 works and is a temporary workaraound.
let me know if u need more info.

$ lsb_release -rd
Description: Ubuntu Saucy Salamander (development branch)
Release: 13.10

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-control-center 1:3.6.3-0ubuntu38
ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
Uname: Linux 3.11.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.4-0ubuntu1
Architecture: amd64
Date: Mon Sep 23 00:28:07 2013
InstallationDate: Installed on 2013-06-13 (101 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to saucy on 2013-09-21 (1 days ago)
 activity-log-manager 0.9.7-0ubuntu4
 deja-dup 27.3.1-0ubuntu1
 gnome-control-center-datetime 13.10.0+13.10.20130913-0ubuntu1
 gnome-control-center-signon 0.1.7~+13.10.20130724.1-0ubuntu1
 gnome-control-center-unity 1.3daily13.06.19~13.04-0ubuntu1

Related branches

Revision history for this message
dimovnike (dimovnike) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Have you rebooted since upgrading to Ubuntu 13.10?

I'm not able to reproduce this bug.

Revision history for this message
dimovnike (dimovnike) wrote :

Yes, i rebooted several times. Btw, I also tried to delete the file $USER/.config/dconf/user hoping it would reset but no luck.

Revision history for this message
dimovnike (dimovnike) wrote :

Also created a new user account, and the bug is still present there too.

Doug McMahon (mc3man)
Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Doug McMahon (mc3man) wrote :

The actual setting chosen is set & works here, eg, if I choose 1 min the display is turned off after 1 min., ect.
However the panel, when re-opened *always* displays "never"

Also it's unclear as to where the setting is saved, after changing nothing is changed in org.gnome.desktop.session or org.gnome.settings-daemon.plugins.power

Revision history for this message
Bas Janssen (watcheroftheskies) wrote :

Behaviour on my machine is erratic: right now the screen won't turn off, no matter what value I choose. But on some boots the value I choose does work, even though it reverts to "never" on reopening.

When I go to the Brightness & Lock panel, even before I change anything, I get the following error message in the terminal:
(gnome-control-center:4680): GLib-CRITICAL **: g_variant_get_int32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed

Revision history for this message
bwat47 (bwat47) wrote :

I'm seeing this issue upon a clean install of beta 2

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Tim (darkxst)
importance: Undecided → High
Tim Lunn (darkxst)
Changed in gnome-control-center (Ubuntu):
assignee: Tim (darkxst) → nobody
Colin Law (colin-law)
summary: - The "turn screen off when intactive for" option is not saved
+ The "turn screen off when inactive for" option is not saved
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.6.3-0ubuntu40

gnome-control-center (1:3.6.3-0ubuntu40) saucy; urgency=low

  * debian/patches/ubuntu_update_translations_template.patch
    - rename the patch, move it at the end of the series,
      lists missing sources (lp: #1233067)

  [ Tim Lunn ]
  * debian/patches: ubuntu_update_lock_and_power_settings.patch: Fix
    type mismatch in idle-delay setting (LP: #1228939)
 -- Sebastien Bacher <email address hidden> Mon, 30 Sep 2013 16:30:03 +0200

Changed in gnome-control-center (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
KeithG (grider-4) wrote :

not fixed. Still present. I can select any time I want in the 'turn screen off' dialog box, it saves it, but the screen never turns off. This is with the Nvidia driver and Gnome 3 window manager, do not know of that is pertinent or not. I confirm it on 2 installs where 13.10 is upgraded from 13.04. Used to work in all ubuntu releases I can remember.

Revision history for this message
Colin Law (colin-law) wrote :

KeithG that is a different bug. Read the first sentence of the description. This bug is that the selection cannot be saved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.