Ubuntu 安装之后要做的若干事

2017-12-14  本文已影响0人  不按牌路出套

更换源

改为如下

deb https://mirrors.tuna.tsinghua.edu.cn/linuxmint sonya main upstream import backport 
deb http://mirrors.aliyun.com/ubuntu xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu xenial-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
    
deb http://archive.canonical.com/ubuntu/ xenial partner

设置sublime相关

设置sublime中文界面

sublime中文输入

sudo apt-get install git
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
cd sublime-text-imfix
./sublime-imfix

sublime修改侧边栏文字

fcitx换皮肤

sudo apt-get fcitx-config-gtk

打开工具中“fcitx-qimpanel-configtool”进行设置

安装坚果云

安装ss

sudo apt-get install python-pip
sudo pip install setuptools
sudo pip install shadowsocks
sudo apt-get install gedit
sudo gedit /etc/shadowsocks.json

输入以下内容

{
    "server":"服务器的ip",
    "server_port":服务器的端口,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"密码",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open":false
}

保存退出

sslocal -c /etc/shadowsocks.json #开启服务(注意保持窗口开启)

科学方式一:

部分代理
配置pac文件,网上一大堆现成的
在电脑中的网络设置里(或者firefox浏览器的网络设置里),选择“使用代理自动配置 URL”,指定url路径,保存。

科学方式二:

全局代理
在电脑中的网络设置里(或者firefox浏览器的网络设置里),选择“使用手动配置的代理服务器”,保存。
注:chrome的网络设置,直接指向本机电脑的网络设置,在本机设置即可。

安装source code pro 字体

在sublime中配置sourcecode字体

首选项--设置,加一行

"font_face": "Source Code Pro",

安装fish

sudo apt-get install fish

从bash进入fish直接输入fish就行了
要配制fish,只要修改文件/etc/fish/config.fish 就可以了。
如:可以在这个文件最后加上这样的话:

alias opdf='xdg-open'

保存后,这样fish下就能识别opdf命令了。

上一篇 下一篇

猜你喜欢

热点阅读