背景:
阅读新闻
为ArchLinux安装桌面和一些必要软件
[日期:2014-04-08] 来源:Linux社区 作者:sunnypotter [字体:]
现在要给ArchLinux安装xorg-server,和DE(桌面环境):
# 1、关闭PC小喇叭
# vim /etc/modprobe.d/nopcspkr.conf
blacklist pcspkr
# 2.1、创建用户:
useradd -m -g users -s /bin/bash sunny
# 2.1.1 locale
vim /etc/locale.gen
+ en_US.UTF-8 UTf-8
+ zh_CN.GBK GBK
+ zh_CN.UTF-8 UTF-8
+ zh_CN GB2312
locale-gen
# 2.2、安装 X:
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils mesa
# 2.3、显卡驱动
pacman -S xf86-video-vesa # 通用显卡驱动,不提供任何2D和3D加速功能
pacman -S xf86-video-intel # Intel
pacman -S xf86-video-nouveau # Nvidia
pacman -S nouveau-dri
# pacman -S xf86-video-ati # Ati
#
# 虚拟机: pcaman -S xf86-video-vesa
# 2.4、笔记本触摸板支持
pacman -S xf86-input-synaptics
# 2.5、测试X工作是否正常
pacman -S xorg-twm xorg-xclock xterm
# 2.6、现在可以用startx启动X看到简陋的图形界面.
startx
# 3、安装桌面(xfce4 kde lxde gnome):
# pacman -S gnome # gnome-session
pacman -S kde # kde
cp /etc/skel/.xinitrc $HOME/.xinitrc
vim .xinitrc
# + xrandr -s 1366x768 # 制定屏幕分辨率
+ exec startkde # kde
# + exec gnome-session # gnome
# 4、安装fcitx输入法
pcaman -S fcitx
pcaman -S kcm-fcitx # For kde
pacman -S fcitx-googlepinyin # Google拼音
# 配置中文输入法:
fcitx-configtool
# 在Input Method -> 去掉Only Show Currentt Language勾 -> 搜索Chinese -> Google Pinyin
# 在$HOME/.xinitrc里添加:
vim $HOME/.xinitrc
+ export GTK_IM_MODULE=fcitx
+ export QT_IM_IMDULE=fcitx
+ export XMODIFIERS="@im=fcitx"
# 5、KDM: KDE Display Manager : pacman -S kdm
# GDM: pacman -s gdm
# 6.Firefox flashplugin
pacman -S firefox flashplugin
# 7. yaourt
vim /etc/pacman.conf
+ [archlinuxfr]
+ SigLevel = Never
+ Server = $arch
pacman -S yaourt
# 7.1 aur: google-chrome
pacman -S google-chrome
# 8.Some softwares
pacman -S openssh # sshd
pacman -S git # git
pacman -S subversion
pacman -S wget # wget
pacman -S net-tools # ifconfig
pacman -S dnsutils # nslookup
# 9.njit-client
mkdir build && cd build
wget https://github.com/linzsummer/njit8021xclient_for_swufe/archive/master.zip
unzip master.zip
pacman -S automake autoconf libpcap pkg-config
# pacman -S libssl
./configure
make
make install
cd .. && rm -rf build
# 10. wps: becauselibreoffice is too large, so instead of wps
vim /etc/pacman.conf
+ [multilib]
+ SigLevel = PackageRequired
+ Include = /etc/pacman.d/mirrorlist
pacman -Syu # renew database (Repository multilib)
yaourt -S kingsoft-office
# 11. gnome shortcuts
Super+(pg up)/(pg dn) # exchange screen
# 12. Find the real path of the Command
# type [Command]
type firefox
# 13. clean pacman cache
pacman -Scc
pacman -S -l # list pacman install packages
# 14.Static IP Address
cd /etc/netctl
cp examples/ethernet-static my-network
# Then edit the profile as needed
vim my-network
# Next, Start Netctl
netctl enable my-network
netctl start my-network
相关资讯 Archlinux
本文评论 查看全部评论 (0)
尊重网上道德,遵守中华人民共和国的各项有关法律法规 承担一切因您的行为而直接或间接导致的民事或刑事法律责任 本站管理人员有权保留或删除其管辖留言中的任意内容 本站有权在网站内转载或引用您的评论 参与本评论即表明您已经阅读并接受上述条款
评论声明
最新资讯