rime / home

Rime::Home is home to Rime users and developers
https://rime.im
4.26k stars 230 forks source link

[advice] How about use a same path for ibus/fcitx/fcitx5 #1163

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 1 year ago

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.

mokapsing commented 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"

Freed-Wu commented 1 year ago

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?

Freed-Wu commented 6 months ago

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.