0

I would like to set the right Alt key as a Page up key.

Currently I have the following set which gets half of what I want done.

key <MENU> { [ Next ] };

I have tried xmodmap and it doesn't work for reassigning the right alt key.

Thank you!

abu_bua
  • 11,313
William
  • 936

1 Answers1

2

For newer versions of Ubuntu, Xmodmap works but after you reboot, you lose your keymappings! Instead what I did was to edit the xbd file (/usr/share/X11/xkb/symbols/pc).

In this case you would add the following entries:

key <FK09> { [Print] };
key <FK10> { [Scroll_Lock] };

Then clear the xkb settings cache:

rm -rf /var/lib/xkb/*

After a reboot your keys are mapped corectly. If you need more help with this see my post on remapping keys in Ubuntu 15.04