aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fcitx/files/pkg-message.in
blob: 645a4af9f80bd9eb74edda36e812b9ad812e4556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[
{ type: install
  message: <<EOM
Remember to set the environment variable XMODIFIERS:

	csh/tcsh:	setenv XMODIFIERS @im=fcitx
	sh/bash:	export XMODIFIERS='@im=fcitx'

For GTK+ programs, you may want to set:

	csh/tcsh:	setenv GTK_IM_MODULE %%GTK2_IM%%
			setenv GTK3_IM_MODULE %%GTK3_IM%%
	sh/bash:	export GTK_IM_MODULE=%%GTK2_IM%%
			export GTK3_IM_MODULE=%%GTK3_IM%%

For Qt4 programs, we recommend you to use

	qtconfig-qt4: %%PORTSDIR%%/misc/qt4-qtconfig

instead of to manually set QT4_IM_MODULE.

To start fcitx with your desktop, just

	cp %%PREFIX%%/share/applications/fcitx.desktop \
	    ~/.config/autostart/
EOM
}
]