Archive

Posts Tagged ‘PgDn’

Remapping PgUp and PgDn Keys

May 8, 2019 Leave a comment

Problem:
PgDn/PgUp keys are too close to Left, Right arrow keys. They end up getting pressed unintentionally.

Solution:
Remap PgDn and PgUp to right and left arrow keys respectively.

Added this to the end of my .zshrc file.
# Disable pgdwn and pgup. Make the map to the arrow keys instead.
/usr/bin/xmodmap -e "keycode 112 = Left"
/usr/bin/xmodmap -e "keycode 117 = Right"

Source:
https://stackoverflow.com/questions/46316946/dell-xps-9395-disable-pgup-pgdwn-keys
https://askubuntu.com/questions/296155/how-can-i-remap-keyboard-keys

Advertisements
Categories: Interesting Tags: , , , ,