Workaround for VST window keyboard midi focus problem on Linux

I’ve made a very simple script to help with the problem where when you’re focused on the VST window on Linux you can’t play midi notes with the keyboard.

It requires python and the sendmidi application to be installed. By default it sends messages to “Renoise MIDI in Port A”

Basically it reads codes directly from the /dev/input in your system. You have to change it in the script to your keyboard path.

You “chmod +x” it and run it as sudo, and press F12 to toggle enabling it.

All these details are inside the code:

I hope it’ll be helpful. If anyone needs some fixes for it or additions let me know.

I’ve noticed there’s another one below! Sorry for the double. Mine works a bit differently so maybe it will also be useful.

1 Like