Open masugimyid opened 4 months ago
What DE are you using?
Could you also test in Wayland? Both using Lite XL under Xwayland, and with the environment variable SDL_VIDEODRIVER=wayland
set.
I have exactly the same problem as @masugimyid. The neo2 keyboard layout and remapped keys don't work. Setting SDL_VIDEODRIVER
results in the following (under Hyprland):
$ SDL_VIDEODRIVER=wayland lite-xl
Error getting window surface: Window framebuffer support not available⏎
$ SDL_VIDEODRIVER="wayland,x11" lite-xl
Error getting window surface: Window framebuffer support not available⏎
Error getting window surface: Window framebuffer support not available
This is an issue with the latest SDL release (see https://github.com/libsdl-org/SDL/issues/10155).
Can be worked around with SDL_RENDER_DRIVER= SDL_VIDEODRIVER=wayland lite-xl
.
Can be worked around with SDL_RENDER_DRIVER= SDL_VIDEODRIVER=wayland lite-xl.
Thank you! Lite XL starts up, but again it does not respect the configured XKB layout.
I use custom keyboard layout which map arrows to i j k l, home, end, page up and down to h ; u m, Remapped (non character) XKB keys dont do anything in lite-xl. It might have similiar problem with neo keyboard layout, which historically had similiar issues with vscode.
the custom keyboard respect XKB specs, so it works in any text area in browsers, or any native apps which considers XKB specs.
I dont really know if lite-xl considering XKB specs in its development, but remapped (non character) XKB keys dont do anything in lite-xl.
Maybe someone can explain how keys are processed ?
lite-xl and vscode side by side![image](https://github.com/lite-xl/lite-xl/assets/6264073/62500b9b-6f9d-4415-9dea-8c0a8b89bd03)
what it should be vscode![lite-xl](https://github.com/lite-xl/lite-xl/assets/6264073/45b35817-6632-463b-86a8-6e2403e38a7a)
text area![lite-xl-vs-micro](https://github.com/lite-xl/lite-xl/assets/6264073/77909a97-316f-4d6f-9a8c-9bca0fb5d490)
micro (terminal editor)![lite-xl-vs-micro-cli](https://github.com/lite-xl/lite-xl/assets/6264073/d7d39f07-8016-4420-a883-5b83137d560f)