unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: Xmodmap struggles
Date: Fri, 28 Jan 2011 22:13:05 -0500	[thread overview]
Message-ID: <icpqrgh072.fsf@verizon.net> (raw)
In-Reply-To: mailman.2.1296254991.4299.help-gnu-emacs@gnu.org

Tyler Smith <tyler.smith@eku.edu> writes:

> rusi <rustompmody@gmail.com> 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...



  parent reply	other threads:[~2011-01-29  3:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28  7:18 Xmodmap struggles rusi
2011-01-28 22:49 ` Tyler Smith
     [not found] ` <mailman.2.1296254991.4299.help-gnu-emacs@gnu.org>
2011-01-29  3:13   ` despen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-01-28 23:17 darthemacs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=icpqrgh072.fsf@verizon.net \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).