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

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

Re: Using the `Win' key as `Ctrl' in Emacs?


From: Xiaoyong Jin
Subject: Re: Using the `Win' key as `Ctrl' in Emacs?
Date: Fri, 2 Jul 2004 02:43:37 +0800

On Thu, 01 Jul 2004 10:44:26 +0200
Kai Grossjohann <kai@emptydomain.de> wrote:

> Xiaoyong Jin <tootiny@163.com> writes:
> 
> > What I want is using the useless `win' key on the right. 
> > Could
> > some one tell me how to do this?
> >
> > I now use the xmodmap program to turn the Super_R key to the
> > control group.  And it can be use under most programs under X
> > but
> > Emacs.
> 
> You need to make the right 'flag' key into a control key, like
> so:
> 
> clear control
> clear mod4
> keycode 4711 = Control_R
> add control = Control_L Control_R
> add mod4 = Foo Bar
> 
> First, you say "xmodmap -pm" to see which modifiers Super_R
> appears
> in.  Above, I'm assuming it's mod4.  If Super_R is not mentioned
> in
> any modifier, then just omit the two lines mentioning mod4.
> 
> Secondly, you need to find out the keycode of the right 'flag'
> key,
> perhaps by running xev.  Above, I'm assuming the code is 4711.
> 
> That's what I use and it works well.
> 
> Kai
> 
> 
> 

Oh, yeah, it works amazingly.
It's handy to have control key in both hands.

And thank you all who offered me help.

-- 

Simple is the best.  ;-)


reply via email to

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