Il 01/02/2011 01:21, Pavel Sanda ha scritto:
Pavel Sanda wrote:
it does not affect 5,6 which still fails.
part of the problems come to the fact that you hardcode keybindings for
lang it_IT.utf8 and script doesn't not change UI lang here at all...
If I don't set Lang, then perhaps it is "E&xtended" (us) instead of
"E&stese" (it), and the key sequence fails to achieve the purpose.
Concerning the crazy monkey typing outside of the LyX window, I just
enjoyed finding a patch to xvkbd that would serve the purpose (attached,
refers to xvkbd-3.2). The problem is that the program falls back to
typing into the Root window if it does not find a matching window. Also,
I was drafting a patch to it in order to match selectively with the
application class (through a separate -windowclass option), instead of
the generic title (which is leading to the potential match with
Thunderbird or Firefox while you're seeing LyX-related contents). It
seems nobody except myself in the world would need such a weird
behavior(s) of this program.
T.
--- xvkbd.c 2010-03-14 10:06:28.000000000 +0100
+++ xvkbd-safe.c 2011-02-01 01:29:53.868035442 +0100
@@ -3521,6 +3521,7 @@ int main(int argc, char *argv[])
appres.window);
if (focused_window == None) {
fprintf(stderr, "%s: no such window: %s\n", PROGRAM_NAME, appres.window);
+ exit(-1);
}
}
}