Le mardi 19 octobre 2010 à 11:53 +0200, Samuel Thibault a écrit : 
> > I really think the beep should be emitted by the greeter instead.
> 
> Then so be it.  I won't be able to find the time to implement that,
> however.

Can you try the attached patch? My desktop doesn’t have a PC speaker so
I cannot test it…

-- 
 .''`.      Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-    […] I will see what I can do for you.”  -- Jörg Schilling
Index: gdm-2.30.5/gui/simple-greeter/gdm-greeter-login-window.c
===================================================================
--- gdm-2.30.5.orig/gui/simple-greeter/gdm-greeter-login-window.c	2010-11-06 09:46:04.184209414 +0100
+++ gdm-2.30.5/gui/simple-greeter/gdm-greeter-login-window.c	2010-11-06 09:49:50.240708567 +0100
@@ -623,6 +623,7 @@ gdm_greeter_login_window_ready (GdmGreet
         set_sensitive (GDM_GREETER_LOGIN_WINDOW (login_window), TRUE);
         set_ready (GDM_GREETER_LOGIN_WINDOW (login_window));
         set_focus (GDM_GREETER_LOGIN_WINDOW (login_window));
+        gdk_window_beep (gtk_widget_get_root_window (GTK_WIDGET (login_window)));
 
         /* If the user list is disabled, then start the PAM conversation */
         if (can_jump_to_authenticate (login_window)) {

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to