Several things to do after Ubuntu is reinstalled

Source: Internet
Author: User
Root Account sudopasswdroot. bashrcaliascls = 'clearscreen' vimrc install vim and modify it. the content of the vimrc file is as follows: "The highlighted matching brackets setshowmatch" inherit the indent mode of the previous line, especially for multiline annotation setautoindent "provides automatic indent setsmartindent & n for the C program

Root Account

Sudo passwd root

. Bashrc

Alias cls = 'clearscreen'

Vimrc

After vim is installed, modify the. vimrc file as follows:

"Highlight matching brackets

Set showmatch

"Inherits the indentation of the previous line, especially for multiline comments.

Set autoindent

"Provides automatic indentation for C Programs

Set smartindent

"Use C-style indent

Set cindent

"Tab: 4

Set tabstop = 4

"Unified indent to 4

Set softtabstop = 4

Set shiftwidth = 4

"All tabs are converted to spaces.

Set expandtab

Let & termencoding = & encoding
Set fileencodings = UTF-8, gbk, ucs-bom, cp936 "vim supports Chinese Encoding

Fcitx

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

This code is installed with five strokes, Pinyin, and double spelling input methods.
If you do not have fcitx-table-wubi, you have installed only the Pinyin and double spelling input methods, but not the five-stroke input methods.

Gedit's support for Chinese Encoding

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

Adobe Flash Player for Chromium and firefox

Go to renewal

Install necessary libraries for development

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

Then you can compile and install Larbin and Xapian.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.