歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 重裝Ubuntu後要做的幾件事情

重裝Ubuntu後要做的幾件事情

日期:2017/2/28 16:09:51   编辑:Linux教程

root 帳號

sudo passwd root

.bashrc

alias cls='clear screen'

vimrc

安裝vim後修改.vimrc文件內容如下:

" 高亮顯示匹配的括號

set showmatch

" 繼承前一行的縮進方式,特別適用於多行注釋

set autoindent

" 為C程序提供自動縮進

set smartindent

" 使用C樣式的縮進

set cindent

" 制表符為4

set tabstop=4

" 統一縮進為4

set softtabstop=4

set shiftwidth=4

" 所有制表符都轉換為空格

set expandtab

let &termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936        "vim對中文編碼的支持

fcitx

$ sudo apt-get install fcitx-table-wubi fcitx-config-gtk

此代碼安裝的是小企鵝五筆、拼音及雙拼輸入法。
如果沒有fcitx-table-wubi,則只安裝了拼音和雙拼輸入法,而沒有五筆輸入法。

gedit對中文編碼的支持

gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GBK,BIG5-HKSCS,UTF-16]"

Adobe Flashplayer for Chromium and firefox

http://get.adobe.com/cn/flashplayer上在線安裝,或者把包下載下來,解壓後得到一個.so文件,把它放到/usr/lib/chromium-browser/plugins和/usr/lib/firefox-addons/plugins下

安裝開發必備的一些庫

sudo apt-get install auto-conf, libtool, xutils-dev,zlib1g-dev,uuid-dev,libpcre3-dev,

接下來你就可以編譯安裝Larbin和Xapian了。

Copyright © Linux教程網 All Rights Reserved