Disable Cinnamon's vibrating password box

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
HyperBear
Level 2
Level 2
Posts: 97
Joined: Thu May 04, 2023 3:39 am

Disable Cinnamon's 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 “Tutorials”