升级到 20.04 后,锁定屏幕在 Ubuntu 上不起作用。我在调整中打开了它,但它不起作用。当我单击“锁定”时,屏幕只会重新加载并禁用此过程中的某些扩展。它根本不起作用。我怎样才能解决这个问题?
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]
神圣的!@#$% 蝙蝠侠!你有太多的 GNOME Shell 扩展,其中许多在功能上重叠。
第一步...
转到https://extensions.gnome.org/local/并禁用所有扩展,然后使用ALT+重新启动 GNOME Shell F2,然后r是 ,然后是ENTER。然后重新测试锁屏,看看是否正常。
第二步...
让我们从清理你的
/usr/share/gnome-shell/extensions
...使用前面的说明重新启动 GNOME Shell。
这应该让您在
/usr/share/gnome-shell/extensions
......使用我之前提供的相同网址,删除您 1) 并不真正需要或 2) 功能重叠的任何剩余扩展。然后一次一个地重新启用剩余的扩展程序,看看其中一个是否会导致您的锁屏问题。在每次禁用/启用/删除更改后重新启动 GNOME Shell。