经过一个晚上的奋战,我终于修改了大部分前面所发现的问题,但是还有好多问题没能解决,
并写成一个快速配置脚本,虽然不是全自动的但是不用自己再一个一个的通过apt-get来查
找或者一个一个上网查找下载,照这种进度大约在半小时就能达到我今天晚上所做出的努力,
哈哈哈!看样子还是懒人会做事……
echo ====================
echo 调试自动更新
echo ====================
sudo cp ./sources.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
echo ====================
echo 更改输入法scim为fcitx
echo ====================
sudo apt-get remove scim
sudo apt-get install fcitx
sudo sh -c ” echo ‘export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE=”fcitx” ; export
QT_IM_MODULE=”fcitx” ; fcitx ‘ > /etc/X11/Xsession.d/95xinput ”
sudo chmod +755 /etc/X11/Xsession.d/95xinput
echo ====================
echo 安装 Java5
echo ====================
sudo apt-get install sun-java5-jdk
sudo update-alternatives –config java
echo ====================
echo 安装 QQ
echo ====================
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz
sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/
wget -c http://download.ubuntu.org.cn/software/lumaqq_2005_patch_2006.02.02.15.00.zip
sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib
sudo chown -R root:root /opt/LumaQQ/
sudo chmod -R 755 /opt/LumaQQ/
sudo cp QQ.desktop /usr/share/applications/QQ.desktop
echo ====================
echo 安装 多媒体
echo ====================
sudo apt-get install libxine-extracodecs totem-xine mplayer-686 ffmpeg lame faad soxmjpegtools libxine-main1
sudo apt-get install gstreamer0.10-*
echo ====================
echo 安装 Flash插件
echo ====================
sudo apt-get install flashplugin-nonfree
echo ====================
echo 安装英汉辞典
echo ====================
sudo apt-get install stardict stardict-common stardict-cdict-gb stardict-cedict-gb stardict
-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-
gb stardict-xdict-ec-gb
注:
考虑到麻烦的问题因此我把脚本也上传上来