[Y-devel] Key mappings
Rupert Mazzucco maz at ap.univie.ac.at
Thu Feb 26 17:23:32 GMT 2004
On Fri, 27 Feb 2004, jartur wrote:
> [...] I need UK/cyrillic/western/hebrew/tonical greek/etc. switching
> on the fly. [...]
That's exactly the situation I mentioned in a previous post.
> I think it's the best to have two key combinaions : [...]
This is not "best", but the ugly kludge of the kind that is
typically required to get anything to work under X.
What you *really* want is a special key that pops up a menu from
which you select the keymap you want. What you might also want is
another special key that displays the current layout, in case you
forgot where your keys are. The special keys could be replaced
by easily accessible items in some root menu.
Your Meta+Ctrl+Shift groups may work for you, but just imagine
you invite a guest over and have to explain how he can find his
characters. And I'm not talking about a fellow geek who is all
excited by the occasion to learn some key combinations he will
never again need in his life.
> And I'm sure that charmap (layout) must rely on focus. Because if you
> have three or four languages, you will be very tired to switch them by
> the key combinations in case of many windows opened in different langs.
Obviously the other situation - that someone has multiple windows
open and wants the same keymap in all of them, but still change it
frequently - can arise as easily.
If the change of keymap could be attached to normal events, both
wishes could be fulfilled. You could set up your, say, editor windows
so that they each change to some specified keymap when they get focus.
Or they don't attach a keymap change action to their focus event and
live with whatever keymap happens to be defined on the root window.
Regards,
Rupert
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved