Once upon a time I have hacked /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file in order to make typing Polish national characters easier using hardware keyboard. Namely, I&#39;ve managed to work around Fn-&gt;Ctrl key sequence to disable on-screen keypad to appear and use Fn+Ctrl+letter combination to get a Polish character directly from hw keyboard. [1]<br clear="all">

<br>Anyway, this solution isn&#39;t ideal and I&#39;m looking a way to improve it a little. Currently, to type &quot;ą&quot; letter I need to press rather awkward Fn+Ctrl+A key combination at the same time. What I&#39;d like to be able to do is to type a *sequence* of keys instead, so Fn-&gt;Ctrl-&gt;A = ą. Simple question: how to do that? :)<br>

<br>My implementation of rx-51 file [2] is using &quot;Group2&quot; mode to store table of Polish special chars (see line #88 onwards) and Fn-Ctrl combination triggers Mode_switch (see line #504), which puts keyboard into Group2. That works ok but it seems that I have to press Fn+Ctrl *simultaneously* to use Mode_switch, while I&#39;m looking for a sequence of key presses to do that. It is somehow possible, as originally Fn-&gt;Ctrl sequence was triggering on-screen keypad (known as &quot;Multi_key&quot; in rx-51 file).<br>

<br>Are there any input method hackers flying with us and could shed a light on possible solution? That would be greatly appreciated.<br><br><br>[1] <a href="http://blog.adl.pl/polish-hardware-keyboard-layout-for-nokia-n900/400">http://blog.adl.pl/polish-hardware-keyboard-layout-for-nokia-n900/400</a><br>

[2] <a href="http://blog.adl.pl/wp-content/uploads/2009/12/rx-51">http://blog.adl.pl/wp-content/uploads/2009/12/rx-51</a><br><br>-- <br>Dawid &#39;evad&#39; Lorenz * <a href="http://adl.pl">http://adl.pl</a><br><br>null://google &#39;no evil&#39; mail has taken away my random signatures<br>