KubuntuLaptopKeycodes

Revision 3 as of 2006-07-09 13:47:29

Clear message

I am working on KubuntuLaptopButtons spec for Edgy and would like to get more reports on keycodes from laptop users.

Please add your notebook (with your nick) to this table - if you have a key which is not listed, please add new row.

Key

HP nw8240 BR LukaRenko

Toshiba A10 Satellite BR ["Hobbsee"]

Sleep

223

223

Hibernate

165

Battery

241

Info

245

Presentation

205

Mute

160

160

Volume Down

174

Volume Up

176

Eject

36

Windows Key

115

Lock screen

146

Power Modes

241

Note: you can get keycode by running xev program from command line (termina/Konsole) and then pressing the special laptop keys and searching for keycode, for example output

KeyPress event, serial 28, synthetic NO, window 0x5000001,
    root 0x76, subw 0x0, time 1400690129, (70,50), root:(74,102),
    state 0x0, keycode 223 (keysym 0x1008ff10, XF86Standby), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x5000001,
    root 0x76, subw 0x0, time 1400690129, (70,50), root:(74,102),
    state 0x0, keycode 223 (keysym 0x1008ff10, XF86Standby), same_screen YES,
    XLookupString gives 0 bytes:

An easier way to do this is to run:

xev | grep keycode