[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac Apple/Command key on linux (or even just "Command-key in emacs

From: Xah Lee
Subject: Re: Mac Apple/Command key on linux (or even just "Command-key in emacs on linux")
Date: Thu, 27 Dec 2007 04:48:43 -0800 (PST)
User-agent: G2/1.0

if i understand you correctly... you want to use your mac to connect
to a remote linux server (using the local terminal app), and invoke
the remote emacs in the terminal?

in that case, i don't think remaping keys on the linux or rebinding
keys within the remote emacs is what you want.

i think to achieve what you want, is probably to remap the key on your
mac or terminal app.

I have written several articles on this... i think it'll be helpful:

★ How To Avoid The Emacs Pinky Problem

★ A Ergonomic Keyboard Shortcut Layout

The above 2 are general advices. Following are some essays that
address how to remap keys:

★ Mac OS X Keybinding
(this shows you the system-wide general mechanism on remaping keys on
mac os x.)

★ How to Define Keyboard Shortcuts in Emacs

★ How to Swap Modifier Keys on OS X

I think the last one is really what you need.

But if you really want is swapping modifier keys on a linux machine,
your solution is xmodmap. I'm guessing there's GUI buildin in most
linuxes that does this... but if not, you can “man xmodmap” or see a
sample file here

there are lots resoures on the web about how to use xmodmap.


On Dec 26, 11:57 am, Livin Stephen <address@hidden> wrote:
> I own and use a PowerBook G4.
> Also, I'm an emacs user, and to save my pinky a lot of grief I use the
> Command key () as the Ctrl key within emacs. This works fine when
> using my local (powerbook) installation.
> However, for work, I need to connect to linux servers using VNC. The
> emacs installation I have running at work (being on linux) doesn't see/
> recognise the command-key.
> I'd like to know how the keyboard's Command Key can be mapped to Ctrl
> on linux. Either using the linux OS or even just variables/options
> within emacs-on-linux.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]