Ubuntu: How to remap Back and Forward key on a Lenovo ThinkPad T420?



Question:

I used to have a Lenovo N500, in this laptop the PgUp and PgDn keys are next to the Up/Down/Left/Right keys. Now I have a Lenovo T420 and the keys next to Up/Down/Left/Right are Back and Forward.

I would like to know how to remap the Back and Forward keys to function as PgUp and PgDn.


Solution:1

It can be made just typing the following command

xmodmap -e 'keycode 166=Prior' && xmodmap -e 'keycode 167=Next'  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »