Arch Installation Graphical interface

Source: Internet
Author: User

Installation of the graphical interface. ---

  boot:  1 , graphics driver, here we are integrated graphics, Install Xf86-video-intel  apps  3 , Desktop: Openbox + tint2 (tint2git) + Docky    Related tools: Obconf,obmenu (and Mmaker); Wallpapers with Feh, folder management pcmanfm  4 , voice control with Alsa-plugins,alsa-utils,alsa-lib, Alsa-oss; The following pulseaudio-alsa package is also installed without a sound test, as it is superfluous.  5  , install volume tray control volumeicon  6 , network management directly on Networkmnager, pallet with Gnome-network-applet, easy to use.  7 , other such as Fizilla, MPlayer, Gnome-player ... 

1. Viewing and installing the video driver

$ LSPCI | GREP-E vga-e 3D

Enter the following command to view all open source drivers:

$ PACMAN-SS Xf86-video | Less
# pacman-s Xf86-video-intel
2.
Install Xorg-server, Xorg-server-utils,xorg-xinit
CP/ETC/X11/XINIT/XINITRC ~/.XINITRC
~/. XINITRC .if[-d/etc/x11/xinit/XINITRC.D]; Then forFinch/etc/x11/xinit/xinitrc.d/?*.sh; Do        [ -X"$f"] &&."$f"Done unset ffi# twm&# Xclock-geometry 50x50-1+1&xterm-geometry 80x50+494+Wuyi&xterm-geometry 80x20+494-0&exec xterm-geometry 80x66+0+0-name Loginexec Openbox-session

Https://archlinux.fr/yaourt-en

git clone https://aur.archlinux.org/package-query.gitcd package--Sicd. git clone https://aur.archlinux.org/yaourt.git-Sicd.

Wqy-microhei Wqy-zenhei Ttf-arphic-ukai ttf-arphic-uming

---about sound solutions

Ref: 1190000002918394

Https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture_ (%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87) # Alsa_. E5. B7. A5. E5.85.b7

ALSA reference to arch website, wiki portal

Advanced Linux Sound Architecture,alsa is a kernel component in Linux that provides sound device drivers to replace the original open sound system (open system,ossv3). In addition to sound device drivers, the ALSA also includes a library of user-space functions that allow developers to use the drive functionality through advanced APIs without having to interact directly with the kernel driver.
The Arch default kernel has been ALSA with a set of modules and does not have to be specifically installed.
Udev automatically detects the hardware at system startup and loads the appropriate sound device driver module. At this point, your sound card is ready to work, but all channels are set to mute by default.

Mute each channel

After the current version is ALSA installed, all channels are muted by default and must be removed manually.

Using alsamixer the ncurses interface, the configuration is very simple:

$ alsamixer


In addition, you can use amixer under the command line:

$ amixer sset Master unmute

In Alsamixer, the channel marked with MM below is muted, while the channel labeled 00 is enabled.
Use the ← and → arrow keys to select Master and PCM channels. Press the M key to Unmute. Use the ↑ arrow key to increase the volume until the gain value is 0. The value is displayed in the upper-left Item: After field. Excessive gain values can result in sound distortion.
To get the full 5.1 or 7.1 surround sound, you also need to unblock Front, Surround, Center, LFE (Subwoofer), and Side (the name is the channel name used by the Intel HD Audio audio card, and may vary depending on the device). differences). Note that with these settings only, the system does not automatically promote (Upmix) the stereo source (most music) into surround sound. If you need these features, please read #upmixing/downmixing.
To enable the microphone, switch to the Capture tab, press F4, and press space to enable one of the channels.
Press the ESC key to exit Alsamixer.

The problem is this.

After using the Alsamixer setting or no sound, using the second method, the error occurs:

amixer: Unable to find simple control ‘Master‘,0

Indicates that you cannot set up or can't find a sound card device, I thought there was no sound card driver installed.

Get the sound card ID and device ID of your sound card with a command

$ aplay-l**** Listof PLAYBACK Hardware Devices ****card0:HDMI [HDA Intel HDMI], device3:hdmi0 [HDMI0]Subdevices:1/1 Subdevice#0: Subdevice #0card0:HDMI [HDA Intel HDMI], device7:hdmi1 [HDMI1]Subdevices:1/1 Subdevice#0: Subdevice #0card0:hdmi [HDA Intel HDMI], device 8:hdmi 2 [HDMI 2] subdevices: 1/1 subdevice  #0: Subdevice #0card 1:pch [HDA Intel PCH], device 0:alc282 Analog [ALC282 Analog] subdevices: 1/1 subdevice  #0: Subdevice #0card 1:pch [HDA Intel PCH], device 1:alc282 Digital [ALC282 Digital] subdevices: 1 /1 subdevice  #0: Subdevice #0     

The sound card information should be no problem.

Configuring Audio in Amixer

Scontrols "Show All mixer controls

$ amixer scontrolsSimple mixer control ‘IEC958‘,0Simple mixer control ‘IEC958‘,1Simple mixer control ‘IEC958‘,2

However, there is no "Master", this should be the default sound card is not correct.

-C,--Card N "Select the card

$ amixer-c1 ScontrolsSimple mixer Control' Master ',0Simple mixer Control' Headphone ',0Simple mixer Control' Speaker ',0Simple mixer Control' PCM ',0Simple mixer Control' Mic ',0simple mixer control  ' Mic Boost ', 0simple mixer control  ' IEC958 ', Span class= "Hljs-number" >0simple mixer control  ' IEC958 Default PCM ', 0simple mixer control  ' Beep ', 0simple mixer control Span class= "hljs-string" > ' Capture ', 0simple mixer control Span class= "hljs-string" > ' Auto-mute Mode ', 0simple mixer Control 0      

The problem occurs when the default sound card is incorrect, and the solution is to modify the default sound card.

In just a moment aplay -l . Select sound card 1, device ID 0 sound card

Add the following configuration to the system-level/etc/asound.conf or user-level ~/.ASOUNDRC file. If the file does not exist, you can create it manually. Each of these IDs, please adjust according to the actual situation:

defaults.pcm.card 1defaults.pcm.device 0defaults.ctl.card 1

pcmoption determines the device used to play the audio, and ctl the option determines that the sound card can be used by a control tool such as Alsamixer.

The above configuration takes effect immediately after restarting an audio program, such as MPlayer.

Arch Installation Graphical interface

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.