You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the first time you execute cmake --install, you need to logout and login,
then add Fcitx5 in System Setttings -> Keyboard -> Input Sources, Chinese Simplified.
For installations afterwards, clicking Restart in Fcitx5 menu suffices.
You can also use Cmd+Shift+B in VSCode to execute a task.
Code sign
Some features (e.g. notifications, core dump) require the app bundle be code-signed after installation:
./scripts/code-sign.sh
Debug
Console.app
Check Include Info Messages and Include Debug Messages in Action menu.
Put FcitxLog in Search.
Log
/tmp/Fcitx5.log contains all log in Console.app,
plus those written to stderr by engines, e.g. rime.
lldb
SSH into the mac from another device, then
$ /usr/bin/lldb
(lldb) process attach --name Fcitx5
Core dump
sudo chmod 1777 /cores
sudo sysctl kern.coredump=1
ulimit -c unlimited # only works for current shell
pkill Fcitx5; /Library/Input\ Methods/Fcitx5.app/Contents/MacOS/Fcitx5
When Fcitx5 crashes, it creates a ~10GB core file under /cores.
/usr/bin/lldb -c /cores/core.XXXX
(lldb) bt
Plugins
Fcitx5 only packages keyboard engine.
To install other engines or tables,
use the built-in Plugin Manager.
Translation
Swift sources
To update .strings files for each supported locale, run