Created
October 19, 2011 05:28
-
-
Save zhhailon/1297528 to your computer and use it in GitHub Desktop.
My setup of arch linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start | |
# root登录 | |
pacman -Syu | |
pacman -Syu | |
adduser | |
# group: audio,lp,optical,storage,video,wheel,games,power,scanner | |
pacman -S sudo | |
visudo | |
# 找到 %wheel ALL=(ALL)ALL 取消注释 | |
for i in cdrom cdrw dvd dvdrw; do ln -s /dev/sr0 /dev/$i; done | |
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils | |
# 安装x | |
pacman -S mesa | |
# 3D支持 | |
pacman -S xf86-video-intel | |
# 执行命令 pacman -Ss xf86-video 找到自己对应的显卡驱动 | |
pacman -S xf86-input-synaptics | |
# 触摸板支持 | |
pacman -S dbus | |
# 数据总线?支持 | |
rc.d start dbus | |
vi /etc/rc.conf | |
# 直接G到最后一行修改 DAEMONS=(... dbus ...) | |
vi /etc/pacman.conf | |
# 直接G到最后一行添加 | |
# [archlinuxfr] | |
# Server = http://repo.archlinux.fr/i686 | |
pacman -Syu yaourt | |
# 安装yaourt,这样就可以想用pacman一样安装AUR中的包了 | |
pacman -S ttf-dejavu | |
yaourt -S wqy-microhei | |
# 安装字体 | |
pacman -S kde kde-l10n-zh_cn | |
# 安装kde | |
vi /etc/inittab | |
# 配置开机启动KDM | |
# 注释掉 id:3:initdefault | |
# 取消 id:5:initdefault 的注释 | |
# 注释掉 x:5:respawn:/usr/bin/xdm -nodaemon | |
# 取消 x:5:respawn:/usr/bin/kdm -nodaemon 的注释 | |
pacman -S alsa-utils alsa-oss alsa-plugins | |
# alsa附加功能 | |
# 安装输入法Fcitx | |
pacman -S fcitx fcitx-qt fcitx-gtk2 fcitx-gtk3 | |
vi .xprofile | |
# export QT_IM_MODULE=fcitx | |
# export GTK_IM_MODULE=fcitx | |
# export XMODIFIERS="@im-fcitx" | |
# 安装Network Manager | |
pacman -S networkmanager kdeplasma-applets-networkmanagement | |
/etc/rc.d/network stop | |
ip link set down eth0 | |
ip link set down wlan0 | |
vi /etc/rc.conf # DAEMONS=( ...dbus networkmanager... ) | |
# 安装AppSet | |
yaourt appset | |
# 安装Sublime Text 2 | |
yaourt subl | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment