How to set the keymap?
I've been searching the wiki and the internet up and down how to set a keymap under linux that is recognized by arcan & pipeworld. How do I achieve this?
Take a look here: https://www.github.com/letoram/pipeworld/tree/master/pipeworld%2Fdevmaps%2Fkeyboard%2FREADME.md
Changing the default.lua keymap script should change the default keymap that pipeworld uses after restarting it.
The layout cipharius referenced is mainly for patching (or automatic translation from another layout format).
There is also a 'base' keymap that is inherited from whatever platform you are running. When using SDL2 for running inside another windowing system you get one set that your windowing system defines.
When using egl-dri (assuming libxkbcommon was present when compiled), you have the XKB_ set of environment variables: XKB_DEFAULT_RULES, XKB_DEFAULT_MODEL, XKB_DEFAULT_LAYOUT, XKB_DEFAULT_VARIANT, XKB_DEFAULT_OPTIONS). In recent builds those can be swapped at runtime, but the commands have not been added to pipeworld yet.
Well currently I'm starting arcan with pipeworld from lightdm (I tried with arcan-wayland but that somehow didn't work). The XKB_DEFAULT_LAYOUT is set to my keyboard language and recognized on other WMs. I'll try to find out about the sdl2 base keymap.
Which distribution and arcan build? (arcan -V) arcan-wayland is for running wayland or x-over-xwayland clients (e.g. arcan-wayland -exec-x11 chromium).
Void Linux and the version says 0.6.0
OK, that explains it -- there was a bug back then that prevented the environment variables from working. It is fixed in master since a while back, but we haven't drafted a new release (perhaps a month away). Since this is in the pipeworld repository, do note from the README.md that pipeworld relies on very recent builds, it is used to drive arcan core feature developments onward.
Ok. Does that mean I'd have to git pull the current pipeworld or do I have to wait on the new arcan release? (Or both?)
Wait on the new arcan release or build arcan from source.