I run a Danish keyboard layout in Lubuntu 14.04.3. The 2 key is malfunctioning (hardware problem). I wish to replace its use by the key F2. The F2 key value (i.e., the F2 key-press event) will then cease to be available.
This way, the result I need will do as follows:
Pressed key(s) -> Resulting character F2 -> 2 Shift + F2 -> " Alt + F2 -> @
I am not adequately proficient in Ubuntu, Lubuntu and Linux in general, and despite learning a moderate, but not sufficient, amount of
openbox, along the way, I have not been able to remap F2 as a replacement for the 2 key in Lubuntu for my keyboard. How can I do this?