前言
为什么不要公司的电脑,是由于160G的ssd硬盘实在是太小了,并且我又不会用windows,刷机有须要windows上的工具,因此仅仅能自己掏腰包再购置一台电脑了。奢侈啊!
U盘安装Ubuntu13.10
无线网卡驱动
$ lspci
ThinkPad E431的无线网卡型号是:BCM43142,又一次安装无线网卡驱动:
$ sudo apt-get update $ sudo apt-get install --reinstall bcmwl-kernel-source
重装bcm驱动之后,无线网卡的问题基本就攻克了。
替换源
deb http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse #Added by software-properties deb http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse #Added by software-properties deb http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse #Added by software-properties
设置BIOS
ThinkPad E431 SB啊,默认关闭这个功能,我擦!
搭建Android开发环境
配置Terminal
安装Manaco等宽字体
#!/bin/bash #script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/ #tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/ cd /usr/share/fonts/truetype/ #if monaco dir not exists, then create it if [ ! -d ttf-monaco ]; then sudo mkdir ttf-monaco fi cd ttf-monaco/ sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf #create an index of X font files in a directory sudo mkfontdir #go to parent folder /usr/share/fonts/truetype cd .. fc-cache
配置terminal使用solarized配色
配置dircolors
#enable color for gnome-terminal
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls=\'ls --color=auto\'
#alias dir=\'dir --color=auto\'
#alias vdir=\'vdir --color=auto\'
alias grep=\'grep --color=auto\'
alias fgrep=\'fgrep --color=auto\'
alias egrep=\'egrep --color=auto\'
fi
# some more ls aliases
alias ll=\'ls -alF\'
alias la=\'ls -A\'
alias l=\'ls -CF\'
source .bashrc就可以
配置VIM为默认文本编辑器
# set vim to default editor export EDITOR=/usr/bin/vim
效果
中文文件夹名改为英文
经常使用工具
Chromium
配置Adobe Flash Player
Installing using the plugin tar.gz: o Unpack the plugin tar.gz and copy the files to the appropriate location. o Save the plugin tar.gz locally and note the location the file was saved to. o Launch terminal and change directories to the location the file was saved to. o Unpack the tar.gz file. Once unpacked you will see the following: + libflashplayer.so + /usr o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type: + cp libflashlayer.so <BrowserPluginsLocation> o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type: + sudo cp -r usr/* /usr
chromium在Ubuntu13.10的插件文件夹位置为:/usr/lib/chromium-browser/plugins。安装脚本例如以下:
#!/bin/bash #unpack adobe dir adobe_dir=/home/wzy/Downloads/flash #copy .so to chromium plugins direcotry cp $adobe_dir/libflashplayer.so /usr/lib/chromium-browser/plugins #copy abobe flash player settings configurations files to /usr directory target_dir=/usr for dir in `ls $adobe_dir/usr`; do if [ -d $target_dir/$dir ]; then cp -r $adobe_dir/usr/$dir/* $target_dir/$dir/ else cp -r $adobe_dir/usr/$dir $target_dir fi done
谷歌拼音输入法
$ sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update $ sudo apt-get install fcitx-googlepinyin
shutter
VirtualBox
(2)将”网络控制器”选项取消勾选, 便于启动。
影音
$ sudo apt-get install vlc