After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539786 - [PATCH] Please add three new XSETTINGS to the xsettings plugin
[PATCH] Please add three new XSETTINGS to the xsettings plugin
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on: 541420
Blocks:
 
 
Reported: 2008-06-23 17:24 UTC by Lennart Poettering
Modified: 2008-07-22 11:12 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Lennart Poettering 2008-06-23 17:24:56 UTC
Please add Net/SoundThemeName, Net/EnableEventSounds, Net/EnableInputFeedbackSounds as new settings to the XSETTINGS that g-s-d manages.

I will shortly post an explanation of these settings to the xdg devel.

Basically they are intended to be used:
1) to specify the XDG sound theme to be used
2) to enable/disable event sounds globally
3) to disable only input feedback sounds (i.e. button clicks) but leave other event sounds (i.e. "you got mail!") enabled.
Comment 1 Lennart Poettering 2008-06-23 17:27:53 UTC
Hmm, my epiphany from rawhide refuses to upload patches. Just does nothing, so here's a link to the patch instead of an attachment:

http://0pointer.de/public/gsd-canberra.patch
Comment 2 Lennart Poettering 2008-06-23 17:31:48 UTC
Also see bug 539790.
Comment 3 Lennart Poettering 2008-06-23 17:33:22 UTC
Oh, and another small comment:

The Net/EnableEventSounds settings is hooked up with the already existing gconf setting /desktop/gnome/sound/event_sounds. For the other two I added new gconf keys.
Comment 4 Lennart Poettering 2008-06-23 17:59:40 UTC
Here's the mail to the XDG ml:

http://lists.freedesktop.org/archives/xdg/2008-June/009711.html
Comment 5 Christian Persch 2008-06-23 19:50:16 UTC
You also need to file a libgnome bug to add schema entries for these new gconf keys.
Comment 6 Lennart Poettering 2008-06-23 20:06:19 UTC
(In reply to comment #5)
> You also need to file a libgnome bug to add schema entries for these new gconf
> keys.

It would probably make sense to move those schema entries from libgnome to g-s-d, wouldn't it?
Comment 7 Jens Granseuer 2008-06-25 16:43:41 UTC
Patch looks ok to me, although I'm wondering if 2) and 3) wouldn't make more sense as a single key. Since it looks like the cake is mostly gone already, though, go ahead and  commit.

(In reply to comment #6)
> > You also need to file a libgnome bug to add schema entries for these new gconf
> > keys.
> 
> It would probably make sense to move those schema entries from libgnome to
> g-s-d, wouldn't it?

Sooner or later, yes. Now, probably not (unless you volunteer, I guess...).
Comment 8 Lennart Poettering 2008-07-03 17:55:01 UTC
The patch for the schema files is in bug 541420.

Mathias already fixed 539790. There was no opposition to these new xsettings settings on the xdg ml (actually, there was no reply at all...), so I figure most parties are happy with this new patch and would like to see it merged, or at least ambivalent about it.
Comment 9 Jens Granseuer 2008-07-03 18:19:23 UTC
Please apply.
Comment 10 Lennart Poettering 2008-07-22 11:12:28 UTC
Commited in r399