From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Ottaway Newsgroups: gmane.emacs.help Subject: Re: Using the `Win' key as `Ctrl' in Emacs? Date: Fri, 18 Jun 2004 11:44:02 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87d63x87t9.fsf@lse.ac.uk> References: <20040616222510.230014f5.tootiny@163.com> <20040618004337.07e5e13a.tootiny@163.com> <20040618162341.45ebb4f1.tootiny@163.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087557459 29603 80.91.224.253 (18 Jun 2004 11:17:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2004 11:17:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 18 13:17:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BbHND-0000Lt-00 for ; Fri, 18 Jun 2004 13:17:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbHOJ-0006fC-1O for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Jun 2004 07:18:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbHOB-0006eD-Ar for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 07:18:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbHO9-0006dW-C1 for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 07:18:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbHO8-0006dE-Sw for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 07:18:28 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BbHMo-000262-47 for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 07:17:06 -0400 Original-Received: from [212.74.114.37] (helo=mk-smarthost-1.mail.uk.tiscali.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1BbH4H-0006Mf-PW for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 06:58:00 -0400 Original-Received: from ppp-0-72.lond-a-1.access.uk.tiscali.com ([80.225.196.72]:1071 helo=runcible) by mk-smarthost-1.mail.uk.tiscali.com with esmtp (Exim 4.30) id 1BbGyx-000G7O-Qk for help-gnu-emacs@gnu.org; Fri, 18 Jun 2004 11:52:28 +0100 Original-Received: from jeho by runcible with local (Exim 3.35 #1 (Debian)) id 1BbGqo-0000nb-00 for ; Fri, 18 Jun 2004 11:44:02 +0100 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <20040618162341.45ebb4f1.tootiny@163.com> (Xiaoyong Jin's message of "Fri, 18 Jun 2004 16:23:41 +0800") User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.2 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18984 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18984 >>>>> Xiaoyong Jin writes: > Yes, I've used xmodmap. I tried this: > xmodmap -e "add control = Super_R" I have this xmodmap -e 'keycode 116 = Control_R' xmodmap -e 'add Control = Control_R' which works for me for all applications (keycode obtained using xev); perhaps this would work for you too? -- Jim Ottaway