Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I am using LXDE* over Ubuntu Oneiric on a DELL Studio-XPS 64-bit machine and I can't get the keybind for raising windows to work.

In my ~/.config/openbox/lxde-rc.xml I put:

<!-- Iconify window: it works. -->
<keybind key="A-Down">
    <action name="Iconify"/>
<!-- Raise window: does nothing. -->
<keybind key="A-Up">
    <action name="Focus"/>
    <action name="Raise"/>

then I openbox --reconfigure, but no rasing windows keybindings. I could use the NextWindow action, but... not really the same.


*Nested question: how to know the version of installed LXDE?

share|improve this question

Given that keyboard events do not have a point in space, so do not have a target window, there is no window to focus and raise (the current window is already focused and raised).

If not used for a global key binding, the key event is sent to the currently active/focused window.

For the latter, apt-cache policy lxde-core.

share|improve this answer
Thanks @enzotib. So, after iconifying a window, does it lose the focus? And, how can I raise a window then? – Campa Apr 1 '12 at 10:38
@Campa: yes, it lose focus, and there is no action to restore an iconified windows (raise has another meaning: "raises a window above other windows in its layer"). After all, how can the WM know which window you want to restore? – enzotib Apr 1 '12 at 11:28
Ok but, what does NextWindow action do to raise windows then? Where does the focus go? Desktop? – Campa Apr 1 '12 at 17:22
@Campa: it is not a window action, but a global action, the window are kept in a list, and the next to the current window is given focus. – enzotib Apr 1 '12 at 17:53

Your Answer


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.