I have a Lenovo Thinkpad T420 with a Brazilian ABNT keyboard layout. This is a rather unique layout where the slash is between the context menu key and the arrow keys.
However, the slash key does not work! How could I make it work?
I solved it (in part) by adding the following line in
Actually, I replaced the line
Unfortunately, the key still does not work at the text terminals. However, since I use (most of the time) the GNOME Terminal instead of the pure text ones, it is a minor nuisance because it works in the terminal emulator.
(If you do not get it working yet, or need to type slash in the text terminal, you can press AltGr+W too.)
I have the same Lenovo notebook with the BR ABNT keyboard. I was able to fix the slash key for text terminals.