Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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".

share|improve this answer
    
I don't have any other window managers installed, but I found the solution (see my answer). –  cjm Nov 10 '12 at 22:05
    
Yeah, noticed the answer right after posting. Installing a different windowmanager is easy, though, and would have helped in pinpointing the problem. –  Alexander Nov 10 '12 at 22:06
up vote 3 down vote accepted

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.

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.