Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

They used to be in /usr/lib/X11/XKeysymDB or /usr/share/X11/XKeysymDB, but those have been missing from Ubuntu for a while. I've tried google, but all I get are more references to XKeysymDB or the outputs of different people's xmodmap -pke. Where is the concise list?

share|improve this question

1 Answer 1

up vote 11 down vote accepted

Probably the best up-to-date values for key symbol definitions is to look at the source-code.

Basically its just a list of keysym names with their associated codes.

sudo apt-get install x11proto-core-dev

Two key keyfiles in /usr/include/X11:

The main definition file: keysymdef.h Vendor specific (i.e. debian/ubuntu): XF86keysym.h

There are a number of other header files in the same folder you can also examine.

enter image description here

share|improve this answer
Cheers, but I can't see XF86Bluetooth or XF86WLAN etc, so is there another header too? –  Dave E Jan 8 '12 at 11:46
... updated - bluetooth/wlan is in XF86... –  fossfreedom Jan 8 '12 at 12:04
Bingo! Thanks. Oops though, I didn't mean to vote that as a 'great comment'. –  Dave E Jan 8 '12 at 12:20
For occasional Googlers: equivalent package for Fedora/Red Hat is called xorg-x11-proto-devel –  Alois Mahdal May 12 '14 at 12:15

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.