all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: xmodmap (
Date: Wed, 11 May 2011 21:20:48 -0500	[thread overview]
Message-ID: <J9ydndjEecRy3lbQnZ2dnUVZ_gydnZ2d@sysmatrix.net> (raw)
In-Reply-To: <87k4dwlvax.fsf@puma.rapttech.com.au>

Tim X wrote:
> "B. T. Raven" <nihil@nihilo.net> writes:
> 
>> rusi wrote:
>>> No idea if this works... Still
>>> https://help.ubuntu.com/community/LaptopSpecialKeys
>>>
>>> [Id be interested to know if it does]
>> Thanks for the link. It's a little over my head but I'll give it a try.
> 
> Have you tried using the xev program to see what keycodes and mappings
> are being used? Also worth verifying the key sequence is not being
> 'stolen' by the window manager etc. 
> 
> Tim
> 

Thanks, Tim. Yes, the xev monitor or whatever it is, is not problematic.
It even shows why keycode 151 (Fn key on Thinkpad 42) can't be used as a
mod key. If Alt or Ctl is held down the state is held as long as it is
held down but the Fn key immediately changes state while held down and
returns that second state to X as the x event (presumably combined with
some other key). What I don't understand is what mod keys should be
associated with mod1, mod2, etc. The problem below is probably that Lock
is cleared and then not added in the second group of lines:


clear Lock
    clear Control
    clear Mod1
    clear Mod2
    clear Mod3
    clear Mod4
    clear Mod5

    add    Shift   = Shift_L    Shift_R
    add    Control = Control_L    Control_R
    add    Mod1    = Mode_switch
    add    Mod2    = Meta_L        Meta_R
    add    Mod4    = Hyper_L    Hyper_R
    add    Mod5    = Super_L    Super_R

I don't think Gnome is messing with these keys but I don't know enough
about it to be sure.

Ed


  reply	other threads:[~2011-05-12  2:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07 22:45 Disabling nxml-mode Peter Flynn
2011-05-08 19:24 ` Luuk
2011-05-08 21:45   ` Joe Kesselman
2011-05-08 21:46     ` Joe Kesselman
2011-05-08 21:46     ` Joe Kesselman
2011-05-09 18:26       ` Luuk
2011-05-09 20:12 ` William F Hammond
2011-05-10 11:23 ` Xah Lee
2011-05-10 17:15   ` B. T. Raven
2011-05-10 19:16     ` Xah Lee
2011-05-11  2:03       ` B. T. Raven
2011-05-11  4:05         ` rusi
2011-05-11 20:38           ` xmodmap ( was:: Disabling nxml-mode) B. T. Raven
2011-05-11 22:35             ` xmodmap ( Tim X
2011-05-12  2:20               ` B. T. Raven [this message]
2011-05-11  4:17         ` Disabling nxml-mode Xah Lee
2011-05-10 23:02   ` Joe Kesselman
2011-05-10 23:11     ` John Bokma
2011-05-11 20:24   ` Peter Flynn
2011-05-10 20:42 ` Peter Flynn

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

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

  git send-email \
    --in-reply-to=J9ydndjEecRy3lbQnZ2dnUVZ_gydnZ2d@sysmatrix.net \
    --to=nihil@nihilo.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.