Ubuntu 安裝之后要做的若干事

更換源

  • /etc/apt/sources.list #內(nèi)容注釋掉

  • /etc/apt/sources.list.d/additional-repositories.list #內(nèi)容注釋掉

  • /etc/apt/sources.list.d/official-package-repositories.list

改為如下

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
  • /etc/apt/sources.list.d/ #內(nèi)容注釋掉

設(shè)置sublime相關(guān)

設(shè)置sublime中文界面

  • tool--install package congtrol

  • preferrence--package control--install package(連不上就多試幾次)

  • 輸入chinese localization,點(diǎn)擊 安裝

sublime中文輸入

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

sublime修改側(cè)邊欄文字

  • 安裝Package?Resource?Viewer

  • 輸入PackageResourceViewer: Open Resource

  • 選擇當(dāng)前主題

  • 修改sidebar_label的字體大小即可

fcitx換皮膚

sudo apt-get fcitx-config-gtk

打開(kāi)工具中“fcitx-qimpanel-configtool”進(jìn)行設(shè)置

安裝堅(jiān)果云

安裝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

輸入以下內(nèi)容

{
    "server":"服務(wù)器的ip",
    "server_port":服務(wù)器的端口,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"密碼",
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open":false
}

保存退出

sslocal -c /etc/shadowsocks.json #開(kāi)啟服務(wù)(注意保持窗口開(kāi)啟)

科學(xué)方式一:

部分代理
配置pac文件,網(wǎng)上一大堆現(xiàn)成的
在電腦中的網(wǎng)絡(luò)設(shè)置里(或者firefox瀏覽器的網(wǎng)絡(luò)設(shè)置里),選擇“使用代理自動(dòng)配置 URL”,指定url路徑,保存。

科學(xué)方式二:

全局代理
在電腦中的網(wǎng)絡(luò)設(shè)置里(或者firefox瀏覽器的網(wǎng)絡(luò)設(shè)置里),選擇“使用手動(dòng)配置的代理服務(wù)器”,保存。
注:chrome的網(wǎng)絡(luò)設(shè)置,直接指向本機(jī)電腦的網(wǎng)絡(luò)設(shè)置,在本機(jī)設(shè)置即可。

安裝source code pro 字體

  • 先下載字體
  • 安裝font manager
  • 在font manager中安裝字體(otf或ttf)

在sublime中配置sourcecode字體

首選項(xiàng)--設(shè)置,加一行

"font_face": "Source Code Pro",

安裝fish

sudo apt-get install fish

從bash進(jìn)入fish直接輸入fish就行了
要配制fish,只要修改文件/etc/fish/config.fish 就可以了。
如:可以在這個(gè)文件最后加上這樣的話:

alias opdf='xdg-open'

保存后,這樣fish下就能識(shí)別opdf命令了。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容