4-5-archlinux

Source: Internet
Author: User
Tags locale

ArchLinux Toss record and feeling (middle)

I was excited to see that arch was booted from the local hard drive and was able to connect to the WiFi successfully.

However, this is just the beginning.

Next, you need to configure the basic graphical interface, browser, font, IME, window manager, File Manager ... Customize a lightweight operating system dedicated to your own.

Basic System Configuration
  1. Create a desktop user for daily use and add root privileges to the user and use zsh as the terminal

    # pacman -S zsh# useradd -m -g users -G audio,video,floppy,network,rfkill,scanner,storage,optical,power,wheel,uucp -s /usr/bin/zsh archie

    Configure zsh, use (zsh configuration) [http://www.cnblogs.com/ma6174/archive/2012/05/08/2490921.html] configuration file for this page

  2. Install Xwindow. Xorg is an open source implementation of version 11 of the X Window System, providing a basic graphical user interface framework.

    # pacman -S xorg-server xorg-apps

    If you do not use the login manager to start X, you need to install the package Xorg-xinit

    The StartX and Xinit commands will start the X server and the client (StartX script is the front end of the more General Command Xinit). In order to determine which client to run, startx/xinit resolves the ~/.xinitrc file in the user directory first, and if ~/.XINITRC does not exist, uses the default/ETC/X11/XINIT/XINITRC, where the Twm window manager is used by default. Xterm Terminals and Xclock

  3. Installing the video driver

    This step is special and needs to be done with actual hardware. This machine is an example, with integrated graphics and ATI discrete graphics

    # pacman -S xf86-video-intel xf86-video-ati
  4. Installing the window Manager i3

    # pacman -S i3-wm

    Edit ~/.xinitrc, add

    exec i3

    The STARTX boot i3 can now be executed directly on the TTY.

    # startx

    Keyboard ctrl + enter . The i3 is assembled and the original X interface containing the xterm is displayed.

  5. Installing the browser

    # pacman -S firefox firefox-i18n-zh-cn# firefox &

    After loading and running the browser, you will be able to access the Arch wiki page, view the document in real time, and install, Debug and configure the required system components and software.

    However, you should be able to find that Firefox is very poor at this time to browse Chinese, there will be jagged display, this is because the system Chinese fonts are not configured.

  6. Install the Chinese locale, locale.conf set the global valid locale through the file

    LANG=en_US.UTF-8

    It is not recommended to set the Chinese locale here, which will cause TTY garbled, and can display and input Chinese under TTY, but need to install CCE, Zhcon or Fbterm

    You can set the Chinese locale separately in ~/.XINITRC or ~/.xprofile. Add the following to the most front-end comments of the above file (if you are unsure which file to use, you can add it)

    export LANG=zh_CN.UTF-8export LANGUAGE=zh_CN:en_USexport LC_CTYPE=en_US.UTF-8

    If you want to put this three lines in ~/.xinitrc, be careful to place them before the exec _example_wm_or_de_ line

  7. Install fonts

  8. Input

    # pacman -S fcitx fcitx-sunpinyin

    FCITX is a GPL-published input Method platform, Fcitx-sunpinyin is a good effect of Chinese input. It is also necessary to include in the .xinitrc file:

    export GTK_IM_MODULE=fcitxexport QT_IM_MODULE=fcitxexport XMODIFIERS="@im=fcitx"fictx &

    If you can't switch the Chinese input method in Firefox, you can follow the fctix -diagnose prompts to troubleshoot the error.

  9. File Manager

    # pacman -S thunar

A simple, lightweight system to this basic configuration, you can see in the top of the memory occupancy rate of less than 15%. Richer functionality also requires the installation of a familiar application.

In the next article will be more extensive common software installation, configuration introduction.

4-5-archlinux

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.