快速設置指南
如果你是屬於這樣的系統,請到論壇諮詢。
當你剛剛安裝完畢之後,我們來花10分鐘設置一下系統,讓其有一個更加舒適的中文環境。
當你安裝完畢後,進入,不論你進入的是中文,還是英文,都來和我一起來創建一個合適的環境。
如果您看到 "$", 的符號, 意思是你必須在終端狀態下運行此命令. (應用程序 -> 附件 -> 終端)
"sudo" 的意思是爲超級用戶執行. "sudo" 需要提供密碼 "Password:". 請輸入您指定的用戶密碼
如果厭煩反覆鍵入 "sudo" 可以通過鍵入 "sudo -s -H" 和您的密碼轉換到超級用戶.
sudo 是什麼東西? 爲什麼不直接使用 su 進入 root 帳號?
-
修改你的源,並升級到最新的系統:
sudo gedit /etc/apt/sources.list
在編輯器裏,刪除所有東西,並在加上下面的行:
deb http://archive.ubuntu.org.cn/ubuntu/ breezy main restricted universe multiverse deb http://archive.ubuntu.org.cn/ubuntu/ breezy-security main restricted universe multiverse deb http://archive.ubuntu.org.cn/ubuntu/ breezy-updates main restricted universe multiverse deb http://archive.ubuntu.org.cn/ubuntu/ breezy-backports main restricted universe multiverse deb http://archive.ubuntu.org.cn/ubuntu-cn/ breezy main restricted universe multiverse deb http://archive.ubuntu.org.cn/backports/ breezy-extras main restricted universe multiverse
這裏你也可以直接使用更快速的ubuntu.cn99.com的源(推薦):
deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse deb http://ubuntu.cn99.com/backports/ breezy-extras main restricted universe multiverse
這裏你還可以使用速度也非常快的的mirror.lupaworld.com的源:
deb http://mirror.lupaworld.com/ubuntu/archive/ breezy main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ breezy-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ breezy main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/backports/ breezy-extras main restricted universe multiverse
保存,關閉編輯器
系統升級(如果出現需要輸入[Y/n] 或 [y/N] 一律輸入 y 並 回車):
sudo apt-get update sudo apt-get dist-upgrade
-
設置本地local環境:
sudo dpkg-reconfigure locales
確保
zh_CN.UTF-8
被選擇,同時也默認local爲zh_CN.UTF-8
-
根據你安裝的系統來選擇安裝的中文支持環境
安裝中文語言支持(Ubuntu):
sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh
安裝中文語言支持(KUbuntu)):
sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base language-support-zh
-
安裝中文字體(如果出現需要輸入[Y/n] 或 [y/N] 一律輸入 y 並 回車):
sudo apt-get install ttf-arphic-ukai ttf-arphic-uming
如果希望有更好的中文顯示,推薦 使用圓體美化 。 -
安裝輸入法,你可以在SCIM和fcitx輸入法中任選一種安裝
- SCIM:
sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad sudo 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/95xinput
- fcitx:
sudo apt-get install fcitx sudo 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/95xinput
- SCIM:
- 設置LC_ALL和其它屬性:
sudo gedit /etc/environment
-
在編輯器裏,將內容修改如下(默認使用中文界面):
LANGUAGE="zh_CN:zh:en_US:en"
LC_CTYPE=zh_CN.UTF-8
LANG=zh_CN.UTF-8
GST_ID3_TAG_ENCODING=GBK -
如果需要使用英文界面,將內容修改如下:
LANGUAGE="en_US:en"
LC_CTYPE=zh_CN.UTF-8
LANG=en_GB.UTF-8
GST_ID3_TAG_ENCODING=GBK
保存,關閉編輯器
好了,註銷一下電腦。(系統 -> 註銷 -> 註銷) 這時候,輸入法 (按
Ctrl + 空格
鍵激活輸入法) 都應該可以使用了,並且整個界面都是中文的了。 -
-
進一步設置:
安裝JAVA環境(如果出現需要輸入[Y/n] 或 [y/N] 一律輸入 y 並 回車):
sudo apt-get install sun-j2re1.5
sudo ln -sf /usr/lib/j2re1.5-sun/bin/java /usr/bin/java安裝QQ:
-
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.01.30.02.00.zip sudo unzip -o lumaqq_2005_patch_2006.01.30.02.00.zip -d /opt/LumaQQ/lib sudo chown -R root:root /opt/LumaQQ/ sudo chmod -R 755 /opt/LumaQQ/ sudo gedit /usr/share/applications/LumaQQ.desktop
- 在新增的文件內加入下面這幾行
[Desktop Entry]
Name=LumaQQ
Comment=QQ Client
Exec=/opt/LumaQQ/lumaqq
Icon=/opt/LumaQQ/QQ.png
Terminal=false
Type=Application
Categories=Application;Network; - 保存編輯過的文件
安裝完成後的快捷方式在(應用程序 -> internat -> LumaQQ)。
sudo apt-get install beep-media-player totem-xine w32codecs gstreamer0.8-plugins
在實際使用中,將所有的聲音輸出改爲 esd 輸出,如果不知如何修改,也可以參考如何混音
安裝英漢辭典(如果出現需要輸入[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-gb
安裝完成後的快捷方式在(應用程序 -> 附件 -> 星際譯王)
安裝瀏覽器的Flash支持:
sudo apt-get install flashplayer-mozilla
安裝完成後FireFox就可以支持flash了
安裝bt軟件(如果出現需要輸入[Y/n] 或 [y/N] 一律輸入 y 並 回車):
sudo apt-get install azureus
安裝完成後的快捷方式在(應用程序 -> Internet -> azureus)
高級設置:
升級你的內核,讓系統更快. 如果你的電腦是Inter芯片,則用如下命令:
sudo apt-get install linux-686
如果是AMD芯片,則使用:
sudo apt-get install linux-k7
我想查看我硬盤上的Windows下的文件怎麼辦?
參考: 自動掛載Windows分區 手工掛載Windows分區