Ubuntu一些常用的軟件安裝及配置

軟件

  1. 安裝 Vim

    • echo "y" | sudo apt-get install vim
  2. 安裝搜狗輸入法
    這個我在虛擬機裏面嘗試了好多遍,不斷恢復備份然後重試。終於有了這個純靠命令安裝的做法。

    • wget -O $HOME/Downloads/sogou.deb http://cdn2.ime.sogou.com/dl/index/1475147394/sogoupinyin_2.1.0.0082_amd64.deb?st=bt76tTmCNyR7z8AF3TSnuQ&e=1491123967&fn=sogoupinyin_2.1.0.0082_amd64.deb
    • echo "y" | sudo apt install $HOME/Downloads/sogou.deb
    • gnome-session-quit --no-prompt
      此時會退出當前用戶,需要重新輸入密碼進入桌面
    • sed -i 's/sogoupinyin:False/sogoupinyin:True/g' $HOME/.config/fcitx/profile
    • fcitx-remote -r
    • fcitx-remote -s sogoupinyin
  3. 安裝網易雲音樂

    • wget -O $HOME/Downloads/netease-cloud-music.deb http://s1.music.126.net/download/pc/netease-cloud-music_1.0.0_amd64_ubuntu16.04.deb
    • sudo apt install $HOME/Downloads/netease-cloud-music.deb
    • netease-cloud-music &
      這一句是啓動網易雲音樂
  4. 連上 google

    • 下載 hosts 文件到 $HOME/Downloads 下面 -> hosts 文件自己找(逃
    • sudo cp $HOME/Downloads/hosts /etc/
    • sudo systemctl restart NetWorkManager
  5. 下載 chrome

    • wget -O $HOME/Downloads/google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    • echo "y" | sudo apt install $HOME/Downloads/google-chrome.deb
    • google-chrome-stable &
    • 此時彈出對話框,詢問是否設置 chrome 爲默認瀏覽器(default brower)
    • 接下去就是登陸(sign in)
  6. 安裝 git

    • echo "y" | sudo apt install git

配置

顯示配置

  1. launcher 放到底部
    • gsettings set com.canonical.Unity.Launcher launcher-position Bottom
      如果參數爲 Left 則還原爲默認
  2. 修改 launcher 的大小
    • bash 中執行: unity-control-center 打開系統設置
    • 選擇 Appearance ,這個頁面包含 Look 和 Behavior 兩個子頁面
    • Look 頁面最底下的 Launcher icon size 改爲 34
  3. SystemSettings/Appearance/Behavior
    • 勾選 Add show desktop icon to the launcher :在 launcher 上顯示一個圖標,和 windows 的 “顯示桌面” 按鈕一樣。
    • 勾選 Always displayed :總是顯示當前窗口的菜單
    • 勾選 In the windows's title bar : 將菜單顯示在當前窗口的頂部。另一項則是顯示在系統桌面頂部那一欄。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章