Sunday, December 09, 2012

VNC keymap swap

Ahhhhhhhhhh! (that's the choir of angels sound)

I switched to tightvncserver hoping that my vnc crashing will go away ::fingers crossed::

But as soon as I started using tightvncserver my emacs keys stopped working. When I would press CMD-X to get a command line, for example, I would see this error:

A-x is undefined

I searched for just that thing, and got nowhere. But somehow I stumbled onto this page in the Emacs manual of all places!! And here's what I learned -- and it worked!!

(setq x-alt-keysym 'meta)
(setq x-meta-keysym 'alt)

I put that at the top of my .emacs and now all is well again!!

P.S. Fingers are still crossed that my vnc stays up!

No comments: