[Guide] disabling the vibrating password box

Please post ideas for improving Cinnamon on:
https://github.com/orgs/linuxmint/discussions
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
HyperBear
Level 2
Level 2
Posts: 97
Joined: Thu May 04, 2023 3:39 am

[Guide] disabling the vibrating password box

Post by HyperBear »

If you are like me and don't like user interface effects and animations, you can turn most of them off in the "Effects" menu in the system settings. But the one thing you can't normally turn off is the vibrating password field after entering an incorrect password.

A vibrating password field first appeared in Mac OS, making it one of Apple's many bad ideas. It is pointless because the fact that the lockscreen is still visible suffices as visual feedback that the password was wrong. It is not something critical, so there is no need to grab attention. All this effect does is rubbing it in your face. No one really likes it, but it is a tolerable annoyance.

Luckily, customization is what sets Linux apart from proprietary operating systems. So here is how you can turn it off:

Open the unlock.py file using the text editor of your choice, with root permissions, for example:

Code: Select all

sudo nano /usr/share/cinnamon-screensaver/unlock.py
Then change the number in if self.bounce_count < 6 to 0.

The vibration effect will immediately disappear. No rebooting required.

Enjoy. :D
Post Reply

Return to “Cinnamon”