当前位置:Linux教程 - Linux综合 - Ubuntu快速设置指南

Ubuntu快速设置指南

  当你刚刚安装完毕之后,我们来花10分钟设置一下系统,让其有一个更加舒适的中文环境。1. 修改你的源,并升级到最新的系统:sudo gedit /etc/apt/sources.list在编辑器里,删除所有东西,并在加上下面的行:deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiversedeb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiversedeb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiversedeb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricteddeb http://archive.ubuntu.org.cn/backports hoary-backports main universe multiverse restricteddeb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted保存,关闭编辑器2. 系统升级(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):sudo apt-get updatesudo apt-get dist-upgrade3. 安装中文语言支持:设置本地local环境:sudo dpkg-reconfigure locales确保 zh_CN.UTF-8 被选择,同时也默认local为 zh_CN.UTF-8sudo apt-get install language-pack-zh language-pack-zh-base language-support-zh安装中文字体(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):sudo apt-get install ttf-arphic-newsungsudo apt-get install ttf-vera-yuan4. 安装输入法,你可以在SCIM和fcitx输入法中任选一种安装SCIM:sudo apt-get install scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-padsudo sh -c " echo 'eXPort XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "sudo chmod +755 /etc/X11/Xsession.d/95xinputfcitx:sudo apt-get install fcitxsudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "sudo chmod +755 /etc/X11/Xsession.d/95xinput5. 设置LC_ALL和其它属性:sudo gedit /etc/environment在编辑器里,将内容修改如下:LANGUAGE="zh_CN:zh:en_US:en"LC_ALL=zh_CN.UTF-8LANG=zh_CN.UTF-8GST_ID3_TAG_ENCODING=GBK保存,关闭编辑器好了,注销一下电脑。(系统 -> 注销 -> 注销) 这时候,输入法 (按 Ctrl + 空格 键激活输入法) 都应该可以使用了,并且整个界面都是中文的了。6. 安装Java环境(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):sudo apt-get install sun-j2re1.57. 安装QQ:wget -c http://lumaqq.Linuxsir.org/download/2004/lumaqq_2004-linux_gtk2_x86_no_jre.tar.gzsudo tar zxvf lumaqq_2004-linux_gtk2_x86_no_jre.tar.gz -C /opt/wget -c http://lumaqq.linuxsir.org/download/patch/lumaqq_2004_patch_2005.05.09.13.55.zipsudo unzip -o lumaqq_2004_patch_2005.05.09.13.55.zip -d /opt/LumaQQ/libsudo chown -R root:root /opt/LumaQQ/sudo chmod -R 755 /opt/LumaQQ/sudo gedit /usr/share/applications/LumaQQ.desktop在新增的文件内加入下面这几行[Desktop Entry]Name=LumaQQComment=QQ ClientExec=/opt/LumaQQ/lumaqqIcon=/opt/LumaQQ/QQ.pngTerminal=falseType=ApplicationCategories=Application;Network;保存编辑过的文件安装完成后的快捷方式在(应用程序 -> internat -> LumaQQ)。8. 安装英汉辞典(如果出现需要输入[Y/n] 或 [y/N] 一律输入 y 并 回车):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-g安装完成后的快捷方式在(应用程序 -> 附件 -> 星际译王)10. 升级你的内核,让系统更快.如果你的电脑是Inter芯片,则用如下命令:sudo apt-get install linux-686如果是AMD芯片,则使用:sudo apt-get install linux-k7
[1] [2] 下一页 

(出处:http://www.sheup.com)


上一页 [1] [2]