To day, lot of keyboard have additional keys. Here, we show how to use them. This article is based on this very VERY good [http://www.lea-linux.org/cached/index/Hardware-hard_autres-clavier_multimedia.html Léa Linux How-To]
Indentify keys
- Open a console
run xev (xbase-clients)
- Search "keycode". in this example, it's 160
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: FalseTry and note all multimedia keys
Keys naming
Here we're going use xmodmap to modify keymaps and insert our multimedia keys.
Create a new text file name ~/.xmodmaprc
- This file is define like this:
keycode YOUR_KEYCODE = YOUR_NAME
- For example:
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 :
?FullSearchCached(##TranslationMasterPage:Keyboard/MultimediaKeys)
