texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Re: [TeXmacs] Re: Modifier mapping suddenly broken?


From: Lionel Elie Mamane
Subject: [Texmacs-dev] Re: [TeXmacs] Re: Modifier mapping suddenly broken?
Date: Wed, 1 Dec 2004 15:37:09 +0100
User-agent: Mutt/1.5.6+20040907i

On Wed, Dec 01, 2004 at 03:27:44PM +0100, Norbert Nemec wrote:

> What I have discovered so far, is that my xmodmap is different from Lionel's:

>  mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
>  mod4        Super_L (0x7f),  Hyper_L (0x80)

> Testing via xev shows, that the Win-key (which used to act as M- in
> TeXmacs) is actually represented by "Super_L".

Then that key is Super_L and your xkb config should be changed to make
it Meta_L.

> (All of this on a Debian system 

Debian woody, Debian sarge, Debian sid? What version of xlibs? Was
this version already installed when you last restarted your X session
(or used setxkbmap)?

> without any personal changes to the configuration.)

Then, the Flag key is not meta, this is "normal". The (IMHO very
broken, but that's another discussion) default is that the Alt key
acts as Meta. You need to add the "altwin:left_meta_win" option to
your xkb config. Do you know how to do that?

What is your xkb config now (so that I can try to reproduce your
situation)?

> Am Dienstag, 30. November 2004 21:35 schrieb Lionel Elie Mamane:
>> On Tue, Nov 30, 2004 at 08:00:00PM +0100, Joris van der Hoeven wrote:
>>> Please try to replace the routine

>>> (define (get-default-hyper-modifier)
>>>   (let ((s (eval-system "xmodmap | grep Hyper_L")))
>>>     (cond ((string-starts? s "mod")
>>>     (string-append "Mod" (substring s 3 4)))
>>>    (else "Mod3"))))

>>> in kbd-config.scm by

>>> (define (get-default-hyper-modifier*)

>>> (define (get-default-hyper-modifier)
>>>   (with s (get-default-hyper-modifier*)
>>>     (if (= s (get-default-meta-modifier)) "Mod3" s)))
> >
>> It works with "(if (equal? s (get-default-meta-modifier)) "Mod3" s)))"

>> Meta is recognised as Meta now. And Alt as Alt. Works.

-- 
Lionel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]