文章目錄
一、修改源
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
sudo gedit /etc/apt/source.list
sudo apt-get update
二、安裝常用軟件
sudo apt-get install vim guake plank tmux git fcitx-googlepinyin
下載最新版Firefox和WPS for Linux。
sudo dpkg -i *.deb #將*替換爲你自己的安裝包名稱
2.1 配置Guake
主要是界面顯示和使用的shell,全憑個人喜好設置。
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-opEajdve-1574241760858)
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-ycZCwpTG-1574241760859)
2.2 googlepingyin輸入法和搜狗輸入法
system setting->lanuages supports,之後會出現讓安裝語言包,點擊確定即可。
googlepinyin使用上面的命令安裝即可,sougoupinyin在百度中搜索sougou for linux下載對應的deb包即可,使用命令安裝,如果報錯使用第二條命令後在執行一次dpkg的命令。
sudo dpkg -i [包名]
sudo apt-get -f install
安裝完成後需要重啓,然後打開fcitx配置,添加相關的軟件輸入源即可。
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-jsyG5Y04-1574241760862)(imgs/fcit-con.png)]
2.2 firefox
首先一處ubuntu自帶的firefox,然後解壓下載下來的firefox壓縮包按照下面的命令操作
sudo remove firefox
sudo apt-get autoremove
sudo mv firefox /opt/
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
cd /usr/share/applications
sudo touch firefox.desktop
將下面的內容複製到firefox.desktop中保存即可。
[Desktop Entry]
Name=firefox
Comment=firefox
Exec=/opt/firefox/firefox
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
StartupNotify=true
2.3 安裝QQ和微信
使用deepwine安裝相關軟件:鏈接
安裝deepwine:
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
cd deepin-wine-for-ubuntu/
sudo sh install.sh
下載安裝包,下載地址阿里雲鏡像:
wget https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.qq.office/deepin.com.qq.office_2.0.0deepin4_i386.deb
wget https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.2.31deepin0_i386.deb
安裝軟件(也可以安裝迅雷,百度網盤等軟件,自己下載即可)
sudo dpkg -i [包名].deb #替換爲下載下來的安裝包名稱
如果出現錯誤使用下面的命令修復包依賴,另外如果自己下載的安裝包一直安裝失敗重新下載一個版本的就可以:
sudo apt-get install -f
2.4 卸載多餘的軟件
sudo apt-get remove libreoffice-common
sudo apt-get remove unity-webapps-common
三、主題修改
3.1 主題
參考博文:Ubuntu 16.04 用 MacBuntu 16.04 TP 打造 MAC 界面
下面的命令是修改主題和圖標,安裝完成後在unity tool 和gnome tool中都可以修改:
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install macbuntu-os-icons-lts-v7
sudo apt-get install macbuntu-os-ithemes-lts-v7
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-TMiVFODa-1574241760862)(imgs/theme.png)]
下面的各種命令參照上面的博文。
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install slingscold
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install albert
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install macbuntu-os-plank-theme-lts-v7
sudo apt-get install unity-tweak-tool gnome-tweak-tool
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install macbuntu-os-lightdm-lts-v7
全部安裝。
sudo add-apt-repository ppa:noobslab/macbuntu ppa:noobslab/themes
sudo apt-get update
sudo apt-get install unity-tweak-tool gnome-tweak-tool plank macbuntu-os-icons-lts-v7 macbuntu-os-ithemes-lts-v7 slingscold albert macbuntu-os-plank-theme-lts-v7 macbuntu-os-lightdm-lts-v7
3.2 字體
sudo apt-get install ttf-wqy-microhei #文泉驛-微米黑d
sudo apt-get install ttf-wqy-zenhei #文泉驛-正黑
sudo apt-get install xfonts-wqy #文泉驛-點陣宋體