Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In KDE's menu editor, one can click on the "Advanced tab" and then set a keyboard shortcut to launch an application.

How can I emulate that functionality in LXDE?

share|improve this question
up vote 2 down vote accepted

http://en.gentoo-wiki.com/wiki/Openbox#Create_custom_keyboard_shortcuts

It might not emulate the functionality completely, but it can run commands via keyboard shortcuts.

share|improve this answer

More documentation is here:

on OpenSuSE, one edits the appropriate file in ~/.config/openbox, namely ~/.config/openbox/lxde-rc.xml, and can update the running configuration with openbox-lxde --reconfigure

I added the following in the <keyboard> section,

<!-- Maximize commands -->
<keybind key="W-Up">
    <action name="ToggleMaximizeFull" />
</keybind>

<keybind key="W-S-Up">
    <action name="ToggleMaximizeVert" />
</keybind>

<keybind key="W-S-Down">
    <action name="ToggleMaximizeHorz" />
</keybind>

<!-- application execute commands -->
<keybind key="W-f">
    <action name="Execute">
        <command>chromium</command>
    </action>
</keybind>

<keybind key="W-t">
    <action name="Execute">
        <command>lxterminal</command>
    </action>
</keybind>

<!-- logout -->
<keybind key="C-A-S-Delete">
    <action name="Exit">
        <prompt>no</prompt>
    </action>
</keybind>

<!-- window movement -->
<keybind key="W-A-Up">
    <action name="MoveToEdgeNorth"/>
</keybind>

<keybind key="W-A-Down">
    <action name="MoveToEdgeSouth"/>
</keybind>

<keybind key="W-A-Left">
    <action name="MoveToEdgeWest"/>
</keybind>

<keybind key="W-A-Right">
    <action name="MoveToEdgeEast"/>
</keybind>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.