Linux Mastering Development Ubuntu

Remap right up arrow to shift does not work as expected

I’ve read the several questions regarding remapping keys and I found that to remap my right up arrow to a shift key would require:

xmodmap -e ‘keycode 111 = Shift_R NoSymbol Shift_R’
xmodmap -e ‘keycode 111 = Shift_R’
Giving me in fact two right shifts

However in Ubuntu 20.04 on my Tuxedo laptop, this has the effect of deactivating the up arrow feature not to remap it to shift.

So typing right up arrow u gives me a u.

Can anyone see what is going wrong ?

Thanks in advace.

Leave a Reply

Your email address will not be published. Required fields are marked *