I just switched to opensuse from ubuntu. I used to switch BackSpace and backslash by xmodmap codes on ubuntu:
xmodmap -e "keycode 22 backslash bar"
xmodmap -e "keycode 51 BackSpace"
However, on Opensuse I get the following error:
xmodmap: commandline:1: bad keycode command (missing keysym list),
xmodmap: 1 error encountered, aborting.
I am just wondering what is wrong?
Thanks!
Or is there any other convenience way to remap keys? I use two different keyboards, one at home and one at work. I need to remap keys at work and then remap them back to default at home.