Сегодня наконец-то добрался до этого и сел снова настраивать японский ввод с Fcitx5+Mozc.

И в этот раз настроил.

В прошлый раз делал заметно по-другому: старый fcitx, ibus, Plasma 5, X.
В этот раз Fcitx5, Wayland Launcher, Plasma 6.

И на этот раз всё завелось и изменений каких-то в системе понадобилось меньше.

Радует, что и в таких нишевых штуках линуксы становятся дружелюбнее.

Но да, надо сказать, что это всё ещё достаточно далеко от того как это работает в Windows, где просто добавляешь ещё один язык и выставляешь для него настройки ввода.
Здесь же вырубается дефолтное переключение раскладок в DE и управление ими передаётся отдельному виртуальному менеджеру ввода.
Понятно, что и в Windows под капотом скорее всего происходит что-то похожее. Но для юзера это происходит в одной точке входа. А этих наших линуксах - не так. Если нужна обычная дубовая раскладка физической клавиатуры - можно использовать обычное xkb-like переключение. А вот если нужна раскладка с вводом ромадзи и заменой по словарю - это вообще другое и пользователю об этом нужно откуда-то узнать.

Такие дела.

#Linux #language #Japanese #Wayland #Fcitx #Mozc #UX #UI #log #input

Thanks to great work from @agx , typing #chinese is possible on phosh. So on my #FuriLabs #FLX1 I can natively type Chinese. It uses #uim behind the scenes. Before this I used to type in waydroid android container using #fcitx and copy it.
AND KEEP YOUR FINGERS FROM THIS SETTING!!!1!11 #fcitx
#fcitx! What is wrong with you? Let me set my default layout!
Und #fcitx überschreibt sogar eine schreibgeschützte Config-Datei. Unfassbar!
#fcitx: "die erste Eingabemethode wird der Default sein" - nein, wird sie nicht. Und ibus rennt nicht unter Wayland. Diese Umstellung ist eine sehr doofe Idee! Dann lieber #X11!
I am very sorry to say, but #fcitx seems to be bullshit. What the hell does it do, and why? And most of all: why not?

TIL that on fcitx5, hitting `Ctrl + Shift + U` allows you to directly input unicode codes as `U+2014` -> —

#til #keyboard #fcitx #unicode

Warum klappt #fcitx nicht?

Fcitx default keybinds also interfere with games, Ctrl+Space is the switch method hotkey, but is a pretty common thing to press in games, noticed while trying to crouch then jump in Overwatch.

Setting an environment variable to disable the IME for the game does seem to have done the trick (at least if you don't need to type with the IME in the game for chat) https://fcitx-im.org/wiki/FAQ/en#Minecraft

Also tried setting the switch hotkey to Super+Space as on Windows, but then IME switching just doesn't work at all anywhere.

#linux #LinuxMint #fcitx #mozc #YearOfTheLinuxDesktop

FAQ - Fcitx