Posted by Kelvin on 12 Nov 2013 at 06:54 pm | Tagged as: Ubuntu
On my Lenovo T530 laptop, the PgUp and PgDown keys are right next to the arrow keys, which makes for very smooth code navigation. Unfortunately, the Home and End keys are far away, above the Backspace key to be precise.
Here's how to map Alt + PgUp -> Home and Alt + PgDown -> End in Ubuntu using xbindkeys.
Now paste the following into ~/.xbindkeysrc.
Then start xbindkeys. You may need to add xbindkeys to the list of startup applications.