|
| 1 | +# FAQ |
| 2 | + |
| 3 | +Some frequently asked questions. |
| 4 | + |
| 5 | +## How to import table manually |
| 6 | + |
| 7 | +Take importing [zhengma](https://github.com/fcitx/fcitx5-table-extra) as an example: |
| 8 | + |
| 9 | +1. Obtain `zhengma.conf` and `zhengma.main.dict` |
| 10 | +2. Copy `zhengma.dict` to `/Android/data/org.fcitx.fcitx5.android/files/data/table/` |
| 11 | +3. In `zhengma.conf`, change the path specified after `[Table] File=` to `table/zhengma.dict` |
| 12 | +4. Copy modified `zhengma.conf` to `/Android/data/org.fcitx.fcitx5.android/files/data/inputmethod/` |
| 13 | + |
| 14 | +!!! warning |
| 15 | + |
| 16 | + Above paths may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work). |
| 17 | + We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android. |
| 18 | + |
| 19 | +!!! note |
| 20 | + |
| 21 | + Create `table` and `data` directories if they don't exist. |
| 22 | + |
| 23 | +## How to remove input method entry |
| 24 | + |
| 25 | +Swipe left on the entry until the backgournd changes to red with a trash can icon. |
| 26 | + |
| 27 | +The same operation applies to other list-like UI, such as pinyin dictionary, punctuation mapping, etc. |
| 28 | + |
| 29 | +## How to adjust the order of input methods |
| 30 | + |
| 31 | +Long press on the entry util a shadow appears below, and then drag the entry to change the order. |
| 32 | + |
| 33 | +## How to modify uncommitted text |
| 34 | + |
| 35 | +When preedit shows in the keyboard, you can swipe on the space key to move the cursor; If it shows in application, |
| 36 | +you can move the cursor to the desired position directly by clicking. |
| 37 | + |
| 38 | +!!! hint |
| 39 | + |
| 40 | + This is useful when composing long sentences or modifying already entered contents. |
| 41 | +!!! note |
| 42 | + |
| 43 | + To make preedit shows in application, enable *Show preedit in application* in *Global Options* and *Pinyin*. Then, disable *Ignore system cursor position* in *Behavior*. |
| 44 | + If the cursor jumps to the left after a moving, please disable *Fix embedded preedit cursor at the beginning of the preedit* in *Pinyin*. |
| 45 | + |
| 46 | +## How to reset the input state |
| 47 | + |
| 48 | +To clear the preedit and candidates, press and hold the backspace key, swiping left for a distance. |
| 49 | + |
| 50 | +## How to export configruation files or user dictionary |
| 51 | + |
| 52 | +The configuration files, input history, and user dictionary are saved to the external storage. The default path is `/sdcard/Android/data/org.fcitx.fcitx5.android/files/`. |
| 53 | +The input history and user dinctionary for Pinyin/Shuangpin are at `data/pinyin/user.{dict,history}`; those for Wubi are at `data/table/${name}.{dict,user.history}`. |
| 54 | + |
| 55 | +!!! warning |
| 56 | + |
| 57 | + Abosolute path above may not apply if you configured [work profile](https://developer.android.com/work/versions/android-11#work). |
| 58 | + We recommend using the builtin file manager (via DocumentsUI) to manage the data of Fcitx5 for Android. |
| 59 | + |
| 60 | + |
| 61 | +## How to import Pinyin dictionary |
| 62 | + |
| 63 | +Fcitx 5 supports custom dictionaries. They are stored in `data/pinyin/dictionaries`. |
| 64 | +Fcitx 5 for Android registers three supported file types: `.dict`, `.scel`, and `.txt`, so uou can import the the dictionary by opening the file with Fcitx5 for Android. |
| 65 | +You can also manage the dictionary using *Pinyin Dictionaries* in settings. |
| 66 | + |
| 67 | +## How to input emoticon, emoji, or specific unicode symbol |
| 68 | + |
| 69 | +Press and hold `,` key, swiping towards one of the three icons popped up. |
| 70 | + |
| 71 | +<center><img src="/assets/emoji-01.jpeg" alt="drawing" width="400"/></center> |
| 72 | + |
| 73 | +The first icon actives unicode mode. You can search unicode by code or description: |
| 74 | + |
| 75 | +<center><img src="/assets/unicode-01.jpeg" alt="drawing" width="400"/></center> |
| 76 | + |
| 77 | +!!! hint |
| 78 | + |
| 79 | + You can find the details of unicode symbols at [Unicode Character Table](https://unicode-table.com/en/) or [List of Unicode characters](https://en.wikipedia.org/wiki/List_of_Unicode_characters). |
| 80 | + |
| 81 | +The second icon switches to emoji keyboard: |
| 82 | + |
| 83 | +<center><img src="/assets/emoji-02.jpeg" alt="drawing" width="400"/></center> |
| 84 | + |
| 85 | +The `:-)` key below switches to emoticon keyboard. |
| 86 | + |
| 87 | +The third icon actives quick phrase: |
| 88 | + |
| 89 | +<center><img src="/assets/quick-input-01.jpeg" alt="drawing" width="400"/></center> |
0 commit comments