Re[3]: XFree86-cygwin KDE national keybord layouts

2003-02-22 Thread Alexander Gottwald
Lev Serebryakov wrote:

   Not from KDE, but from keyboard!
 
   Here are two situations:
 
   (1) twm + xterm (remote), XFree86-cygwin with config where group
   change is ctrl+shift (local).
   When I press ctrl+shift TWO things happens:
  (a) Windows' keyboard layout is being changed for XFree86 window -- it
  could be seen by changing letters on tray
  (b) XFree86 XKB's layout is being changed: xterm shows
  RUSSIAN letters on next keypresses.

I don't know how this could happen. XWin receives just the raw keycodes
with no symbol information. It's more like the 2nd key on the 3rd row was
pressed. This is translated into X11 keycodes and the XKB/modmap settings
produces symbols from these (eg. latin_a or cyrillic_ya or whatever)

I've just tried an found no such behaviour. The change of the keyboard
layout from windows had no effect on a running Xserver. Or did you mean
the layout changed after the server restart?

   (2) KDE with group change is ctrl+shift (remote), XFree86-cygwin with
   config where group change is ctrl+shift (local).
   When I press ctrl+shift ONE things happens:
  (a) Windows' keyboard layout is being changed for XFree86 window -- it
  could be seen by changing letters on tray
  
   KDE's (XKB) layout is not changed! But clicking on switch icon
   in KDE works!

   Or even better: I start xterm (without any WM), and ctrl+shift
   works, then I start `startkde' from xterm and when KDE loading is
   finished ctrl+shift doesn't work anymore. After that I'm logging out
   from KDE (only xterm still to be live) and ctrl+shift DON'T work!
 
   It seems, that KDE corrupt XKB config... But I have KDE configured
   to have Ctrl+Shift as group change!

Can you please run xev during this test and mail me the output?

bye
ago
NP: Apoptygma Berzerk - Ohm Sweet Ohm
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723



Re[3]: XFree86-cygwin KDE national keybord layouts

2003-02-21 Thread Lev Serebryakov
Hello, Alexander!
Friday, February 21, 2003, 8:35:40 PM, you wrote:

 AM |   KDE is configured for two keyboard layouts: English and Russian.
 AM |   I've configured `ctrl+shift' group toggle in KDE. But it doen't work
 AM |   -- it allows to switch layouts via clicing on flag icon on dock, but
 AM |   it doesn't do anything when I press ctrl+shift.
 AM |
 AM |   Is it problem of KDE or XFree86-cygwin or something else?
 AM Something else I think, if my memory doesn't fail me, MS Windows can't
 AM provide all the nifty keyboard-combinations (like C-S-[something])
 AM that are available under for example linux..
  Again: it works for twm+xterm (they are run from remote host too).
AG How can layout change from KDE work in twm, when KDE is not loaded?
  Not from KDE, but from keyboard!

  Here are two situations:

  (1) twm + xterm (remote), XFree86-cygwin with config where group
  change is ctrl+shift (local).
  When I press ctrl+shift TWO things happens:
 (a) Windows' keyboard layout is being changed for XFree86 window -- it
 could be seen by changing letters on tray
 (b) XFree86 XKB's layout is being changed: xterm shows
 RUSSIAN letters on next keypresses.
 
  (2) KDE with group change is ctrl+shift (remote), XFree86-cygwin with
  config where group change is ctrl+shift (local).
  When I press ctrl+shift ONE things happens:
 (a) Windows' keyboard layout is being changed for XFree86 window -- it
 could be seen by changing letters on tray
 
  KDE's (XKB) layout is not changed! But clicking on switch icon
  in KDE works!

  It is ONE server and ONE server's config.

  Or even better: I start xterm (without any WM), and ctrl+shift
  works, then I start `startkde' from xterm and when KDE loading is
  finished ctrl+shift doesn't work anymore. After that I'm logging out
  from KDE (only xterm still to be live) and ctrl+shift DON'T work!

  It seems, that KDE corrupt XKB config... But I have KDE configured
  to have Ctrl+Shift as group change!

  There is problem in KDE+Xfrtee86-cygwin pair, not in XFree86-cygwin
  itself.
AG Until proven otherwise I'd assume that _KDE_ does not react on the keypress.
AG As you wrote the layout change via clicking the icon does work, so the XKB
AG part is working.
  How could I prove my words? ;-)

   Lev Serebryakov
/---\
| FIDONet: 2:5030/661.0 |
| E-Mail:  [EMAIL PROTECTED]   |
| Page:http://lev.serebryakov.spb.ru/   |
| ICQ UIN: 3670018  |
| Phone:   You know, if you have world nodelist |
\===/