Is there a way that I can bind Alt+j to be translated to Left arrow key so that the OS interprets this exactly as if it were a Left key?

So far it seems to be impossible without a programmable keyboard, but I'm not losing hope.

The lowest level I have got to is binding xvkbd -xsendevent -text '\[Left]' to Alt+j. It works seamlessly almost in any context besides some web pages like Youtube or this one. It seems that they know it's not actually the Left key that is pressed and make it laggy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.