On Tuesday 17 August 2004 18:35, Tzafrir Cohen wrote: > On Tue, Aug 17, 2004 at 01:24:48PM +0300, Nadav Har'El wrote: > > On Tue, Aug 17, 2004, Ira Abramov wrote about "Re: [OT] Is MS friendlier than Linux ?": > > > just this week we discussed how to have alt-shin be mapped to alt-A, > > > and the answer was "very simple, just fix the xmodmap". I always freak > > > out when I'm writing in English in one window and some szlob in an ICQ > > > window wants me to write him in Hebrew. since the keyboard mapping is > > > global and nor per-window I always slip up and enter the wrong language > > > in the wrong window. annoying. > > > > > > I think that until such small annoyances are resolved in X, > > > > I also find this very annoying. > > > > About a year ago I suggested on this list (I think) that this feature is > > important, and to do it you don't need to change X. All you need to do is > > write a seperate X program, call it (say) a "Keymap manager", which will > > follow keymap changes events and focus change events (and perhaps more > > similar events), and remember which keymap each window wants, and switch > > keymaps whenever the "current window" changes. > > I tried fiddling with this a while ago. It seems that it can't be done > by an external client and must be done by the window manager. Currently > the only WM that implements it AFAIK is WindowMaker.
Theres is a software called kkbswitch which does exactly that: it monitors window change and remembers the current group you used last in each window and selects the proper group when you switch windows. unlike the builtin KDE funcionality it does not reload the keyboard layout (which could be anoying if you have one english layout and one english+hebrew layout where english is the default: you then always get the english group when you switch to a window where you last typed hebrew). It offers a user interface through a system tray icon but I'm not sure if its a freedesktop.org tray icon or a KDE only one. I also never tried to use it with anything but KDE (for which it was built). -- Oded ::.. University, n.: Like a software house, except the software's free, and it's usable, and it works, and if it breaks they'll quickly tell you how to fix it, and ... ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]