-
List available keys
xmodmap -pk
-
Find key numbers, for my computer it's:
112 Prior <-> 110 Home
117 Next <-> 115 End
- Try to change keys
xmodmap -e "keycode 112 = Home"
xmodmap -e "keycode 110 = Prior"
xmodmap -e "keycode 117 = End"
xmodmap -e "keycode 115 = Next"
- For pernament change, write commands to file
~/.config/autostart/swap.desktop
and make this file executablechmod +x ~/.config/autostart/swap.desktop
Sources: