[solved] Renoise on wine: strange broken keyboard layout?

Hi guys, thanks for your pointers!

I already used to use this for bridging win VSTi under linux:

https://forum.renoise.com/t/windows-32bit-and-64bit-support-on-linux-with-vst-bridge/38683

https://github.com/abique/vst-bridge

But thank you for the pointers, I will give the other two a look!

For my actual problem: I found a solution. Inspired by this post: https://linuxconfig.org/reprogram-keyboard-keys-with-xmodmap I had a look at

xmodmap -pke

and found this:

...
keycode 29 = y Y z Z leftarrow yen
...
keycode 52 = z Z y Y guillemotright U203A
...

Following the instructions from above post, I created a file “swapkeys” in my home directory, containing

keycode 29 = y Y y Y
keycode 52 = z Z z Z

and executed

xmodmap ~/swapkeys

and voila, renoise’s keyboard in wine is working. Because I use playonlinux to manage wine sessions, I put this as a script into the renoise shortcut.

As it seems, renoise extracts the mapping from laptop-keyboard to note-keyboard from the first entry of the xmodemap configuration.

EDIT: Well, renoise does not extract its keyboard mapping from xmodmap directly, but the changes affect the variables, where renoise does extract from, whatever they may be…

A less hacky way of fixing the problem seems to be the following:

  1. add an EN keyboard, e.g. US, as additional keyboard layout in desktop keyboard layout manager

  2. make sure it is the first configuration in the list

  3. apply

  4. change configuration via icon in status-bar to your desired configuration

Example from kubuntu:

Which results in:

...blabla...
keycode 29 = y Y z Z leftarrow yen
...bla...
keycode 52 = z Z y Y guillemotright U203A
...bla...

Which strangely is the same in your xmodmap config, but renoise works as expected and typing works as you prefer.

Cheers, catchphrase