在快捷方式中,我有Super+L用于锁定屏幕。但是按下它 - 没有任何反应。在系统日志中:
gsd-media-keys[1979]: Couldn't lock screen: Cannot invoke method;
proxy is for the well-known name org.gnome.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
从界面锁定工作正常。
系统信息:Ubuntu 19.04 升级到 20.04
Linux laptop 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
GNOME Shell 3.36.1
其他信息:
gsettings get org.gnome.desktop.screensaver lock-enabled = true
gsettings get org.gnome.desktop.lockdown disable-lock-screen = false
gnome-screensaver 3.6.1
我也试过:gnome-screensaver-command -l
但没有任何反应。
我已经尝试重新安装 gnome-shell 和 gnome-screensaver - 它没有帮助。
如何通过热键修复锁定屏幕?