Closed Freed-Wu closed 1 year ago
As a Linux user, you should know how to create a symbolic link to a file. if you don't know, you can google "ln Linux"
I know coreutils
. But I think if all rime (ibus/fcitx/fcitx5) use same config, why not provide a unified path to store the setting?
I have taken a look:
RIME_STRUCT(RimeTraits, rime_traits);
traits.user_data_dir = "XXX";
traits.user_data_dir
doesn't have a default value. It just be NULL. Different rime distributions set their default value. Let upstream (rime) to decide a default value is not appropriate because librime is just a library, should not provide any too more designation.
According to https://wiki.archlinux.org/title/Rime_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#%E9%85%8D%E7%BD%AE,
For ibus/fcitx/fcitx5, the config file is
Why not use a same global path like
~/.config/rime/default.custom.yaml
? It can be more convenient for user switch input method and backup their config file.Thanks.