forked from phuang/ibus-m17n
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blacklist some engines useless under ibus environment.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4a2f327
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does one go about using one of these blacklisted engines? In particular, I frequently use m17n:zh:pinyin. It is not "a toy" as it is probably the easiest way to input pinyin. It is not meant to support Han characters. It is meant for writing out pronunciation, including the tones.
4a2f327
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't ibus-pinyin have that feature? Anyway I think that I'll extend ibus-setup-m17n (the setup UI of ibus-m17n) to allow users to select blacklisted engines. As a workaround, you could always edit /usr/share/ibus-m17n/setup/default.xml.
4a2f327
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allowing selection of blacklisted engines would be great. If there were a way to just add a config file in ~/.m17n/ to overwrite the default values that would be great.
I have tried poking around with most of the options in the preferences window, but I can't find this feature in ibus-pinyin. (But that doesn't mean it isn't there).
Your suggestion to edit /usr/share/ibus-m17n/setup/default.xml worked. But instead I decided to create a file called ~/.m17n/zh-mypinyin.mim with the following content:
That felt better than editing a file created by the package. That way my change won't get overwritten by an upgrade.