2012/11/27

Ubuntu Commands


中文字型異常修正
sudo sed -i '/DejaVu/d ; /Bitstream Vera/d ; /WenQuanYi Bitmap Song/d' /etc/fonts/conf.avail/69-language-selector*
sudo rm /usr/share/locale-langpack/zh*/LC_MESSAGES/friendly-recovery.mo /usr/share/locale-langpack/zh*/LC_MESSAGES/newt.mo

移除面板上的 Me 選單
sudo apt-get remove --purge indicator-me

更換輸入法
sudo apt-get install scim scim-chewing && sudo im-switch -s scim-bridge

修正 Gedit 的亂碼
gconftool-2 -s /apps/gedit-2/preferences/encodings/auto_detected --type list --list-type string '[UTF-8,BIG5,BIG5-HKSCS,EUC-TW,CURRENT,ISO-8859-15,UTF-16]'

11.04Compiz Unity 衝突 
rm -rf ~/.compiz* ~/.config/compiz* ~/.cache/compiz* ~/.gconf/apps/compiz*

Unity:改善 Firefox 選單的可用性 
sudo apt-get remove --purge firefox-globalmenu

UnityLiberOffice Unity 整合
sudo apt-get install lo-menubar

Unity:更方便地切換工作區
請按Alt+F2輸入gconf-editor
到「/apps/compiz-1/plugins/vpswitch/screen0/options
將「next_button」設為「Button5
將「prev_button」設為「Button4
便可在桌面空白處使用滑鼠滾輪切換工作區。 

Unity:取消桌面上的掛載圖示
Unity的啟動器列可以自動顯示掛載的硬碟、光碟、隨身碟等等。
所以假如想取消在桌面顯示掛載的硬碟、光碟、隨身碟等以增加美觀,
請按Alt+F2輸入gconf-editor 後,
/apps/nautilus/desktop/volumes_visible 取消 volumes_visible

必裝軟體
sudo apt-get install lha p7zip-full unrar poppler-data gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly usb-modeswitch flashplugin-installer

Unity 2D
有些顯示卡因為不支援OpenGL導致沒有辦法正常的開啟 Unity 標準模式,請安裝 Unity 2D 來享受新的介面:
sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily
sudo apt-get update
sudo apt-get install unity-2d

移除孤立套件
移除「因依賴關係而被裝上,但後來主套件已被移除而不再被需要的」孤立套件 
sudo apt-get autoremove --purge

移除快取檔案
移除「更新系統或安裝軟體時下載的」快取檔案 
sudo apt-get clean

轉載來源:Ubuntu 正體中文 Wiki

沒有留言:

張貼留言