unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Javier <nospam@nospam.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using AltGr as standard modifier key in emacs
Date: Tue, 13 Oct 2015 18:43:39 +0000 (UTC)	[thread overview]
Message-ID: <mvjjcr$5g0$1@speranza.aioe.org> (raw)
In-Reply-To: mvjhvo$26u$1@speranza.aioe.org

> Typing this in a terminal should do the trick
> 
> xmodmap -e "keycode 108 = Hyper_L" ; xmodmap -e  "add mod4 = Hyper_L"
> 

Oops, it turns out to remap rightAlt the sequence is

xmodmap -e "clear mod1" ; xmodmap -e "add mod1 = Alt_L Meta_L" ; xmodmap -e "keycode 108 = Hyper_R" ; xmodmap -e "add mod3 = Hyper_R"

http://stackoverflow.com/questions/28527938/xkb-configuration-for-emacs

I assumed keycode 108 is the keycode for right alt, which should
be ok for a modern pc-keyboard.  You can check the keycode number with xev.



  reply	other threads:[~2015-10-13 18:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.229.1444746928.7904.help-gnu-emacs@gnu.org>
2015-10-13 16:57 ` Using AltGr as standard modifier key in emacs Rusi
2015-10-13 17:05   ` Rusi
2015-10-13 17:44     ` Shahab Shahsavari Alavidjeh
     [not found]     ` <mailman.256.1444758367.7904.help-gnu-emacs@gnu.org>
2015-10-13 18:19       ` Javier
2015-10-13 18:43         ` Javier [this message]
2015-10-13 19:42           ` Shahab Shahsavari Alavidjeh
     [not found]           ` <mailman.265.1444765466.7904.help-gnu-emacs@gnu.org>
2015-10-13 20:17             ` Javier
2015-10-14  5:18               ` Shahab Shahsavari Alavidjeh
2015-10-13 19:20         ` Shahab Shahsavari Alavidjeh
2015-10-13 13:11 Shahab Shahsavari Alavidjeh
2015-10-14  6:05 ` Yuri Khan
2015-10-14  6:47   ` Shahab Shahsavari Alavidjeh
2015-10-14  9:54   ` tomas
     [not found] ` <mailman.289.1444802784.7904.help-gnu-emacs@gnu.org>
2015-10-14 12:17   ` Rusi
2015-10-15  1:47     ` Rusi
2015-10-15  2:23       ` Yuri Khan
     [not found]       ` <mailman.347.1444875907.7904.help-gnu-emacs@gnu.org>
2015-10-15  2:42         ` Rusi

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='mvjjcr$5g0$1@speranza.aioe.org' \
    --to=nospam@nospam.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).