LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fcitx: How does one configure Fcitx? The input and control panels too small to read. (https://www.linuxquestions.org/questions/slackware-14/fcitx-how-does-one-configure-fcitx-the-input-and-control-panels-too-small-to-read-647417/)

harryhaller 06-06-2008 08:05 AM

Fcitx: How does one configure Fcitx? The input and control panels too small to read.
 
fcitx version: 'GirlDog' 3.5-070703-xft
slackware 12.1


.bashrc
Code:

export XMODIFIERS="@im=fcitx"
export XIM_PROGRAM="fcitx"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx

.gtkrc-2.0 file=
Code:

include "/home/test/.gtkrc-2.0.mine"
.gtkrc-2.0.mine=
Code:

style "user-font" {
        font_name = "DejaVu Sans 16"
}
widget_class "*" style "user-font"
gtk-font-name="DejaVu Sans 20"

gtk-icon-sizes="gtk-menu=20,20:\
                gtk-button=20,20:\
                gtk-small-toolbar=20,20:\
                gtk-large-toolbar=20,20:\
                gtk-dnd=20,20:\
                gtk-dialog=20,20"
gtk-toolbar-style = GTK_TOOLBAR_ICONS


I have successfully installed fcitx but both the control and input panels are far too small to read.

I have tested it on several window managers. (xfce, blackbox, fluxbox, wmaker, ratpoison). They don't make a difference.

How can I make the panels and their fonts larger?

Also: The documentation and configuration files are in chinese which I, as someone just trying to learn, cannot understand.

Are there any english translations?

(they might contain the solution to the problem).

zhoun 06-06-2008 10:21 PM

http://www.linuxsir.org/bbs/thread330856.html

I just post the fcitx config english version to the forum. Please check it.

harryhaller 06-07-2008 06:37 AM

Quote:

Originally Posted by zhoun (Post 3177219)
http://www.linuxsir.org/bbs/thread330856.html

I just post the fcitx config english version to the forum. Please check it.


That link just takes me to a chinese page - should I try again later?

grissiom 06-07-2008 09:15 AM

edit your ~/.fcitx/config , find the '[程序]' section. And set '显示字体大小' to 12, set '主窗口字体大小' to 11. It may solve your problem. ;)

If you find the text garbled, change the file encoding to 'GB18030'.

zhoun 06-07-2008 10:14 AM

harryhaller, using GBK or GB18030 coding to view the page.
See the code section, it have both chinese and english version config file,
one line chinese version, the next line is the corresponding english version.

harryhaller 06-07-2008 11:47 AM

grissiom,

I cant read the file. My locale is en_US.UTF-8.

I'm looking at the file using this command:

Code:

LANG="zh_CN.GB18030" vim ~/.fcitx/config

harryhaller 06-07-2008 11:57 AM

Quote:

Originally Posted by zhoun (Post 3177536)
harryhaller, using GBK or GB18030 coding to view the page.
See the code section, it have both chinese and english version config file,
one line chinese version, the next line is the corresponding english version.

Zhoun, this is the page as I see it:

Quote:

数据库错误
的数据库出现了些小问题。
请尝试如下操作:

* 请尝试点击 刷新 按钮重试。
* 打开 www.linuxsir.org 首页, 然后尝试进入其他页面。
* 点击 后退 按钮尝试其他连接。

一封错误报告已经发送到www.linuxsir.org的技术人员, 如果问题继续,你也可以 联系我们 。

抱歉给您带来了不便。
With GBK or GB18030 it is garbled. The page info from firefox gives
Code:

text/html; charset=UTF-8
I don't see any encoding section or translation.

zhoun 06-07-2008 08:06 PM

The linuxsir is down because of the database error.
I acquired the article from the google cached pages :)

Because LQ is a english forum, i hadn't post the fcitx translation to LQ( it include chinese words).
But the linuxsir forum is down, so i post it to this thread now.
If someone felt uncomfortable, just skip the post.
Thanks.

Code:

