Solve the Problem of freemind Inputting Chinese Characters in Ubuntu

Source: Internet
Author: User
Freemind is a java program, so we need to solve the problem of java Chinese fonts first. Generally, we only need to copy a Chinese font to a folder under the lib/fonts of jre, if multiple jre are used, you need to determine which version is used to run freemind. Of course, it is best to copy the font. My practice: copy from XP to simsun. ttctahoma. ttfverdana. ttfverdanab. ttfverdanaz. tt

Freemind is a java program, so we need to solve the problem of java Chinese fonts first. Generally, we only need to copy a Chinese font to a folder under the lib/fonts of jre, if multiple jre are used, you need to determine which version is used to run freemind. Of course, it is best to copy the font.

My practices:

Copy From XP to simsun. ttc tahoma. ttf verdana. ttf verdanab. ttf verdanaz. ttf tahomabd. ttf verdanai. the ttf fonts are placed under the/usr/share/fonts/zh_CN/TrueType folder, and then executed in the folder.

Sudo mkfontscalesudo mkfontdir

Create a soft connection in/usr/lib/jvm/java {version}/jre/lib/fonts after two configuration files are generated

Sudo-s/usr/share/fonts/zh_CN/TrueType fallback

In this way, the font is fixed and the test is run:

/Usr/lib/jvm/java-1.5.0-sun/bin/java-jar/usr/lib/jvm/java-1.5.0-sun/demo/jfc/FileChooserDemo. jar

After the problem is fixed, my SCIM still has some problems. I am using the bridge mode. I don't know if it is the problem. According to the third article in the reference, I found that I need to run

Scim-d-c socket-f x11-e socket

Load the SCIM module, and enter Chinese in freemind.

By the way, the automatic loading method is provided:

Create the 75custom-scim_init file in/etc/X11/Xsession. d, which includes the following content:

Export XMODIFIERS = "@ im = SCIM"
Export GTK_IM_MODULE = "scim"
Export XIM_PROGRAM = "scim-d"

Go to System-> Preferences-> Sessions, select Startup Programs, add scim-d, and retain the order as 50.

Log on to the root terminal and enter the following command:

Gtk-query-immodules-2.0>/etc/gtk-2.0/gtk. immodules

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.