Login sound plays when 'Play login sound' is un-checked

Bug #675918 reported by malclocke
94
This bug affects 19 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: gdm

Bug appears to be due to the GUI representing the wrong default value. If there is no gconf key set for /desktop/gnome/sound/event_sounds the 'System -> Administration -> Login Screen' shows 'Play Login Sound' unchecked, but gconf reports true for the value.

To reproduce:

  # Unset the config key
  $ sudo -u gdm gconftool-2 --unset /desktop/gnome/sound/event_sounds

  # gconf will now report true by default
  $ sudo -u gdm gconftool-2 --get /desktop/gnome/sound/event_sounds
  true

  # However the call used by the ubuntu patched GDM will return 'no value'
  $ sudo gconftool-2 --direct -g /desktop/gnome/sound/event_sounds --config-source=xml:readwrite:/var/lib/gdm/.gconf
  No value set for `/desktop/gnome/sound/event_sounds'

  # Opening the 'System -> Administration -> Login Screen' will show 'Play Login Sound' as false

The file debian/patches/09_gdmserver_gconf_settings.patch contains the erroneous code, I'm afraid I don't really understand well enough what's going on there to provide a patch. I suspect that it's the default fall through value of false from gdm_settings_get_bool_gconf_value()

As a quick fix for users, simply checking and then unchecking the 'Play Login Sound' checkbox in the GUI will explicitly set the value to false, and the login drum sound should be disabled.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gdm 2.30.5-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Nov 16 22:25:35 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.utf8
 SHELL=/bin/bash
SourcePackage: gdm

Revision history for this message
malclocke (malc-wholemeal) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, is that still an issue?

Changed in gdm (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jason Hanley (jasonphanley) wrote :

Yes. I'm seeing this on Natty beta.

Revision history for this message
Jo-Erlend Schinstad (joerlend.schinstad-deactivatedaccount) wrote :

I can confirm this today, using an updated 11.04. After a clean install, the dialog will say that login sounds are disabled, even though they are enabled. If you enable it in the dialog, then disable it, then the login sound is disabled, and the dialog displays the correct values.

Daniel Hahler (blueyed)
Changed in gdm (Ubuntu):
status: New → Triaged
importance: Low → Medium
Revision history for this message
Sebastian (sebastianhaselbeck) wrote :

definitely more than an uncheck bug, since this also happens sometimes when u have to kill the computers power because Ubuntu froze (as happens several times a day) and upon restart it just forgets things (such as Firefox Persona, or login sound setting)

tags: added: natty
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.