[程序]
[Program]
#如果您的FCITX工作很正常,没有必要修改下面这个设置
#If your fcitx works, no need to change follow config
静态模式=0
static mode=0
显示字体(中)=*
Display font(chinese)=*
显示字体(英)=Courier New
Display font(english)=Courier New
显示字体大小=12
Display font size=12
主窗口字体大小=12
UI font size=12
字体区域=zh_CN.UTF-8
locale=zh_CN.UTF-8
使用AA字体=1
antialias=1
使用粗体=1
bold font=1

[输出]
[output]
数字后跟半角符号=1
number followed by half-angle symbol=1
Enter键行为=2
Enter key action=2
分号键行为=2
semicolon key action=2
大写字母输入英文=1
upper case input english=1
转换英文中的标点=1
convert the english punctuation character=1
联想方式禁止翻页=1
stop turning page in associative mode

[界面]
[UI]
候选词个数=9
candidate word number=9
主窗口使用3D界面=0
Main window in 3D mode=0
输入条使用3D界面=0
Input textbox in 3D mode=0
主窗口隐藏模式=1
Main window hide mode=1
显示虚拟键盘=0
display virtual keyboard=0
输入条居中=1
input textbox center=1
首次显示输入条=1
display the input textbox at firsttime=1
#输入条固定宽度(仅适用于码表输入法),0表示不固定宽度
#input textbox fixed width mode(only apply to mabiao input method), 0 means unfixed width
输入条固定宽度=0
input textbox fixed width=0
输入条偏移量X=0
input textbox offset X=0
输入条偏移量Y=16
input textbox offset Y=16
序号后加点=1
add dot after the serial number=1
显示打字速度=1
show the type speed=1
显示版本=1
show version=1
光标色=102 159 66
cursor color=102 159 66
主窗口背景色=255 255 255
Main window background=255 255 255
主窗口线条色=203 202 186
Main window foreground=203 202 186
主窗口输入法名称色=153 153 153 102 159 66 56 134 230
Main window color of the input method name=
输入窗背景色=255 255 255
input window background=255 255 255
输入窗提示色=2 89 196
input window suggestion color=2 89 196
输入窗用户输入色=255 0 132
input window use input color=255 0 132
输入窗序号色=0 66 200
the color of the input window serial number =0 66 200
输入窗第一个候选字色=0 99 200
the color of the first candidate word in the input window=0 99 200
#该颜色值只用于拼音中的用户自造词
#this color only apply to the user's self-made word in the PinYin method
输入窗用户词组色=0 99 200
the color of the user word in the input window=0 99 200
输入窗提示编码色=255 0 132
the color of the coding in the input window=255 0 132
#五笔、拼音的单字/系统词组均使用该颜色
#In WuBi and PinYin input method, the user word and system word all use this color
输入窗其它文本色=56 134 230
the color of the other text in the input window=56 134 230
输入窗线条色=203 202 186
the color of the line in the input window=203 202 186
输入窗箭头色=193 227 151
the color of the arrow in the input window=193 227 151
虚拟键盘窗背景色=220 220 220
the background color of the virtual keyboard=220 220 220
虚拟键盘窗字母色=80 0 0
the color of the letter in the virtual keyboard=80 0 0
虚拟键盘窗符号色=0 0 0
the color of the sysbol in the virtual keyboard=0 0 0

#除了“中英文快速切换键”外,其它的热键均可设置为两个,中间用空格分隔
#all hotkey can set two keys except the "EN/CN quick switch key"
[热键]
[hotkey]
打开/关闭输入法=CTRL_SPACE
open/close input method=CTRL_SPACE
#中英文快速切换键 可以设置为L_CTRL R_CTRL L_SHIFT R_SHIFT L_SUPER R_SUPER
#the "EN/CN quick switch key" candidate list: L_CTRL R_CTRL L_SHIFT R_SHIFT L_SUPER R_SUPER
中英文快速切换键=L_CTRL
the "EN/CN quick switch key"=L_CTRL
双击中英文切换=0
EN/CN switch when double click=0
击键时间间隔=250
double click time interval=250
光标跟随=CTRL_K
cursor followed=CTRL_K
GBK支持=CTRL_M
GBK support=CTRL_M
GBK繁体切换键=CTRL_ALT_F
GBK traditional=CTRL_ALT_F
联想=CTRL_L
associative mode=CTRL_L

