After the basic operating system is installed, the next step is to beautify it! I believe that the effects of Ubuntu and opensuse can be achieved by arch, but have you made any effort! Okay. Check the configuration.
I. Interface
1. fonts and patches, some dependencies cannot be met, libgl and NVIDIA, and some packages won't work! Setting the font to dejavu is pretty good.
Sudo Pacman-s TTF-dejavu TTF-Ubuntu-font-family
Sudo yaourt-s wqy-microheiWqy-bitmapfontWqy-zenheiTTF-fireflylinks
Yaourt-s Cairo-Ubuntu libxft-Ubuntu freetype2-ubuntu fontconfig-Ubuntu # Run as a regular user
2. installation system theme: there are various transparent effects ~~
Sudo Pacman-s GTK-Aurora-engine GTK-engine-murrine GTK-theme-slickness GTK-theme-overglossed-hybrid
Mouse topic:
Sudo Pacman-s xcursor-vanilla-DMZ xcursor-vanilla-dmz-aa
Icon topic:
Sudo Pacman-s gnome-icon-theme-extras oxygen-icons human-icon-theme lxde-icon-theme tangerine-icon-theme azenis-icon-theme black-white-Mix- icons
3. For laptop configuration: (speed-step, suspend and other functions)
Sudo Pacman-s laptop-mode-tools gnome-power-manager cpufrequtils volumeicon pmount
4. Terminal Color Display
In the previous blog, the PS1 variable in/etc/bash. bashrc and. bashrc has been fixed. For more information, see man bash ):
Color and related values: 30 (black), 31 (red), 32 (green), 33 (yellow), 34 (blue), 35 (purple), 36 (blue), 37 (white)
Sequence and description
\ A ascii Bell character (you can also type \ 007)
\ D "wed Sep 06" format date
\ E ASCII escape character (you can also type \ 033)
The first part of the \ H Host Name (for example, "mybox ")
\ H Host Name (for example, "mybox.mydomain.com ")
\ J number of processes suspended by pressing ^ Z in this shell
\ L terminal device name of the shell (for example, "ttyp4 ")
\ N linefeed
\ R carriage return
\ S Shell Name (such as "bash ")
\ T 24-hour time (for example, "23:01:01 ")
\ T 12-hour time (for example, "11:01:01 ")
\ @ 12-hour time with AM/PM
\ U User Name
\ V bash version (e.g. 2.04)
\ V bash version (including Patch Level )? /TD>
\ W current working directory (for example, "/home/drobbins ")
\ W "basename" of the current working directory (for example, "drobbins ")
\! Position of the current command in the History buffer zone
\ # Command number (as long as you type the content, it will accumulate at each prompt)
\ $ If you are not a Super User (Root), insert a "$"; if you are a super user, a "#" is displayed "#"
\ XXX inserts an ASCII character in the format of "three-digit XXX" (replace unused digits with zero, for example, "\ 007 ").
\ Backslash
Ii. Various harsh alarm sounds
I fixed the problem by modifying several configuration files in my previous blog, but I found some files on the Internet. I don't know if it is useful. I 'd like to leave them first, maybe they will be useful in the future:
In fact, the kernel module pcspkr is the driver system horn module. Just disable it. Run sudo modprobe-r pcspkr on the command line. The best way is to add it to the blacklist. The method is as follows: add blacklist pcspkr to/etc/modprobe. d/blacklist to test again. There is no annoying system speaker sound.
3. garbled problem (unsolved)
When I use xfce4, I always use an English interface, and then the input method uses Chinese, which works well in other versions of Linux. However, garbled characters may occur on the arch terminal, changing the local language Lang variable to Chinese.Zh_cn.utf8Then, I found that the terminal could display Chinese characters normally! It seems that it is more reliable to set the system to Chinese! But Vim is still garbled, and the following settings are not supported by most people! Alas, the garbled problem is always painful!
Set fileencodings = UTF-8, GBK, gb2312, gb18030
Set termencoding = UTF-8
Set encoding = PRC
Iv. automatic mounting of USB flash drives
This problem has been entangled for a long time. At first, I wrote a script to manually mount it. Now I have finally solved it (not complicated, and I don't need to write any rule files). The exploration process is as follows:
1. At first I added udev (related to device management) to daemons and found that it can be mounted. There are icons on the desktop, but the device cannot be opened. The system always prompts "not authorized"
2. I thought it was a permission issue. I added myself to other groups, such as root, wheel, optial, user, disk, volume, storage, usbmux, and network.
Sudo gpasswd-A xiangzi888 audio
3. on the Internet, the. xinitrc file is modified, but I have not installed logon management.Program(It is manually switched to startxfce4 in the graphic interface). Is there a problem here? As a result, a slim is installed (for details about the installation process, refer to), and it is automatically mounted! No garbled characters! Incredible!
4. Install the logon Management Program SLIM:
A. Install
Sudo Pacman-sy slim-themes
B. System Configuration
/Etc/rc. conf add Slim to daemons
Daemons = (syslog-NG network crond restart udev ALSA slim)
/Etc/inittab modify startup level and program
# # Only one of the following two lines can be uncommented!
# Boot to console
# ID: 3: initdefault:
# Boot to X11
ID: 5: initdefault:
......
# Example lines for starting a login Manager
# X: 5: respawn:/usr/bin/xdm-nodaemon
# X: 5: respawn:/usr/sbin/TPD-nodaemon
# X: 5: respawn:/usr/bin/KDM-nodaemon
X: 5: respawn:/usr/bin/slim>/dev/null 2> & 1
C. Slim settings
The configuration file is in/etc/slim. conf. After SLIM is started, it will call ~ /. Xinitrc, but found that the file was not automatically generated, so you need to manually create it (otherwise there will be a problem during startup !), The content is as follows:
Export lang = "zh_CN.UTF-8" # set local language to avoid garbled/etc/rc. conf can be set to English
Exec CK-launch-session startxfce4
D. Miscellaneous
Change the topic, configuration file:/etc/slim. conf, find current_theme default, and replace it with any of the following:
Ls/usr/share/slim/themes
Logon interface: For username, enter the following command (which can be customized in the configuration file). For details, see/etc/slim. conf:
Console (terminal logon), exit (character interface logon), halt, reboot
# Default User, leave blank or remove this line
# For avoid pre-loading the username.
# Default_user Simone
Default_user xiangzi888
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
Focus_password Yes
# Automatically login the Default User (without entering
# The password. set to "yes" to enable this feature
Auto_login Yes
# Current theme, Use comma separated list to specify a set
# Randomly choose from
Current_theme rainbow
# Lock File
Lockfile/var/lock/slim. Lock
# Log File
Logfile/var/log/slim. Log
5. Basic Pacman usage:
This is a powerful command line package management tool, which basically relies on the software to be installed.
1. Installation and update
-Syu updates the entire system.
-S PAC install a package
-Install Sy PAC after synchronizing the package Database
-The sv pac displays some operation information before installation.
-U install local package with the extension pkg.tar.gz
2. Delete
-R pac: only delete packages
-Rc pac: delete dependencies simultaneously
-Rd PAC does not check Dependencies
3. Search
-Search for keywords in the SS key
-Qi PAC: View package information
-Ql pac: list files of the package
4. Miscellaneous
-Sw pac: Download only, not install
-SC clears uninstalled package files (the downloaded package files are located at/var/Cache/Pacman/PKG /)
-SCC clears all cached files
Vi. virtualbox Installation
It is very necessary to install a virtual machine. Remember to load the corresponding module: (otherwise an error will be prompted)
Modprobe vboxdrv