使用Ubuntu18.04打造程式設計師辦公電腦
安裝篇
應用推薦
gnome-tweak-tool
gnome美化工具,可改變主題,圖示,字型等。
sudo apt install gnome-tweak-tool
uget
一個介面下載工具,可配合aria2
sudo add-apt-repository ppa:plushuang-tw/uget-stable sudo apt update sudo apt install uget
aria2
Aria2是一個命令列下輕量級、多協議、多來源的下載工具(支援 HTTP/HTTPS、FTP、BitTorrent、Metalink),內建 XML-RPC 和 JSON-RPC 使用者介面。
sudo apt-get install aria2
gnome-shell-extensions
GnomeShell擴充套件是官方為增強GNOME Shell功能所開發的。
sudo apt install gnome-shell-extensions
chrome-gnome-shell
雖然有chrome的關鍵字,但是真的和Chrome沒多大關係。美化必裝~
sudo apt install chrome-gnome-shell
wiz筆記
為知筆記在新版中使用了appimage格式,下載地址為:https://url.wiz.cn/u/Wizlinux
下載完成後,右鍵WizNote-2.5.9-x86_64.AppImage,賦予可執行許可權,或者
chmod +x WizNote-2.5.9-x86_64.AppImage
移動或刪除此檔案會導致winnote無法開啟。
WPS
搜狗輸入法
請自行去官方下載,安裝前請執行
sudo apt install --fix-broken
否則無法安裝,當然這個情況並不是每次都這樣,ubuntu18.04我安裝過3次,其中2次是直接就安裝成功了,有一次安裝時提示失敗,然後執行了以上命令,再次安裝即成功。
Albert
熟悉mac的使用者應該知道Alfred,這個軟體同樣也具備類似的功能
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install albert -y
系統負載指示器
sudo apt-get install -y indicator-multiload
Nvidia驅動
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update
VS Code
去官方下載安裝包,安裝即可
Vim
必不可少的工具
sudo apt-get install vim
設定系統預設的編輯器
update-alternatives --config editor
然後選擇vim.basic
這項即可,不要選vim.tiny,因為vim.tiny的功能太少了。
git
必不可少的工具
sudo apt-get install git
Chrome
sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add sudo apt update sudo apt install google-chrome-stable
shadowsocks-qt5
梯子必備
sudo add-apt-repository ppa:hzwhuang/ss-qt5 sudo apt-get update sudo apt-get install shadowsocks-qt5
此時會報錯
[email protected]:~$ sudo add-apt-repository ppa:hzwhuang/ss-qt5 Shadowsocks-Qt5 is a cross-platform Shadowsocks GUI client. Shadowsocks is a lightweight tool that helps you bypass firewall(s). This PPA mainly includes packages for Shadowsocks-Qt5, which means it also includes libQtShadowsocks packages. 更多資訊: https://launchpad.net/~hzwhuang/+archive/ubuntu/ss-qt5 按 [ENTER] 繼續或 Ctrl-c 取消安裝。 命中:1 http://mirrors.aliyun.com/ubuntu bionic InRelease 命中:2 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease 忽略:3 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic InRelease 命中:4 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease 命中:5 http://mirrors.aliyun.com/ubuntu bionic-security InRelease 錯誤:6 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] 正在讀取軟體包列表... 完成 E: 倉庫 “http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release” 沒有 Release 檔案。 N: 無法安全地用該源進行更新,所以預設禁用該源。 N: 參見 apt-secure(8) 手冊以瞭解倉庫建立和使用者配置方面的細節。
sudo gedit(vim) /etc/apt/sources.list.d/hzwhuang-ubuntu-ss-qt5-bionic.list
修改成如下內容:
deb http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu artful main
安裝完成後,填入ss資訊,點選連結,如果沒有提示超時並且有延遲的數值就表示已經爬上梯子了。
配置代理,在設定
-> 網路
-> 開啟VPN中,選擇手動代理,代理地址為socks5
127.0.0.1:1080
但是此時並不太智慧,是所謂的全域性模式,於是我們需要配置pac
sudo apt-get install python-pip sudo pip install genpac
在家目錄(/home/liyang)下面建立資料夾
mkdir ~/shadowsocks cd ~/shadowsocks
生成PAC
genpac --pac-proxy "SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" --gfwlist-url=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt --output="autoproxy.pac"
如果有人提示改地址無法連線,那是因為你的ss-qt5沒開,或者你的梯子有問題。
然後配置代理模式為自動代理,填入如下內容:
file:///home/liyang/shadowsocks/autoproxy.pac
JDK,IDEA
mkdir /usr/local/java tar -zxvf jdk1.8.0_171.tar.gz -C /usr/local/java sudo vim /etc/profile ## 在最下面填入: export JAVA_HOME=/usr/local/java/jdk1.8.0_171 export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
IDEA
mdkir /usr/local/jetbrains tar -zxvf idea-IU-181.5087.20.tar.gz -C /usr/local/jetbrains/ cd /usr/local/jetbrains/idea-IU-181.5087.20/bin ./idea.sh
新版的IDEA在執行idea.sh後會自動在/usr/share/applications裡面建立桌面圖示,無需再手動建立了。
深度截圖
sudo apt-get install deepin-screenshot
設定快捷鍵
SecureCRT
這可能是唯一一個Win/macOS/Linux下都比較好用的shell管理工具了,售價也不便宜,財務還未自由的可以選擇Crack一下。
下載scrt-8.3.3-1646.ubuntu17-64.x86_64.deb
下載地址。
下載完成後直接雙擊安裝即可,安裝完成後有錢淫直接輸入LicenseData,窮如似我這般的就進行如下操作。
下載破解指令碼
wget http://download.boll.me/securecrt_linux_crack.pl
執行如下命令進行破解
sudo perl securecrt_linux_crack.pl /usr/bin/SecureCRT
sudo perl securecrt_linux_crack.pl /usr/bin/SecureCRT [sudo] liyang 的密碼: crack successful License: Name: xiaobo_l Company: www.boll.me Serial Number: 03-94-294583 License Key: ABJ11G 85V1F9 NENFBK RBWB5W ABH23Q 8XBZAC 324TJJ KXRE5D Issue Date: 04-20-2017
填入LicenseData
Telegram
曾經,在Ubuntu(Linux)系統下並沒有比較稱心如意的聊天工具,由於經常需要在不同的系統之間互相傳送訊息、檔案,而wineqq會出現很多問題,於是乎,使用telegram便可以解決這個需求,只不過在用的時候需要踩著梯子。
美化篇
主題推薦
Sierra-gtk-theme
sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf sudo add-apt-repository ppa:dyatlov-igor/sierra-theme sudo apt install sierra-gtk-theme
numix-gtk-theme
sudo add-apt-repository ppa:numix/ppa sudo apt-get update sudo apt-get install numix-gtk-theme numix-icon-theme-circle
Docky
sudo apt-get install docky
把不想要的圖示,點選左鍵網上拖就可以刪除。這個軟體的效果還不錯,可惜無法避免系統自帶的dock,於是如果有“潔癖”的同學可以選擇dash to dock這個外掛。
Dash to dock
在安裝gnome-shell-extensions
和chrome-gnome-shell
後,點選gnome擴充套件,在這裡輸入dash to dock 安裝即可。
具體配置會在下面展示
效果
Docky效果圖
Dash to dock效果圖
後面有新的發現還會繼續更新本文~ 敬請期待。。。