Yesterday I learned about Linux and many versions. Next I will introduce Gentoo to you. The great Gentoo Linux is the youngest release in the Linux World, so we can take advantage of all of her earlier releases, which is also one of the reasons why Gentoo Linux is called the most perfect Linux release.
Gentoo Linux is a very interesting distribution, which is not as large as Redhat/SuSe (although gentoo does exist ). similar to Debian, in addition to Debian, Debian publishes binary, gentoo publishes source code (now binary is available), and a powerful portage system.
Unfortunately, the Chinese desktop in Linux still has more or less problems, either the font is ugly or the input method is not good. Of course, these are all trivial tasks, it does not prevent Linux from becoming a trusted system. Of course, it is better to have a comfortable working environment. In order to facilitate your use and future use, paste my configuration process.
<Basic System installation>
That's nothing to say. Just follow Gentoo Installation Guide. I personally feel that it is not difficult. Compared with lfs, it is much more convenient. After all, there is a better portage environment. In fact, lfs also has scripts, but it is not complete. So I think it is better to get started with Gentoo than to spend time on lfs. It is helpful to understand Linux.
<Installation Window Manager>
Out of endless pursuit of hard disk space, I did not use KDE/GNOME, but chose FVWM/BlackBox. Of course, QT and GTK + still need to be installed. Otherwise, many applications cannot be compiled and run. Fvwm2 is quite simple. I like PP desktops, so emerge has fvwm-themes and fvwm-themes-extra successively. The latest versions include XP theme and OSX theme, I am currently using the fvwm-themes-extra OSX style. Note: Modify the default Window Manager/etc/rc of Gentoo. replace the XSESSION variable in conf with the file name in/etc/X11/Sessions. Compared with RedHat, Gentoo is indeed concise and clean.
<Chinese font>
This is almost the theme of beautification. I basically use SimSun and Tahoma fonts, as well as some traditional ttf Chinese and Western text bodies in Linux. However, fontconfig and freetype are required first. These are emerge by default. # Emerge corefonts (this is Microsoft's ttf font with Verdana I like) # emerge arphicfonts) all the above fonts are placed under/usr/share/fonts. to decompress the SimSun package to this directory, the most important thing is to modify the/etc/X11/XF86Config file, add the corresponding FontPath to Load "freetype" and Load "xtt" in Section "Module". At first, I did not Load these modules, even if I added
FontPath and X still cannot find these Chinese fonts. My FontPath is:
FontPath "/usr/share/fonts/ttf/zh_CN/" FontPath "/usr/share/fonts/ttf/zh_TW/" FontPath "/usr/share/fonts/corefonts /" fontPath "/usr/share/fonts/ROfonts/" FontPath "/usr/share/fonts/Tahoma/" FontPath "/usr/share/fonts/TrueType /"
Now we need to configure the gtk + and qt fonts, and decompress the package to/etc. The experiment found that/etc/gtk/gtkrc. XXX controls the font display of gtk software (such as xchm), while/etc/gtk-2.0/gtkrc controls the font of gtk-2.0 software (such as xchat ), you can edit these two files to modify the font size of the gtk program. You can execute qtconfig to modify the qt font, and change the font to Tahoma (size = 12. Okay. Open qterm, xchat or something and change the display font to SimSun or Tahoma.
<Input method>
I still don't like fcitx very much. It is not as flexible and powerful as SCIM. scim is recommended. Emerge scim and scim-chinese can be used later. To open an xterm, rxvt is easy to use. Before using the input method,
$ Export LANG = zh_CN
$ Export LC_ALL = zh_CN (Note: zh_CN.GB2312 cannot be used. The scim interface may be released. The specific reason is unknown)
$ Export XMODIFIERS = "@ im = SCIM"
$ Scim-d
In this case, any program started from this shell can use scim.
For example, for rxvt, you only need to execute: rxvt-im SCIM
<Application configuration>
This is a lightweight Mozilla -- FireFox that supports multiple tabs and is a good browser.
# Emerge mozilla-firefox-bin (do not build from scratch)
# Emerge netscape-flash (Macromedia Flash Plugin)
To change the font to SimSun, the display is basically the same as that of IE.
This article introduces how to learn about Gentoo Linux.
- Good migration and bad migration on the Open Suse Linux platform
- Correct Choice: Suse Linux Enterprise Server
- Learning Manual: Introduction to Open Suse
- Detailed description of OpenSUSE 11.1 hard disk installation
- Describes how to bind a Suse dual-nic