I'm unsure how to swap these 2, this is the thought process I had but am unsure how to get it working:
remove sh = Shift_R
remove dl = Delete
keysym Delete = Shift_R
keysym Shift_R = Delete
add sh = Delete
add dl = Shift_R
This is based on the code I use to swap caps lock and control.
Any thoughts?
xmodmap output:
dan@lantea:~$ xmodmap -pke | grep Shift_R
keycode 91 = Shift_R NoSymbol Shift_R
keycode 119 = Shift_R NoSymbol Shift_R
dan@lantea:~$ xmodmap -pke | grep Delete
keycode 62 = Delete NoSymbol Delete
xmodmap -pke | grep Shift_R
andxmodmap -pke | grep Delete
commands. – Radu Rădeanu Dec 09 '13 at 20:16xmodmap -e "keycode 119 = Shift_L NoSymbol Shift_L"
. Is exactly the same thing. Maybe you have a problem depending on which keyboard layout are you using. – Radu Rădeanu Dec 09 '13 at 20:30