China-Spiner / ibus-sogoupycc

Automatically exported from code.google.com/p/ibus-sogoupycc
1 stars 1 forks source link

让配置文件存放符合xdg标准,保存到$XDG_CONFIG_HOME/ibus #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
配置文件存放:$XDG_CONFIG_HOME默认是~/.config

临时文件存放$XDG_CACHE_HOME=~/.cache

词库等文件存放:$XDG_DATA_HOME=~/.local/share

IBUS比较早的时候就做了这个改变。因此基于ibus的输入法应该
都符合。

python有pyxdg可以参考,纯C的只要引入了glib2的有直接的函数。

看这里:
IBUS
http://github.com/phuang/ibus/
commit/0cecc08f0dc547f1431d0e1d4efe2fbb66d1f672       

http://github.com/phuang/ibus/
commit/7366591b9673450315efc97d1b5000a2628137ea

IBUS-pinyin
http://github.com/phuang/ibus-pinyin/
commit/764f98a14c972f6fedbd656097d308c31879668e

http://github.com/phuang/ibus-pinyin/commit/
ffe7331c5a67eb51d0225f94bb7ba8133c060213

Original issue reported on code.google.com by jarry...@gmail.com on 9 Mar 2010 at 5:48

GoogleCodeExporter commented 9 years ago
不难修改,下个版本开始采用

Original comment by arcpp.zju@gmail.com on 9 Mar 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Issue 16 has been merged into this issue.

Original comment by arcpp.zju@gmail.com on 9 Mar 2010 at 6:19

GoogleCodeExporter commented 9 years ago
Fixed in r125.

Original comment by arcpp.zju@gmail.com on 12 Mar 2010 at 1:52