unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pietru@caramail.com
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Major opcode of failed request:  118 (X_SetModifierMapping)
Date: Sat, 9 Jan 2021 23:54:36 +0100	[thread overview]
Message-ID: <trinity-f8281c00-5dc7-491b-b7c8-b150074a8a2f-1610232876005@3c-app-mailcom-bs09> (raw)

I am using xmodmap and getting the following error in my terminal.  I use this
for use in emacs.  I use dvorak keyboard.

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:  23
  Current serial number in output stream:  23


--------

clear lock
clear mod4

keycode 37 = Hyper_L NoSymbol Hyper_L NoSymbol
keycode 105 = Hyper_R NoSymbol Hyper_R NoSymbol

!! Set Super Keys to Position of Caps_Lock
keycode 66 = Super_R NoSymbol Super_R NoSymbol

add mod3 = Super_L Super_R
add mod4 = Hyper_L

!! ======================================================================
!! Interchanging the Ctrl Key with the Alt Key and Meta Key

clear control
clear mod1
clear mod2

keycode 64 = Control_L NoSymbol Control_L NoSymbol
keycode 108 = Control_R NoSymbol Control_R NoSymbol

keycode 133 = Alt_L Meta_L Alt_L Meta_L
keycode 134 = Alt_R Meta_R Alt_R Meta_R

keycode 206 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 207 = NoSymbol Super_L NoSymbol Super_L

add control = Control_L Control_R
add mod1 = Alt_L Meta_L







                 reply	other threads:[~2021-01-09 22:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=trinity-f8281c00-5dc7-491b-b7c8-b150074a8a2f-1610232876005@3c-app-mailcom-bs09 \
    --to=pietru@caramail.com \
    --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).