经常看到QQ群,论坛里面会有人问archlinux下修改桌面菜单,以及怎么修改下载源的问题。以下就这二个问题说一下
1,修改archlinux桌面菜单
我装的fluxbox,一个X窗口管理器,一个特别简小的桌面。装好后,里面就自带的有桌面菜单,但是菜单内容有些并不是我所要的。所以我想修改一下。
[root@BlackGhost .fluxbox]# ls //下面有一个menu文件 apps init lastwallpaper overlay startup fbrun_history keys menu slitlist windowmenu [root@BlackGhost .fluxbox]# pwd /home/zhangy/.fluxbox
.fluxbox下面有一个menu,这个文件就是修改X桌面菜单地方。如果blackbox,openbox等其他的X桌面,我想也有修改桌面菜单的地方。
2,修改archlinux源
archlinux的pacman根ubuntu下的apt get ,centos,redhat 下的yum这类软件管理工具差不多。安装archlinux时pacman就会被安装,他的配置文件放在/etc/pacman.conf下面,
[core] # Add your preferred servers here, they will be used first Server = http://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/os/i686/ Server = http://ftp.sjtu.edu.cn/pub/mirror2/www.archlinux.org/core/os/i686 #Server = http://mirror.lupaworld.com/archlinux/core/os/i686/ #Server = http://mirrors.gigenet.com/archlinux/core/os/i686/ Include = /etc/pacman.d/mirrorlist [extra] # Add your preferred servers here, they will be used first Server = http://mirror.lupaworld.com/archlinux/extra/os/i686/ Server = http://ftp.sjtu.edu.cn/pub/mirror2/www.archlinux.org/extra/os/i686 #Server = http://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/extra/os/i686/ #Server = http://mirrors.gigenet.com/archlinux/extra/os/i686/ Include = /etc/pacman.d/mirrorlist [community] # Add your preferred servers here, they will be used first Server = http://ftp-linux.cc.gatech.edu/pub/linux/distributions/community/extra/os/i686/ #Server = http://mirror.lupaworld.com/archlinux/community/os/i686/ Server = http://ftp.sjtu.edu.cn/pub/mirror2/www.archlinux.org/community/os/i686 #Server = http://mirrors.gigenet.com/archlinux/community/os/i686/ Include = /etc/pacman.d/mirrorlist
上面就是我经常用的下载源。
转载请注明
作者:海底苍鹰
地址:http://blog.51yip.com/linux/1035.html
新版本的Archlinux中,直接包含了163的源,用这个效果目前个人感觉好似最好的!
我觉得离你越近的源,越快。少了很多路由中转。