F8x86_64 on the Acer Ferrari 3400LMi |
|
|
|
|
| |
# Buttons: | P1 |
| P2 |
|
|
|
setkeycodes | e074 | 151 | e073 | 152 |
|
|
# |
|
|
|
|
|
|
# Buttons: | FnF1 | FnF2 | FnF3 | |||
setkeycodes | e025 | 131 | e026 | 132 | e027 | 133 |
5.In order to avoid a restart to load these setting, issues the very same commands.
#setkeycodes e074 151 e073 152
#setkeycodes e025 131 e026 132 e027 133
8.1.4 X key-codes revisited
6.Repeat step 1 and use xev to figure out what X keycodes these buttons got. I got the following:
Button | X |
P1 | 201 |
P2 | 146 |
135 | |
140 | |
248 |
7.Ok, now we have X keycodes for all special keys & buttons and need to map them to proper keysymbols. In order to do that put the following in the file /etc/X11/Xmodmap:
!Acer Ferrari 3400Lmi special keys & buttons
! Button | X keycode |
! | |
236 | |
! WWW | 178 |
! P1 | 201 |
! P2 | 146 |
! FnF1 | 135 |
! FnF2 | 140 |
! FnF3 | 248 |
! FnF5 | 214 |
! FnF8 | 160 |
! Fnup | 176 |
! Fndown | 174 |
! |
|
keycode 236 | = XF86Mail |
keycode 178 | = XF86WWW |
keycode 201 | = XF86Launch1 |
keycode 146 | = XF86Launch2 |
13