Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a question on guix config #10

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Merge branch 'master' of git://github.com/guix-china/help
  • Loading branch information
wxie2017 committed May 25, 2020
commit 78327c0b53ec3c345f3baa4a965ff0f434358142
23 changes: 18 additions & 5 deletions README.org
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
你可以选择使用 ~ibus~ 或者 ~fcitx~ 。

*** 设置 ~ibus~
1. 安装 ~ibus~ 和 ~ibus-rime (或者 ~ibus-libpinyin)。
1. 安装 ~ibus~ 和 ~ibus-rime~ (或 ~ibus-libpinyin~ )。
#+BEGIN_SRC shell
guix package -i ibus ibus-rime
#+END_SRC
@@ -34,16 +34,20 @@
export GUIX_GTK2_IM_MODULE_FILE=$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
export GUIX_GTK3_IM_MODULE_FILE=$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
#+END_SRC
3. 运行 ~ibus-daemon --xim --replace --daemonize~ 以启动 ~ibus-daemon~ 。
3. 如果你曾经安装过 ~ibus~ ,请删除 =~/.cache/ibus= 这个文件夹。不匹配的
=~/.cache/ibus= 可能导致 ~ibus~ 无法启动。这是一个已知的bug。
#+BEGIN_SRC shell
rm -r ~/.cache/ibus
#+END_SRC
4. 运行 ~ibus-daemon --xim --replace --daemonize~ 以启动 ~ibus-daemon~ 。
#+BEGIN_SRC shell
ibus-daemon --xim --replace --daemonize
#+END_SRC
4. 运行 ~ibus-setup~ 进入设置图形界面,添加和设置输入法。
5. 运行 ~ibus-setup~ 进入设置图形界面,添加和设置输入法。
#+BEGIN_SRC shell
ibus-setup
#+END_SRC
5. 好了,你可以使用 ~ibus~ 来输入中文了。
6. 好了,你可以使用 ~ibus~ 来输入中文了。

*重要:*
#+begin_quote
@@ -54,4 +58,13 @@
*** 设置 ~fcitx~
@pmeiyu 不使用fcitx,此段略。

本页面使用 [[http://creativecommons.org/licenses/by-nd/4.0/][Creative Commons Attribution-NoDerivatives 4.0 International License]] 授权。
* 贡献

- 你必须接受把你贡献的内容以下面的许可证发布。
- 请克隆这个仓库,添加你的修改,然后提交Pull Request。

* 许可证

除非另有说明,则:
- 这个仓库里的代码以 [[https://www.gnu.org/licenses/gpl-3.0.en.html][GPLv3]] 许可证发布。
- 这个仓库里的文档以 [[https://creativecommons.org/licenses/by-nc/4.0/legalcode][CC BY-NC v4.0]] 许可证发布。
You are viewing a condensed version of this merge commit. You can view the full changes here.