Super User is a question and answer site for computer enthusiasts and power users. 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'm running Ubuntu in VirtualBox (XP host) and while my F10 key works, no keypress events get sent to running programs. I checked in compiz and the shortcut manager, and found one thing using it, which I set to Ctrl+Alt+F10, but nothing else should be getting in the way.

I grabbed this program to be sure, and nothing happens when I press F10

from Tkinter import *

root = Tk()
prompt = ' Press any key '
label = Label(root, text=prompt, width=len(prompt+10), bg='yellow')

def key(event):
    if event.char == event.keysym:
        msg = 'Normal Key %r' % event.char
    elif len(event.char) == 1:
        msg = 'Punctuation Key %r (%r)' % (event.keysym, event.char)
        msg = 'Special Key %r' % event.keysym

root.bind_all('<Key>', key)


When I press F10 in xev, I get

FocusOut event, serial 30, synthetic NO, window 0x5e00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 30, synthetic NO, window 0x5e00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 30, 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   

Subsequent presses of F10 change the first 0 after 'keys:' to 2.

Is there any way I can get F10 to behave like a 'normal' F key?

share|improve this question
Does this help? – Mehrdad Nov 18 '11 at 18:17
Haha, thanks for pointing that out. It's how I knew to look at compiz, but I missed the last line, "Note that the terminal emulator (console window) has its own setting: See Edit, keyboard shortcuts". Post that as an answer, and I'll accept it! – Nate Parsons Nov 18 '11 at 18:30
@Mehrdad NVM, realized that this isn't a problem with terminal (and unchecking the box doesn't even change that) – Nate Parsons Nov 18 '11 at 18:34
The NotifyGrab stuff suggests that you already have some application bound to F10. – Chris Down Mar 4 at 8:51

You must log in to answer this question.

Browse other questions tagged .