From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Can I make a useless key an additional Ctrl? Date: Tue, 31 Mar 2009 21:00:21 +0200 Organization: Informatimago Message-ID: <87myb18qm2.fsf@galatea.local> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1238528487 8699 80.91.229.12 (31 Mar 2009 19:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2009 19:41:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 31 21:42:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LojrB-00086c-Il for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Mar 2009 21:42:45 +0200 Original-Received: from localhost ([127.0.0.1]:57363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lojpo-0007JO-2q for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Mar 2009 15:41:20 -0400 Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) Cancel-Lock: sha1:MzVjYmNkYzBjYmVlY2JkZmFhMjNmYzgwYmYyOTM5YmQ3MDljOGI1Ng== Original-Lines: 28 Original-NNTP-Posting-Date: 31 Mar 2009 21:00:22 MEST Original-NNTP-Posting-Host: 88.182.134.169 Original-X-Trace: 1238526022 news-2.free.fr 16297 88.182.134.169:54487 Original-X-Complaints-To: abuse@proxad.net Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!feed.ac-versailles.fr!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp8-2.free.fr!not-for-mail Original-Xref: news.stanford.edu gnu.emacs.help:168137 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63422 Archived-At: Oleksandr Manzyuk writes: > Hi, everybody! > > I apologize if my question does not belong to this mailing list. > > The keyboard of my laptop has a key that I do not use at all. How > come? Well, it is a Toshiba laptop purchased in Germany, so originally > it had a German keyboard, until I changed it to something looking like > a US keyboard by attaching stickers to keys. In the German layout > there was a separate key for < and > symbols; this key does not > correspond to any key in the US layout. When I press it now (having > chosen the US layout in Ubuntu keyboard settings menu) it does produce > < and >, and so do Shift-, and Shift-. (as it should be in the US > layout). The point is that this <> key is so conveniently located on > the right of the Space that it is very tempting to make it an > additional Ctrl key (my keyboard has no right Ctrl; having it would > make working with Emacs even more pleasant and satisfying). Do you > know if it is possible to remap this key to Ctrl? The potential > problem that I see is that it generates the code of the symbol <, and > I certainly don't want to lose this symbol (i.e., I don't want Shift-, > to behave as a Ctrl...). I'm a total ignoramus in these questions, so > maybe what I'm saying is stupid. Anyway, any help is appreciated! You can, by editing ~/.xmodmap ; google for xmodmap -- __Pascal Bourguignon__