What would be a better way to use Win+arrows combination as aliases for some other keys?

With using hotkey + input simulation, the problem is that modifier is usually still held down when key hit is simulated, and thus it gets processed differently (usually — ignored) by most applications.

I did find one solution for that (see ompldr.org/vN2U3MA/pgrebind.tar for example files), but there is still two problems:

First, either the modifier has to be pressed for each arrow press, or (in scripts above) there is a chance that it will be considered by the system as pressed if the key was immediately released.

Second, it is slow.

So, is it possible to do this better? Is there something that can be used already (xkb doesn't seem to be able to do such), or how hard it would be to wrute such?

link|improve this question
1  
I use Win+arrows to switch virtual desktops. The "Windows" key is a meta key, usually mapped to Super. You have to hold it just like shift or Ctl. I'm not sure what the rest of your question is talking about. – Keith Feb 12 '11 at 11:45
My question is talking about what those scripts by the link do, but without those problems :( – HoverHell Feb 17 '11 at 5:31
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.