Precautions for installing msoffice in linux

Source: Internet
Author: User
Precautions for installing msoffice in linux-Linux general technology-Linux technology and application information. For details, refer to the following section. First of all, I am a hardcore linux fan and support open-source products very much. However, I installed msoffice in my daily work notebook for a very simple reason, the OOo or goffice series won't allow me to efficiently complete document writing requirements. The main work is program development. Generally, development documents use docbook or gtk-doc, however, some work is often required to write Requirement documents, solutions, and other similar documents to customers, and to provide network structure charts and flowcharts in such documents, dia is undoubtedly the first choice for gnome desktop environments in linux. Of course, dia is fully qualified for this kind of work. However, compared with visio, dia lacks dazzling graphic elements and is always hard to achieve the desired results. In addition, word processing tools cannot be fully compatible with msoffice. Although Word documents can be accessed, they cannot be fully compatible with the layout. In desperation, I used the crossover-office-pro-bin tool to install msoffice.

To put it bluntly, crossover office is a commercial product based on wine. It provides a simple method for installing the ms software in linux. Basically, it can achieve better results without configuration, in fact, it is very convenient to install msoffice with wine, but it will be a little more troublesome, and crossover office will automatically generate mime data after installing msoffice, which is a more intimate function.

My linux version is Gentoo Linux, and it is very convenient to install crossover office professional. Put the required files in your $ {DISTFILES} directory and directly emerge. My locale environment is an English environment, LC_CTYPE is a zh_CN.UTF-8, so the problem I encountered and the solution is not necessarily applicable to the environment different from my friends. After installing msoffice 2003 with crossover office, pay attention to the following issues:

1. Run msoffice to use the Chinese environment, set LANG to zh_CN.UTF-8 (or zh_CN.GBK), if you do not want to change the default language of the system, you can also directly modify $ {HOME }/. the scripts in the cxassoc and cxmenu directories under the cxoffice/win2000/shorttopdata directory can be directly executed by executing the following shell command: for f in 'Find. -type F'; do grep "wine" $ f 2> & 1>/dev/null & sed-I '2i \ export LANG = "zh_CN.UTF-8" '$ f; done.

2. When running msoffice, you will find that the font of your menu may not be the desired ice. You can modify $ {HOME }/. cxoffice/win2000/drive_c/windows/win. solve the problem by using ini. add the following two lines to ini:

[Desktop]
IconTitleFaceName = SimSun

3. If you are a UTF-8 environment, you may find that msoffice runs very slowly, and the CPU usage is very high, don't worry, this is caused by wine looking for the GB2312 font from X core font, you can use mkfontscale and mkfontdir to generate fonts in your Chinese font directory. scale and fonts. dir, but the current versions of these two tools do not seem to generate the GB2312 and GBK fonts. You need to manually edit fonts. dir and fonts. scale, manually add the GB2312 and GBK font (Don't be afraid, you open the file will know how to change, copy a line to change it, assuming you copy the GB18030.2000-0 font, you can change the following GB18030.2000-0 to GB2312.1980-0 and gbk-0) and then add the font directory to xorg. conf Files, such as my xorg. the FontPath "/usr/share/fonts/ms-fonts" is added to the conf file ".

Your msoffice should have been very good so far. I have a few of them to see the effect first:



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // lidaibin.googlepages.com/screenshot-word.png'); ">



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // lidaibin.googlepages.com/screenshot-excel.png'); ">



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // lidaibin.googlepages.com/screenshot-powerpoint.png'); ">



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // lidaibin.googlepages.com/screenshot-visio.png'); ">



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // lidaibin.googlepages.com/screenshot-cs.jpg'); ">
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.