What software are related to the Keyboard? or the Keyboard configuration?
Problem
It's local, only at my account. It doesn't help If I try the reassign the keys they still won't work.
Info
If I type xev in a terminal I notice that the key codes are gone. I pressed F12 and got this.
FocusOut event, serial 33, synthetic NO, window 0x5200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 33, synthetic NO, window 0x5200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 2 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
How it happened
I was trying to stream audio via this question/answer. But when I was finished and stopped the program I noticed that F10-F12 had stopped working.
Problem I don't know what the software is called or how it works.
The keycodes For:
F10 is 76
F11 is 95
F12 is 96
Solution
The only solution I found was to reinstall Ubuntu, sad, just hope the problem is a one time thing...
You need to start lower than keycodes. You need to find the scancodes for these keys, and associate keycodes to them. The subsystem that deals with these is
udev
, and the relevant files are found in/lib/udev/
.Step 1
Check in /var/log/dmesg if the keys F10, F11 and F12 produce any output when you press them. To do so, start the Log File Viewer (
gnome-system-log
), and notice for any additions todmesg
when you press those keys.If they produce output, then there are no associated keycodes to the scancodes that the keys emit, therefore the problem you are facing is much low level. You need to assign keycodes to these scancodes. Use
setkeycodes
to assign the correct scancode.If they produce no output, then something is wrong in the X Org configuration and possibly with udev. See next step.
Step 2
Run
to find the correct device for your keyboard. Sample output is
In this case, our keyboard is
input/event5
.Then, run
and press the problematic keys. You can exit this program by pressing Esc.
Sample (correct) output for me is
Step 3
If you notice that the keys work in a new user account, then what went wrong are configuration settings in your current account. There are a few ways where you can re-assign keys. For example, check to see whether you accidentally created new shortcuts for F10, F11 and F12 at
.
Imho your problem is not at all related to the keyboard configuration!
I would check the gnome-shortcuts (maybe reassign keys), ...
...or check if some software you use has some mediakey-plugin or something in the preferences that might cause problems with the gnome-shortcut system. Probably that software is not gtk+. Could be something like audacious or amarok.
I see no possibility that a pulseaudio crash could (directly) cause your problem.
Here is a pretty good description intended for multimedia keys but it really helped me a lot. https://help.ubuntu.com/community/MultimediaKeys