如何在 Linux Mint (LXDE) 上使用键盘锁定屏幕

Ash*_*Ash 10 linux keyboard-shortcuts linux-mint lxde

我正在试用带有 LXDE 的 Linux Mint 11。我习惯于使用键盘组合(例如 Windows 上的 Win+L)锁定屏幕,而不是跟踪菜单或单击图标。

Web 搜索返回 Ctrl+Alt+L 作为锁定屏幕的默认组合,但这对我没有任何作用。

有没有办法在 LXDE 中做到这一点?

更新

答案中指向http://wiki.lxde.org的链接具有所需的步骤,但在 Mint 11 中该文件名为mintlxde-rc.xml.

小智 8

在 Linux Mint 18.3 ( Sylvia ) GUI 中,转到Menu-> Preferences-> Keyboard-> Shortcuts

展开System选项卡,您应该会看到Lock Screen快捷方式设置。

锁定屏幕的默认快捷方式是Ctrl+ Alt+ L


mic*_*c84 6

我使用 mint10,您可以在其中转到菜单-> 首选项-> 键盘快捷键。
我还没有找到任何 gui lxde,也没有测试这些方法。
LXDE:Questions ,
Search to Index 3. mouse/keyboard, for mint 11 文件是 mintlxde-rc.xml。
来自 Stray notes
来自 Sourceforge
来自 openbox/org
我希望有所帮助。


小智 6

将以下内容添加到<keyboard>~/.config/openbox/lxde-rc.xml 部分:

keybind key="C-A-l">
  <action name="Execute">
    <command>xscreensaver-command -lock</command>
  </action>
</keybind>
Run Code Online (Sandbox Code Playgroud)

然后运行这个命令:

openbox --reconfigure
Run Code Online (Sandbox Code Playgroud)

现在 Ctrl-Alt-l 应该锁定屏幕。