(!) [:/Discussion:Discussion]


To day, lot of keyboard have additional keys. Here, we show how to use them. This article is based on [http://www.lea-linux.org/cached/index/Hardware-hard_autres-clavier_multimedia.html Léa Linux How-To]

Indentify keys

KeyPress event, serial 28, synthetic NO, window 0x2800001,
    root 0x5c, subw 0x0, time 3864774064, (-249,385), root:(429,410),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

Try and note all multimedia keys

Keys naming

Here we'll use xmodmap to modify keymaps and insert our multimedia keys.

keycode YOUR_KEYCODE = YOUR_NAME

keycode 160 = MediaSoundMute
keycode 174 = MediaSoundDown
keycode 176 = MediaSoundUp
keycode 162 = MediaPlay
keycode 144 = MediaPrevious
keycode 145 = MediaNext
keycode 164 = MediaStop
keycode 237 = MediaHome

Work in progress:


Translated versions :