[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Combining Ctrl + Super_l + ' (quote) does not work
From: |
Yarek Kowalik |
Subject: |
Re: Combining Ctrl + Super_l + ' (quote) does not work |
Date: |
Thu, 13 Nov 2008 13:49:42 -0800 (PST) |
User-agent: |
G2/1.0 |
Does anyone know how to trace key presses in emacs?
Yarek
On Nov 12, 3:09 pm, "Yarek Kowalik" <yarek.kowa...@gmail.com> wrote:
> I tried doing the "add" command with xmodmap (see below), and that didn't
> work.
> There are two comments on this:
>
> 1) the default xmodmap is identical between x86 and amd64 machines, yet the
> amd64 is not working. Doing xmodmap "add" does not help -- I even tried
> restarting emacs
>
> 2) note that Ctrl_R + *Super_L* + ' works fine, but Ctrl_L + *Super_L* + '
> does not. It's the left Ctrl with left Super that's not functioning.
>
> It's baffling. Any other thoughts?
>
> Yarek
>
> phoenix% xmodmap
> xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
>
> shift Shift_L (0x32), Shift_R (0x3e)
> lock Caps_Lock (0x42)
> control Control_L (0x25), Control_R (0x6d)
> mod1 Alt_L (0x40), Alt_R (0x71), Meta_L (0x9c)
> mod2 Num_Lock (0x4d)
> mod3
> mod4 Super_L (0x7f), Hyper_L (0x80)
> mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
>
> phoenix% xmodmap -e "add mod4 = Super_R"
> phoenix% xmodmap
> xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
>
> shift Shift_L (0x32), Shift_R (0x3e)
> lock Caps_Lock (0x42)
> control Control_L (0x25), Control_R (0x6d)
> mod1 Alt_L (0x40), Alt_R (0x71), Meta_L (0x9c)
> mod2 Num_Lock (0x4d)
> mod3
> mod4 Super_L (0x7f), Hyper_L (0x80), Super_R (0x74)
> mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
>
> On Wed, Nov 12, 2008 at 2:49 PM, Peter Dyballa <Peter_Dyba...@web.de> wrote:
>
> > Am 12.11.2008 um 21:26 schrieb Yarek Kowalik:
>
> > Any clue where I need to tweak to make this work?
>
> > You need to do it in X. The command 'xmodmap -pm' should print that both
> > control and both super modifiers have an equal meaning, although the system
> > can distinguish between them. Something like this should be shown:
>
> > xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
>
> > shift Shift_L (0x40), Shift_R (0x44)
> > lock Caps_Lock (0x41)
> > control Control_L (0x43), Control_R (0x46)
> > mod1 Mode_switch (0x42), Mode_switch (0x45)
> > mod2 Meta_L (0x3f)
> > mod3 Super_L (0x2a), Super_R (0x2f)
> > mod4
> > mod5
>
> > With xmodmap you can make your right and left modifier variants be "on the
> > same level." Xmodmap can use kind of a "script," a file ~/.xmodmaprc that
> > adjusts the details, which is invoked from ~/.xinitrc before the first X
> > client is launched.
>
> > GNU Emacs relies on X11.
>
> > --
> > Greetings
>
> > Pete
>
> > "We need a president who's fluent in at least one language."
> > – Buck Henry