freebsd xfce desktop installation scim input method, the installation was successful.

Preface:

1. There is no handbook recommended by the group landed localization method, the method used in 2: shell startup file localization method (method 1 because I do not know where some of the environmental variables that uppercase or lowercase, do not want to try).

2. No use landing Manager, xdm login manager, then press the handbook should be set up in order to run scim .xsession years, but I do not know why, can not succeed, and do not like to use the login manager, have to enter it again username and password, too much trouble, do not have a login manager. (Ie direct startx window appears, no login screen)

3. Recommendation: a good look handbook, understand and .cshrc .xinitrc what the respective roles, I think some of the original article in practice, obviously did not properly understand the role of file.

pkg-message file 4.port directory describes the method of preparation, although the actual configuration of the above said shortcomings, but there is help, then you can see more of this file when you install the software.

5. groping several days the installation was successful, with deeply inconvenient not google search, I think if we can even google, you can have more reference pages. But his own hard research handbook, as well as research installation configuration Baidu out of others, perhaps more than easy to install successfully deeper understanding of it.

6. Detailed setting process:

// installation, can only be installed from the ports, pkg no pakage;

//ports 安裝 scim-pinyin,scim-talbes;
# cd /usr/ports/chinese/scim-tables 
make install clean; rehash 

(Pinyin according to the above mode installed on the line);

// set, csh shell used, bash shell syntax change it with its input sentence, and set the file are not the same, look at the handbook localization in the chapter about the bash shell corresponding configuration file on the line;
EE .cshrc 

setenv LANG zh_CN.UTF-8 
setenv  LC_ALL zh_CN.UTF-8 

setenv LC_COLLATE zh_CN.UTF-8
setenv LC_CTYPE zh_CN.UTF-8 

setenv LC_MESSAGES zh_CN.UTF-8 

setenv LC_MONETARY zh_CN.UTF-8 

setenv LC_NUMERIC zh_CN.UTF-8 
setenv LC_TIME zh_CN.UTF-8

setenv MM_CHARSET  UTF-8

 

setenv XIM scim 
setenv GTK_IM_MODULE scim 

setenv GTK3_IM_MODULE scim
setenv QT_IM_MODULE xim 
setenv XMODIFIERS @im=SCIM 
setenv XIM_PROGRAM scim-daemon 
setenv XIM_ARGS "--daemonize --xim" 

设置.xinitrc:

in ~ / .xinitrc 


exec scim -d & 
before starting xfce put on the command line;

7. wqy fonts can be installed, there is no need for manual configuration after installation, under xfce and gnome I have read, font library has wqy, if you install fonts manually set in accordance with the handbook so that the system can detect the font settings handbook says that file, but startx after the execution window get up. Personally I feel that manual configuration is outdated and not updated handbook piece of content.

Guess you like

Origin www.cnblogs.com/liujingli1986/p/11794845.html