Custom keyboard layout asciitilde does not work

Hi,

I have swapped backspace key with ` (grave) key. So I added a layout in the /usr/share/X11/xkb/symbols/us with the following lines:

key <TLDE> {     BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
key <BKSP> {         grave,   asciitilde,      dead_tilde,       asciitilde ] };

Now the backspace and grave work well, but when I press shift + grave (previously backspace key), I get grave, not asciitilde.

This is strange because I tried the same thing (with the same us file) with Chakra linux and it worked without any problem.

Where should I look for?

Thank you,
-Joon

I reconfigured several keys successfully a few months back and wish I could remember all the steps now to give more help. But I do remember that it wasn’t as simple as what you did but involved writing a new “.Xmodmap” file. Best to do a google for “xmodmap”…

Thanks for the reply. The thing is, as I said in my post, that it works without any problem in Chakra linux. Also I remember it worked in openSUSE 11.3. So it seems there is a bug regarding this.

-Joon