文章目錄
設置root密碼
sudo passwd
更換軟件源
建議換成中科大的軟件源
然後
- 使用sudo apt-get update即可更新獲取 軟件源 提供的軟件列表;
- 使用sudo apt-get upgrade即可更新軟件;
sudo apt-get update
sudo apt-get upgrade
卸載不需要的軟件
sudo apt-get remove libreoffice-common
sudo apt-get remove unity-webapps-common
sudo apt-get remove totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install
sudo apt-get remove onboard deja-dup
vim git vpnc
sudo apt-get install vim git vpnc
多線程下載工具
sudo apt install axel
pip
ubuntu16.04預裝了python2.7與python3.5,但是沒有預裝pip
sudo apt-get install python-pip #for python2.7
sudo apt-get install python3-pip #for python3.5
Terminator的安裝/配置/默認啓動/使用
1.安裝
sudo apt-get install terminator
2.配置
cd ~/.config/terminator/
sudo vim config
如果報錯,Unable to open ~/.config/terminator/config ,解決方法:
打開terminator終端,然後右擊終端的黑色背景,選擇preference->layouts->add,關閉該窗口即可找到config文件。
修改配置文件,我的配置文件如下:
[global_config]
[keybindings]
[profiles]
[[default]]
use_system_font = False # 是否啓用系統字體
login_shell = True
background_darkness = 0.92 # 背景顏色
background_type = transparent
background_image = None
cursor_color = "#3036ec" # 光標顏色
foreground_color = "#00ff00"
show_titlebar = False # 不顯示標題欄,也就是 terminator 中那個默認的紅色的標題欄
custom_command = tmux
font = Ubuntu Mono 15 # 字體設置,後面的數字表示字體大小
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
[plugins]
另外附上一些搜索的配置文件參考:
https://blog.csdn.net/ipatient/article/details/51547658
http://www.javaranger.com/archives/1126
3.默認啓動
安裝dconf-tools,這個是設置默認終端的必須
sudo apt-get install dconf-tools
默認快捷鍵的終端爲系統終端,則更改爲:
exec gnome-terminal
exec-arg -x
默認啓動terminator,即:
exec x-terminal-emulator
exec-arg -e
安裝unrar
系統默認不帶解壓縮rar文件的功能,手動安裝unrar程序。雖然不知道爲什麼這麼多人偏愛rar,不過網絡環境如此,這個必須裝。但我個人還是建議多用些開源的壓縮格式比較講究。
sudo apt-get install unrar
安裝smplayer
免費開源的媒體播放器SMPlayer。內置解碼器,因此任何額外的編解碼器。雖然高清解碼不怎麼給力,不過一次安裝,就解決所有影音文件的播放問題。
sudo apt-add-repository ppa:rvm/smplayer
sudo apt-get update
sudo apt-get install smplayer smplayer-skins smplayer-themes
安裝Unity Tweak Tool
如果想安裝自定義主題的話,那麼Unity Tweak Tool是必裝的。雖然Unity並沒有留給各位多少能Tweak的地方,但是只要是想個性化界面,一定不要忘了先安裝它。
sudo apt-get install unity-tweak-tool
https://blog.csdn.net/mutilcam_prince/article/details/78217176?locationNum=8&fps=1
耳機驅動
輸入下面命令安裝pavucontrol:
sudo apt install pavucontrol
然後輸入pavucontrol啓動該軟件
pavucontrol
打開選項卡後進行:
“回放”–>系統下面的選項–>內置音頻模擬立體聲
“輸出設備”–>port:headphone(unplugged) 模擬耳機
狀態欄中添加網速顯示
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install indicator-netspeed
Teamviewer
https://blog.csdn.net/wu_l_v/article/details/79184923
pip、conda等添加國內景象源
https://blog.csdn.net/YZXnuaa/article/details/79710673
安裝Pycharm
https://blog.csdn.net/tanghong1996/article/details/81701769
CUDA CUDNN
https://blog.csdn.net/syysyf99/article/details/93778390
安裝caffe
http://blog.csdn.net/yhaolpz/article/details/71375762
安裝cuda
http://blog.csdn.net/u010837794/article/details/63251725
https://blog.csdn.net/wopawn/article/category/6382963
https://blog.csdn.net/dgyuanshaofeng/article/details/78151510
https://blog.csdn.net/dc1994dc/article/details/79162886
安裝 py faster rcnn
https://www.cnblogs.com/zjutzz/p/6034408.html
pcl源碼編譯
http://blog.csdn.net/xs1102/article/details/74736298(gitclone下載)
深度工具合集安裝
(Nvidia+CUDA+cuDNN+Tensorflow+OpenBLAS+Caffe+Theano+Keras)
http://blog.csdn.net/langb2014/article/details/51579491
火狐瀏覽器
Ubuntu系統自帶國際版火狐瀏覽器
但國內用戶大多使用的是中國版的火狐
這兩個版本的帳號是不互通的,書籤等不能進行同步
所以如果想在Ubuntu上使用中國版Firefox,需要先卸載系統自帶的瀏覽器:
https://blog.csdn.net/xuehua789/article/details/48756031
https://blog.csdn.net/weixin_39837402/article/details/79964525
先下載中文版安裝包Linux-Firefox中文位版
然後卸載國際版
搞反了你就GG了
保留配置文件
sudo apt-get autoremove firefox firefox-branding firefox-gnome-support ubufox
配置文件也一起刪掉
sudo apt-get purge firefox firefox-branding firefox-gnome-support ubufox
將下載好的壓縮包使用如下命令解壓:
sudo tar jxvf Firefox-latest-x86_64.tar.bz2
sudo mv firefox /usr/local
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox
通過上述步驟即可以通過終端打開firefox了
將其固定在啓動器
自己個性化創建一個快捷方式,保存爲firefox.desktop:
[Desktop Entry]
Name=firefox
Comment=firefox
Exec=/usr/local/firefox/firefox
Icon=/usr/local/firefox/browser/icons/mozicon128.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
StartupNotify=true
將快捷方式移動至/usr/share/applications中:
sudo mv firefox.desktop /usr/share/applications
將該firefox.desktop拖至啓動器即可
wps for linux
下載wps-office_10.1.0.5672~a21_amd64.deb
sudo dpkg -i wps-office_10.1.0.5672_a21_amd64.deb
sudo apt-get -f install
打開會有字體缺失錯誤,下載缺失字體
sudo unzip wps_symbol_fonts.zip
複製字體到/usr/share/fonts,至此安裝完畢
有道詞典
https://blog.csdn.net/brad1994/article/details/56484634
Online
安裝XX-Net
3.3.6
https://blog.csdn.net/summer6364/article/details/77647292
看視頻時禁止系統休眠
Ubuntu 的休眠很不智能,只要鼠標不動,就判定你沒有活動。在看 MOOC 視頻時,時常會自動關閉屏幕,令人煩惱。
這個名爲 Caffeine 的軟件可以在狀態欄生成一個指示器:
安裝Ubuntu後的個人常用配置
就是圖中那個咖啡杯形狀的圖標。當它處於 Active 狀態(咖啡冒熱氣)時,便會阻止系統休眠。點擊可以圖標進行狀態切換。
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine
在終端中輸入 caffeine-indicator ,或直接在 Dash 中尋找圖標啓動軟件。
技巧
文件管理器不顯示具體文件路徑,請按Ctrl+L