//删除难看字体

 sudo apt-get remove fonts-arphic-ukai fonts-arphic-uming


 sudo apt-get install fcitx-googlepinyin im-switch

 im-switch -s fcitx -z all_ALL

修改/etc/X11/xinit/xinput.d/fcitx,为:

XIM=fcitx
XIM_PROGRAM=/usr/bin/fcitx
XIM_ARGS=""
GTK_IM_MODULE=fcitx
QT4_IM_MODULE=fcitx
DEPENDS="fcitx"

=====================================================

sudo aptitude install ttf-wqy-microhei  

       

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
   <match target="pattern">
      <test qual="any" name="family">
         <string>serif</string>
      </test>
      <edit name="family" mode="prepend" binding="strong">
         <string>WenQuanYi Micro Hei</string>
         <string>AR PL UMing CN</string>
         <string>AR PL ShanHeiSun Uni</string>
         <string>WenQuanYi Bitmap Song</string>
         <string>Bitstream Vera Serif</string>
         <string>DejaVu Serif</string>
         <string>AR PL UKai CN</string>
         <string>AR PL ZenKai Uni</string>
      </edit>
   </match> 
   <match target="pattern">
      <test qual="any" name="family">
         <string>sans-serif</string>
      </test>
      <edit name="family" mode="prepend" binding="strong">
         <string>WenQuanYi Micro Hei</string>
         <string>Bitstream Vera Sans</string>
         <string>DejaVu Sans</string>
         <string>WenQuanYi Zen Hei</string>
         <string>AR PL UMing CN</string>
         <string>AR PL ShanHeiSun Uni</string>
         <string>WenQuanYi Bitmap Song</string>
         <string>AR PL UKai CN</string>
         <string>AR PL ZenKai Uni</string>
      </edit>
   </match> 
   <match target="pattern">
      <test qual="any" name="family">
         <string>monospace</string>
      </test>
      <edit name="family" mode="prepend" binding="strong">
         <string>WenQuanYi Micro Hei Mono</string>
         <string>Bitstream Vera Sans Mono</string>
         <string>DejaVu Sans Mono</string>
         <string>WenQuanYi Zen Hei</string>
         <string>AR PL UMing CN</string>
         <string>AR PL ShanHeiSun Uni</string>
         <string>WenQuanYi Bitmap Song</string>
         <string>AR PL UKai CN</string>
         <string>AR PL ZenKai Uni</string>
      </edit>
   </match> 
</fontconfig>

==============================================

sudo apt-get install ibus-pinyin unity-control-center unity-control-center-signon webaccounts-extension-common xul-ext-webaccounts

===============================================

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update

sudo apt-get install calendar-indicator

sudo apt-get install my-weather-indicator

卸载程序命令:

sudo apt-get remove calendar-indicator

移除PPA源:

sudo apt-get install ppa-purge

sudo ppa-purge ppa:atareao/atareao


auto start 配置

gnome-session-properties


chrome titile encode error

vi /etc/fonts/conf.d/49-sansserif.conf倒数第四     <string>ubuntu</string>