Keyboard hack
It’s not pretty, but it works.
The bug seems to be with the way that Gnome interfaces with the VNC server. There are a lot of different suggestions over the net to fix it. I have found one that works for me, but I will be trying the vnc4server one at some point.
Hugues Fournier posted a reply to Scrambled Keys in feisty ubuntu desktop which saves a working good keymap and then runs it in the Gnome session.
To do this you need to VNC in to your LXDE environment and run the command:
xmodmap -pke -display :1 > ~/xmodmap.map ( if your VNC display is :1 )
Then create a shell script in your filesystem containing:
#!/bin/bash
cat ~/xmodmap.map | xmodmap -
and chmod u+x it.
This is where I differ from Hughes’ instructions. You need to run this script while within the Gnome environment. For now, I have managed to use mouse control to edit the Menu. You can browse to the script and then enter anything as a name (you can tidy this later). Run the script from the menu and test. I will be looking at ways to auto-boot it later.
Skrrp's Android Blog