From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Xmodmap struggles Date: Fri, 28 Jan 2011 22:13:05 -0500 Organization: A noiseless patient Spider Message-ID: References: <4ebfbd69-0ace-40e8-ab89-831a88130867@z3g2000prz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296272449 7670 80.91.229.12 (29 Jan 2011 03:40:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Jan 2011 03:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 29 04:40:45 2011 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.69) (envelope-from ) id 1Pj1g1-000202-VW for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jan 2011 04:40:42 +0100 Original-Received: from localhost ([127.0.0.1]:48470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pj1g1-0003BA-2G for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jan 2011 22:40:41 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Injection-Info: mx03.eternal-september.org; posting-host="jHG/q4CDuHQ12inYDCpZIQ"; logging-data="29446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18sHC78bDeVP77eNxvdRycjbko66rqZ73s=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:COXKHSzE3R5Q7q16HoZxOJXNeiI= sha1:SIYA9GB1WFcIDDRf0lRgOycvIKU= Original-Xref: usenet.stanford.edu gnu.emacs.help:184670 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:78824 Archived-At: Tyler Smith writes: > rusi writes: > >> Trying to change Alt key behavior >> On a friends machine >> $ xmodmap .Xmodmap >> >> works but on mine I get >> >> X Error of failed request: BadValue (integer parameter out of range >> for operation) >> Major opcode of failed request: 118 (X_SetModifierMapping) >> Value in failed request: 0x17 >> Serial number of failed request: 15 >> Current serial number in output stream: 15 > > Try running xev on your machine. I suspect the keycodes are different on > the two machines, and you're using the wrong ones for your keyboard. Yep, been there done that, etc. xmodmap -pm xmodmap -pk and xev are the main tools used to conquer keymap issues. Grep along with xmodmap helps too. In the OPs case, he had a clear for one modifier and not the other. One of the things to investigate. Of course, this is not a gnu emacs issue so sorry about that...