Updates:
Summary: Load extra tables from user home directory (~/.ibus)
Comment #8 on issue 614 by Caius.Chance: Load extra tables from user home
directory (~/.ibus)
http://code.google.com/p/ibus/issues/detail?id=614
This commit has function implemented (in dirty hacking way), but by
behavior it worked. I will improve the code soon:
https://github.com/kaio/ibus-table/tree/byo-table-db-614
How to use this:
0. Install the ibus-table version provided in above link.
1. Create a .db table database from .txt table source file.
2. Create a new directory "byo-tables" in your home directory. e.g. My home
directory is "/home/kaio" with IBus directory ".ibus". I create a new
directory with command "mkdir -p ~/.ibus/byo-tables".
3. Copy the .db file into the byo-tables directory.
4. Restart IBus daemon with command "ibus-daemon -rd".
5. Run IBus setup with command "ibus-setup".
6. Add the table you have just copied and close ibus-setup.
7. Restart IBus daemon with command "ibus-daemon -rd".
8. You should have your table available.
The current implementation checks if the .db file exists in system table
directories (/usr/share/ibus-table/tables/ or depends on your distro), if
not it will try loading from ~/.ibus/byo-tables/. It seems that user
provided tables should be at higher priority than system ones. However, my
current codes have only presumed user provided tables are not in the system
default locations. I need to work out a better way for sure.
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en