无法将 Super+L 分配给锁定屏幕

无法将 Super+L 分配给锁定屏幕

今天安装了 Ubuntu 12.04 64 位,切换到 Gnome Classic(无效果),有一件事让我抓狂:我无法将 Super+L 分配给锁屏功能!

我进入系统设置->键盘->快捷键->系统,然后单击锁定屏幕并按“Super + L”,它出现在列表中,但当我再次按下它时它不起作用。

如果我将其重新设置为 Ctrl+Alt+L,它又可以正常工作了。实际上,我尝试将其设置为不同的 Super + ?? 组合,但都不起作用。

如果我将 Super+L 分配给其他命令(如“启动终端”),它就可以工作。

答案1

找到了解决方案:

运行 gconf-editor

设置值:

/apps/metacity/global_keybindings/run_command_1  <Super>L
/apps/metacity/keybinding_commands/command_1 gnome-screensaver-command -l

相关内容