oni2
oni2 copied to clipboard
NULL data at keyboard-layout-linux.c:60
When I run onivim2, it crashes and turns off.
IME: Riey/kime
OS Info:
Linux black7375 5.12.9-1-MANJARO #1 SMP PREEMPT Thu Jun 3 14:56:42 UTC 2021 x86_64 GNU/Linux
onivim2-crash.log
(Failure "NULL data at keyboard-layout-linux.c:60"):
Hi @black7375 ,
Thanks for reporting - what desktop environment are you using?
I'm guessing this is related to https://github.com/onivim/oni2/issues/3438 - right now, Onivim requires xwayland
to load keyboard layouts.
I'am using KDE(X11).
This also happens on
Manjaro Gnome 40.3 X11
Oh. I managed to start Oni2 by unsetting LANG
. It was previously set to cv_RU.UTF-8
.
@lallenfrancisl, @black7375, can you please confirm that running LANG=en_US.UTF-8 Oni2_editor
(or unset LANG && Oni2_editor
) works just as expected?
@gardspirito Yes running with LANG=en_US.UTF-8 Oni2_editor
makes the editor work
My laptop is set to LANG=en_IL
by default, and oni wouldn't start.
Unsetting LANG or LANG=en_US
fixed it for me too
@gardspirito Yes, it works!!