ubuntu12.04/14.04配置

安装阿里源

14.04源

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

12.04的源只需要将里面的trusty换成precise即可。
将给内容覆盖/etc/apt/sources.list内容即可。(最好先备份一下)

安装pycharm、shadowsocks

sudo add-apt-repository ppa:mystic-mirage/pycharm  # 添加 pycharm ppa源

sudo add-apt-repository ppa:hzwhuang/ss-qt5 # 添加 ss-qt5 ppa源(14.04及以上支持)

sudo apt-get update

sudo apt-get install pycharm/pycharm-community

添加之后如果遇到ppa源无法连接到的问题,可以通过Ubuntu自带的update-manager工具查看是否ppa源添加过多或者存在其他问题。

安装open-in-terminal

sudo apt-get install nautilus-open-terminal

安装中文输入

进入【settings】-> 【Lanuage Support】,点击 Install/Remove Languages,选择Chinese(simplified),点击 Apply Changes开始安装中文支持,安装成功后,在终端输入 ibus-setup,进行输入法配置,进入 Input Method标签页,添加 Chinese-Pinyin输入法即可。

附:

Ubuntu虚拟机安装之后登陆黑屏的解决方法:设置Ubuntu虚拟机的显示器,取消【加速3D图形】选项