Lock screen does not work on Ubuntu 20.04
Lock screen does not work on Ubuntu after upgrade to 20.04. I have it turned on in tweaks and it does not work. When I click "lock" the screen simply reloads and disables some extensions in the process. It does not work at all. How can I fix this?
ls -al ~/.local/share/gnome-shell/extensions:
total 80
drwxrwxr-x 20 me me 4096 May 10 09:32 .
drwx------ 3 me me 4096 May 25 15:58 ..
drwxrwxr-x 4 me me 4096 Jun 6 2019 [email protected]
drwxr-xr-x 3 me me 4096 Mar 14 07:08 [email protected]
drwxrwxr-x 3 me me 4096 May 10 09:30 [email protected]
drwxr-xr-x 4 me me 4096 Dec 12 14:55 [email protected]
drwxrwxr-x 4 me me 4096 Jun 7 2019 [email protected]
drwxrwxr-x 3 me me 4096 May 9 22:17 [email protected]
drwxrwxr-x 4 me me 4096 May 9 22:13 [email protected]
drwxr-xr-x 5 me me 4096 Apr 29 16:20 [email protected]
drwxrwxr-x 3 me me 4096 May 10 09:31 [email protected]
drwxrwxr-x 3 me me 4096 Apr 21 2019 fq@megh
drwxrwxr-x 3 me me 4096 May 10 09:30 [email protected]
drwxrwxr-x 3 me me 4096 May 9 22:14 [email protected]
drwxrwxr-x 3 me me 4096 May 10 09:31 [email protected]
drwxr-xr-x 2 me me 4096 Nov 28 12:00 removeaccesibility@lomegor
drwxrwxr-x 4 me me 4096 May 9 22:14 screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
drwxrwxr-x 4 me me 4096 May 9 22:15 [email protected]
drwxrwxr-x 3 me me 4096 May 9 22:15 [email protected]
drwxrwxr-x 3 me me 4096 May 10 09:32 [email protected]
ls -al /usr/share/gnome-shell/extensions:
total 68
drwxr-xr-x 17 root root 4096 Oct 29 2019 .
drwxr-xr-x 7 root root 4096 May 23 10:13 ..
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 desktop-icons@csoriano
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 native-window-placement@gnome-shell-extensions.gcampax.github.com
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com
drwxr-xr-x 3 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 3 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 2 root root 4096 May 9 18:04 [email protected]
Holy !@#$% batman! You've got WAY too many GNOME Shell extensions, and many of them overlap in functionality.
First step...
Go to https://extensions.gnome.org/local/ and disable ALL extensions, then restart GNOME Shell with ALT+F2, then r, then ENTER. Then retest the lock screen, and see if it works normally.
Second step...
Let's start by cleaning out your /usr/share/gnome-shell/extensions
...
sudo rm -r /usr/share/gnome-shell/extensions/*gcampax.github.com
Restart the GNOME Shell using the previous instructions.
This should leave you with these extensions in /usr/share/gnome-shell/extensions
...
drwxr-xr-x 2 root root 4096 May 9 18:04 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 May 9 18:04 [email protected]
drwxr-xr-x 3 root root 4096 May 9 18:04 [email protected]
Using the same web location that I gave earlier, REMOVE any remaining extensions that you either 1) don't really need, or 2) overlap in functionality. Then re-enable the remaining extensions one-at-a-time to see if one of them causes your lock screen problem. Restart the GNOME Shell after each disable/enable/remove(s) change.