Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there any way to disable the animation which occurs when attempting to unlock gnome Screensaver and failing? Currently the password dialog shakes back and forth and for some reason on some laptops, this animation causes the entire system to be unresponsive for about 5 - 7 seconds. Can be very frustrating because it increases the chances of a second, third, etc mistyped passsword.

I'm currently on Fedora 11 but this issue also occurs in Ubuntu. The Ubuntu change log calls this feature "Shake the dialog when authentication fails"

gnome-screensaver (0.0.17-0ubuntu1) dapper; urgency=low

  …    
  * New upstream release:
    - 0.0.16:
      - Shake the dialog when authentication fails
      …

 -- Daniel Holbach <daniel.holbach@ubuntu.com>  Mon, 24 Oct 2005 21:14:22 +0200
share|improve this question
    
My initial inclination was to post this on SuperUser.com but I figured I'd let the new kids on the block try first ;-) –  Josh Oct 3 '10 at 0:03
add comment

2 Answers

up vote 7 down vote accepted

For a moment, I thought that this might be inherited from the GDM configuration (since the GDM login screen does the same thing), but apparently it's not.

After checking a few other places without any luck, I decided to find out for myself and took a look at the source code(v2.30). The code responsible for the shaking only checks to make sure the dialog isn't already being shaken. It makes no checks against any configuration, so there doesn't appear to be a way to disable it without changing the code itself.

You might try switching to xscreensaver and see if that helps.

share|improve this answer
    
Or I could recompile... :-) Thanks! –  Josh Oct 3 '10 at 2:50
    
Sorry for the delayed accept @Bill! I was waiting until I could download the source and try commenting this out on my own, but that was a decision I made in a moment of insanity -- I'm never going to find time to do that! :-( –  Josh Nov 5 '10 at 14:31
add comment

I just wanted to add that I have found a semi-convenient workaround: if the box begins shaking, you can actually click the "Cancel" button and it will stop the shaking and return to the screensaver -- not instantly, but it is much faster to do that (at least on my machine) than to wait for the shaking to finish. I swear that trying to retype my password when the box is shaking leads to dropped chars and thus fails a second time.

Clicking "Cancel" and then re-opening the password box is what I've been doing ever since!

share|improve this answer
    
Isn't it hard to click the cancel button if the dialog is shaking? –  SamB Jan 13 '11 at 20:37
    
@SamB: The dialog shakes slowly and by less than half the width of the cancel button, so no, if I aim for the middle it's easy. –  Josh Jan 13 '11 at 20:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.