反查拼音=CTRL_ALT_E
use word to search PinYin=CTRL_ALT_E
全半角=SHIFT_SPACE
all half-angle=SHIFT_SPACE
中文标点=ALT_SPACE
chinese punctuation=ALT_SPACE
上一页=,
last page=,
下一页=.
next page=.
第二三候选词选择键=SHIFT
the select key of the second and third candidate word=SHIFT

[输入法]
[Input Method]
使用拼音=1
use PinYin=1
拼音名称=智能拼音
PinYin name=Smart PinYin
使用双拼=1
use double pinyin=1
双拼名称=智能双拼
double pinyin name=smart double pinyin
默认双拼方案=自然码
default double pinyin scheme= ziran ma
使用区位=1
use zoned=1
区位名称=区位
zoned name=zoned
使用码表=1
use code table=1
提示词库中的词组=1
hint the phrase in the word lib=1

[拼音]
[PinYin]
使用全拼=0
use complete pinyin=0
拼音自动组词=1
auto make up phrase in PinYin mode=1
保存自动组词=0
make up phrase and saved automatic
增加拼音常用字=CTRL_8
add common word in PinYin mode=CTRL_8
删除拼音常用字=CTRL_7
delete common word in PinYin mode=CTRL_7
删除拼音用户词组=CTRL_DELETE
delete user self-made phrase in PinYin mode=CTRL_DELETE
#拼音以词定字键,等号后面紧接键,不要有空格
#the key of using the phrase to select the word in PinYin mode, key followed the equal symbol and no space between them
拼音以词定字键=[]
the key of using the phrase to select the word=[]
#重码调整方式说明:0-->不调整  1-->快速调整  2-->按频率调整
the note of the duplication code adjust mode: 0->not adjust 1-> fast adjust 2->adjust by frequency
拼音单字重码调整方式=2
word duplication adjust mode=2
拼音词组重码调整方式=1
phrase duplication adjust mode=1
拼音常用词重码调整方式=0
common duplication adjust mode=0
模糊an和ang=0
Fuzzy an and ang=0
模糊en和eng=0
fuzzy en and eng=0
模糊ian和iang=0
...
模糊in和ing=0
模糊ou和u=0
模糊uan和uang=0
模糊c和ch=0
模糊f和h=0
模糊l和n=0
模糊s和sh=0
模糊z和zh=0


grissiom 06-07-2008 09:52 PM

Quote:

Originally Posted by harryhaller (Post 3177615)
grissiom,

I cant read the file. My locale is en_US.UTF-8.

I'm looking at the file using this command:

Code:

LANG="zh_CN.GB18030" vim ~/.fcitx/config

It seems that you cannot see a GB18030 encoded file in a UTF-8 terminal.... You can open it with Kate, then go to 'Tool'>'Encoding' to set GB18030. This work for me.

harryhaller 06-08-2008 03:08 AM

It worked!
 
Many thanks zhoun and grissiom.:)

That worked fine - with both the translation and the use of kate the problems were solved. I can read the letters clearly.

Back to the work of learning chinese.

grissiom 06-08-2008 06:35 AM

Quote:

Originally Posted by harryhaller (Post 3178120)
Many thanks zhoun and grissiom.:)

That worked fine - with both the translation and the use of kate the problems were solved. I can read the letters clearly.

Back to the work of learning chinese.

Happy to hear that ;) Wish you good luck during learning chinese ;)

chuanweizuo 06-09-2008 12:37 AM

Can fcitx be used to input words other than Chinese?
I am curious.


All times are GMT -5. The time now is 09:02 PM.