From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: xmodmap Date: Wed, 22 Jan 2003 09:27:18 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84n0lttwrd.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E2DEBA5.2070408@rogers.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043224401 17406 80.91.224.249 (22 Jan 2003 08:33:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2003 08:33:21 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18bGK0-0004Wc-00 for ; Wed, 22 Jan 2003 09:33:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bGHp-00044y-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 22 Jan 2003 03:31:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1043224094 27216613 134.91.35.216 (16 [73968]) User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:TbNVLsg6JUFKkn5TmgB1J5oxQbM= Original-Xref: shelby.stanford.edu gnu.emacs.help:109335 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5858 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5858 Paul O'Donnell writes: > I am trying to use the xmodmap untility to reconfigure my keyboard, > but I am not having success. As it is > > keycode 115 = Super_L > keycode 117 = Menu > > I want to changes these to be Alt_L and Alt_R respectively. So I did > the following at the command prompt. > > [paul@cpe024350002546 paul]$ xmodmap -e "keycode 115 = Alt_L" > > [paul@cpe024350002546 paul]$ xmodmap -e "keycode 117 = Alt_R" Before these two commands, you should do "xmodmap -pm" and look for the keysyms Super_L and Menu. Do xmodmap -e "clear mod3" if one of them is on mod3, and similar for other modifiers. Then do the keycode assignments. Then do xmodmap -e "add mod3 = sym1 sym2" to add the previous keysyms back to the modifier (except for Super_L and Menu, of course). -- Ambibibentists unite!