What's stealing my F11 key?

I’ve just installed Arch Linux with LXDE and Openbox on my Asus Eee PC 1000. I can’t get my F11 key to work in any application. It doesn’t appear to do anything when I press it.

I installed xev, and the F11 key doesn’t generate a KeyPress event like the other function keys do. Here’s what I get when I press F12:

KeyPress event, serial 46, synthetic NO, window 0x2400001,
    root 0xac, subw 0x0, time 11144523, (-49,121), root:(789,347),
    state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 46, synthetic NO, window 0x2400001,
    root 0xac, subw 0x0, time 11144627, (-49,121), root:(789,347),
    state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The other function keys look similar. But here’s what I get when I press F11:

FocusOut event, serial 46, synthetic NO, window 0x2400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 46, synthetic NO, window 0x2400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 46, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

In ~/.config/openbox/lxde-rc.xml I found this snippet:

<!--keybindings for LXPanel -->
...
<keybind key="F11">
  <action name="ToggleFullscreen"/>
</keybind>

But I commented that out, logged out, and logged back in. It didn’t make any difference.

How do I get my F11 key back? I use full screen in Firefox all the time, and I need it.

Asked By: cjm

||

Apparently, it was the entry in ~/.config/openbox/lxde-rc.xml. Logging out and back in wasn’t enough for some reason, but I rebooted and now my F11 key is back in action.

Answered By: cjm

Does F11 work in a different window manager, like PekWM?

If it works there, but not in OpenBox, the answer to "What’s stealing my F11 key?" is "OpenBox".

Answered By: Alexander
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.