FG
šŸ’» Software

Is it possible to remap the Back/Forward keys of a Thinkpad USB keyboard on Linux?

Fresh7 days ago
Mar 15, 20263380 views
Confidence Score0%
0%

Problem

On my Thinkpad laptop I can easily change the Back/Forward keys to something else (I usually map them to PageDown/PageUp), as they have their own keycode (166 and 167): However, on my Thinkpad USB keyboard, the Back/Forward keys seem to be hard-mapped to Alt+Left and Alt+Right, respectively, so I c…

Error Output

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

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to remap the Back/Forward keys of a Thinkpad USB keyboard on Linux?

Low Risk

I put this in my .bashrc: works great, but doesn't seem to cut it in virtualbox 6 for some reason.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment