Shortcut for a lxqt-leave

How can I add shortcut for doing lxqt-leave. In Lubuntu 18.04 LXDE I went to ~/.config/openbox/, opened the file lubuntu-rc.xml and wrote this:

<keybind key="C-End">
<action name="Execute">
<command>lubuntu-logout</command>
</action>
</keybind>

Openbox works the same way in 20.04, as long as it doesn’t conflict with the shortcuts in LXQt.

https://manual.lubuntu.me/stable/F/keyboard_shortcuts.html

1 Like