is there a way to disable the eye icon in the login screen to prevent from someone "accidentally" turning it on and thus showing their password in plain sight? Thank you!
is there a way to disable the eye icon in the login screen to prevent from someone "accidentally" turning it on and thus showing their password in plain sight? Thank you!
Assuming you have a fresh install of Ubuntu 20.04, The workaround is to set the eye-icon size to 1px so that it is not visible and not reactive..
To use the workaround
Download the script from github with below command..
Run the command
Optionally you may change the color
#4f194c
in above command with any color or you may replace the color\#4f194c
with an absolute path of the Image if you wish an Image as background.For reverting back to normal
Run the command
The above works only for login screen.. and not for lock screen, to use the same theme file for lock screen, we need to configure it separately.
Configuring the same file for lockscreen
copy the gresource file used for login screen with below command to system default folder
Now to get away the changes we are doing from system upgrades.. make a local copy of the file
/usr/share/gnome-shell/modes/ubuntu.json
Open the file
ubuntu.json
Now edit the
ubuntu.json
file to use our login screengdm3.css
file with below content..Now reboot to see the changes..
To revert back to normal, remove the two files we created for lock screen purpose..
References:
How do I change login screen theme or background in Ubuntu 20.04?
How to customize Lock Screen theme in Ubuntu 20.04