Andre Poenitz wrote:
>
> > I want to be able to run my English keyboard as is in most applications,
> > and simultaneously be able to do Arabic/Farsi/etc in LyX.
>
> <aol>
> me too
> </aol>
>
> But I also understand it is not The Right Thing and creates a lot of
> troubles for LyX...
>
> I think the situaton is even a bit more complicated. Sometimes I want to
> use a German and an English key mapping in different places in the same
> document. The current situation is pretty nice for this: Simply change
> keymaps within LyX.
>
> I don't know whether it is possible to change the keymap that X uses from
> within an application only for this application and mabe only for a limited
> time (shorter than the lifetime of the app). Anybody with more insight?
No, as I know, it isn't possible. The keyboard mapping
is X-Server global. Changes to it are possible with
the xmodmap client and all X-clients get an
UnmapNotify/MapNotify notify event if the keyboard
is changed.
Stephan
------------------------------------------------
<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-62 | Landsberger Allee 366
fax: +49 30 549932-21 | 12681 Berlin, Germany
------------------------------------------------