ArchLinux System Improvement (1)

Source: Internet
Author: User
Tags wubi

Install sudo, add users

# pacman-s sudo
# useradd-m-G wheel-s/bin/bash XXX
# passwd XXX
# Visudo

# %wheel all= (All) All this line back comment out


Intel's CPUs need to be installed microcode, especially the Haswell and Broadwell series CPUs, in order to stabilize the system.

# pacman-s Intel-ucode


Installing xorg and graphics drivers

The kernel with the Nouveau driver support for gtx960m is not very good, not long ago the fedora22 will crash, the screen shows a bunch of information about Nouveau. Newer graphics cards are better than private drivers. Intel+nvidia dual Graphics is troublesome, according to Wiki,bumblebee should be the best choice.

# pacman-s Bumblebee Mesa Xf86-video-intel nvidia Mesa-demos Bbswitch xorg-server xorg-server-utils

There are 4 LIBGL to choose Mesa-libgl,bumblebee need this.

If you need to run a 32-bit program, you also have to Pacman open Multilib for several 32-bit libraries.

Add users to a bumblebee group

# gpasswd-a XXX Bumblebee

n card may be shut down due to shutdown when the boot can not be properly initialized, it is estimated that there is a constant nouveau the message of the word of the crash reason. The workaround is to wake the N card when it is turned off.

/etc/systemd/system/nvidia-enable.service
[Unit] Description=enable NVIDIA carddefaultdependencies=no[service]type=oneshotexecstart=/bin/sh-c ' echo on >/proc/ Acpi/bbswitch ' [Install]wantedby=shutdown.target
# Systemctl Enable Nvidia-enable.service


Install desktop environment, here is Xfce4

# pacman-s Xfce4 xfce4-goodies

Edit ~/.xinitrc, join:

EXEC Startxfce4

So we can get into the desktop.

$ startx


Install fonts

$ sudo pacman-s adobe-source-han-sans-tw-fonts adobe-source-han-sans-otc-fonts wqy-microhei Wqy-zenhei Ttf-arphic-ukai ttf-arphic-uming opendesktop-fonts Wqy-bitmapfont ttf-hannom

Installing FCITX

$ sudo pacman-s fcitx fcitx-configtool fcitx-gtk2 fcitx-gtk3 fcitx-qt4

Edit ~/.XINITRC before the EXEC statement, add

Export GTK_IM_MODULE=FCITX export QT_IM_MODULE=FCITX export [email PROTECTED]=FCITX

Logout, log back on to the desktop

FCITX will automatically start in a compatible XDG desktop environment (GNOME,XFCE,KDE,LXDE, etc.) and can find FCITX self-boot files under/etc/xdg/autostart

Into the desktop in the upper right corner of the keypad icon right-click, select Configure current Input method, and then point to the lower left corner plus, remove only show the current language hook, pull down to find Wubi, add Wubi input.


ArchLinux System Complete (1)

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.