Easy Gentoo Linux desktop configuration

xiaoxiao2021-03-06  94

Gentoo Linux is a very interesting distribution, it is not as large as redhat / suse.

Enterprise support (although there is indeed Gentoo). It is a bit similar to Debian, except that Debian is a binary,

Gentoo is a Source Code (now there is also binary), and it is a powerful portage system.

Unfortunately, there is still more or less problems in Linux's Chinese desktop, or it is difficult to look, or

It is not good to do it. Of course, it is a system of chicken fry garlic, and does not hinder Linux a system that I trust. Of course,

It is best to have a relatively comfortable working environment. In order to facilitate everyone and I will use it, put my configuration process.

This is nothing to say. The full photo Gentoo Installation Guide is coming. Personally feel uncomfortable,

Compared with LFS, it is convenient for many, after all, there is a better portage environment, in fact, LFS also has scripts.

Just is not very complete. So I think that I spend time on LFS, I am not as good as getting Gentoo.

Linux is very helpful.

For the endless pursuit of hard disk space, I didn't use KDE / GNOME, but I chose FVWM / Blackbox.

Of course, QT and GTK still have to install, otherwise many applications can't compile and run. FVWM2 is more so, I prefer

PP's desktop, so connected Emerge, fvwm-themes and fvwm-themes-extra, the latest inside has XP

Theme and OSX's theme, I am using the OSX style of fvwm-themes-extra.

Note Modifying the default window manager of Gentoo is the xsession variable in editing /etc/rc.conf, replacing

The file name inside / etc / x11 / sessions is OK, relatively relatively, feeling Gentoo is indeed simpler

And clean, below is my desktop post:

This is almost beautified theme. I basically use SIMSUN and Tahoma font, and some Linux traditions

TTF Chinese and Western Chinese, but you must first have Fontconfig and Freenype, which are Emerge.

#emerge corefonts (This is Microsoft TTF font, there is a Verdana I like)

#emerge arphicfonts (in a long time, Linux "has been displayed by it, it is more difficult to see)

All the fonts are placed under / usr / share / fonts, and this SIMSUN font package is also decompressed to this directory.

The most critical is to modify the / etc / x11 / xf86config file, plus Load "freetype" in section "Module"

(Some articles say that you can't add, feel that there is no difference) and load "xtt" at the same time, you have to add the corresponding FontPath.

At first I didn't load these modules, even if FontPath, X still could not 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 to configure the fonts of GTK and QT, extract this package to / ETC, experiment found, where / etc / GTK / GTKRC.XXX

It is a font display of the font display of the GTK software (such as XCHM), and /etc/gtk-2.0/gtkrc is controlling GTK-2.0 software.

Font (such as XChat), edit the two files to modify the font size of the GTK program. Qt font modification can

Execute qtconfig, font is changed to Tahoma (size = 12) feel more comfortable.

Finally, use this file (fonts.conf) to overwrite /etc/fonts/fonts.conf, this step I often miss it,

Mozilla's font is not very good.

Ok, open QTERM, XChat what, modify the display font is SIMSUN or TAHOMA is much more comfortable.

Still don't like FCITX, it is better to make SCIM flexible and powerful. It is recommended to use Scim. Emerge SCIM and

After scim-chinese can be used. Open an XTERM, RXVT is more useful. Before using the input method,

$ export lang = zh_cn

$ EXPORT LC_ALL = zh_cn (Note, you can't use zh_cn.gb2312, you may not come in the SCIM interface, the specific reason

Not clear)

$ export xmodifiers = "@ im = scim"

$ SCIM -D

At this point, any program that is started from this shell can be used with SCIM.

For example, for RXVT simply: RXVT-IM Scim is a screenshot (I use RXVT):

This is a lightweight Mozilla - Firefox, supporting multiple Tabs, a very good browser.

#emerge mozilla-firefox-bin (not Build from Scratch)

#emerge Netscape-Flash (Macromedia Flash Plugin)

Modify the font for simsun, basically displayed and IE is almost. Here is the desktop of BlackBox:

// Other stay

If you need the related files mentioned in the text, please contact me.

转载请注明原文地址:https://www.9cbs.com/read-123776.html

New Post(0)