[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Logout sound ever gonna be fixed?



On Fri, Dec 5, 2008 at 3:55 AM, Matthias Clasen <mclasen redhat com> wrote:
> On Thu, 2008-12-04 at 20:31 -0600, Michael Cronenworth wrote:
>> Mark wrote:
>> >
>> > Is there really no interest for this long standing bug?
>> >
>> >
>> I'd help you, but I hate system sounds. It shouldn't be that hard to
>> follow the source or setup some debugging? Start with where the sound is
>> emitted and go backwards.
>
>
> There is no need for debugging, the problem is well understood.
> We install /usr/share/gnome/shutdown/libcanberra-logout-sound.sh, but
> there is nothing in gnome-session that does anything  with that script.
> It should be easy enough to come up with a basic implementation of
> logout actions, if someone is really interested in fixing this bug.

Am i right that the patch would have to be something like this:
http://bugzilla.gnome.org/show_bug.cgi?id=546989 (for nautilus but
just for the idea)

Also if it's that then what's the use of that file:
"/usr/share/gnome/shutdown/libcanberra-logout-sound.sh" because
canberra is going to play the "desktop-logout" sound (defined here:
http://0pointer.de/public/sound-naming-spec.html)... or is that done
as a separate file so it will finish it and not break the sound after
a few microseconds?

If you tell me how i can execute a file inside c code (in a way that
gnome accepts it) then i will do my best to make a patch.

And just to be sure.. if i make a patch with logout sound support i
need to edit the gsm_logout_supports_* function in the
gsm_logout_dialog.c file right and assign there appropriate sound name
in each function (logout gets a logout sound, shutdown gets a shutdown
sound etc...)

Thanx,
Mark


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]