1. vim
(1) sudo apt-get install vim
(2) vi ~/.vimrc
添加内容如下:
-
set nu
-
set hlsearch
-
set background=dark
-
set autoindent
-
set mouse=a
-
set wildmenu
-
set foldmethod
-
set sta
-
set nocompatible
-
set history=1000
-
syntax enable
-
filetype on
-
set smartindent
-
set backspace=2
-
set showmode
-
set showmatch
-
set ruler
-
set incsearch
-
set enc=utf-8
-
set tabstop=4
-
set shiftwidth=4
-
set winaltkey=no
-
set laststatus=2
-
set hidden
-
set showcmd
-
set foldenable
2. 修改.bashrc
(1) PS中,修改终端路径显示:把w改为W即可只显示当前目录
(2) alias
-
alias cls='clear'
-
alias vi='vim'
-
alias edit='gedit'
-
alias acc='arm-linux-gcc'
3. 交叉编译环境
-
tar -xvf 工具包.tar.gz -C /usr/local/share/
4. 设置环境变量
-
export PATH=$PATH:交叉编译工具包路径
-
如笔者的:
-
export PATH=$PATH:/opt/EmbedSky/4.3.3/bin
5. 让VMware支持Unity
(1) 安装VMware Tools
(2) 安装Gnome桌面,启用Gnome Classic(NoEffect)
-
sudo apt-get install gnome-session-fallback
-
sudo apt-get install gnome-shell
-
sudo apt-get isntall gnome
阅读(1275) | 评论(0) | 转发(0) |