marchellow
Posts: 1
Joined: Fri Aug 22, 2014 11:21 pm

Keyboard mapping. SSH, VNC

Fri Aug 22, 2014 11:29 pm

Hi,

I'm trying to use special characters like [ brackets ], { curly braces } when logged in through SSH to the Pi. After login I am able to write those special characters to the console, but after starting a VNC session I could not. I'm over through several tutorials and articles, modifying config files, etc... however it doesn't work for some reason...
Thanks for your help!

Regards,
marchellow

dgordon42
Posts: 788
Joined: Tue Aug 13, 2013 6:55 pm
Location: Dublin, Ireland

Re: Keyboard mapping. SSH, VNC

Tue Aug 26, 2014 1:41 pm

Are you using PuTTY to SSH into your Pi?
After much googling, I managed to solve a similar problem with PuTTY by changing
the Connection -> Data -> Terminal-type string setting from the default setting of
"xterm" to "putty".

Hope this helps,

Dave.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Keyboard mapping. SSH, VNC

Wed Aug 27, 2014 12:07 am

Not had that problem myself, but does http://www.raspberrypi.org/documentatio ... ard-layout help?

User avatar
jojopi
Posts: 3233
Joined: Tue Oct 11, 2011 8:38 pm

Re: Keyboard mapping. SSH, VNC

Wed Aug 27, 2014 5:56 am

The SSH protocol sends ASCII codes, so it just uses the keyboard layout of the client computer.

VNC sends press and release events for physical keys. If the keyboard layout is different between the server and client, it needs to translate. That even includes producing phantom Shift and AltGr presses or releases where individual symbols are in different places between layouts.

Which VNC server and client software are you using?

It may help to set the local keyboard layout on the Pi to match that on the client computer. Note that you must have a USB keyboard plugged into the Pi when you change the layout, even if you are running raspi-config over SSH.

Return to “Beginners”