help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Change modifier keys


From: rustom
Subject: Re: Change modifier keys
Date: Sat, 30 Jan 2010 02:50:58 -0800 (PST)
User-agent: G2/1.0

On Jan 29, 2:51 pm, José A. Romero L. <escherdra...@gmail.com> wrote:
> On 29 Sty, 05:15, rustom <rustompm...@gmail.com> wrote:
> (...)
>
> > I also have a similar question:
> > I would like to swap control and capslock
> > I can do this and it works, however the keyboard capslock light
> > behaves as though this change is not made and is therefore misleading
>
> I use the following in my Xmodmap configuration for swapping capslock
> and escape (I'm a viper user):
>
> remove Lock = Caps_Lock
> keycode 66  = Escape
> keycode 9   = Caps_Lock
> add Lock    = Caps_Lock
>
> with this the capslock LED works as intended (ie. when pressing esc).
>
> Hope it helps,
> --
> José A. Romero L.
> escherdragon at gmail.com
> "We who cut mere stones must always be envisioning cathedrals."
> (Quarry worker's creed)

Thanks.
Since I prefer to use capslock as a second control and leave control
alone
Ive got (from http://www.paganini.net/index.cgi/linux/nocaps.html )

remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L

[I'll add this to the wiki if it seems right]


reply via email to

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