1、盡量選擇trusty的安裝版本,kde和xfce不支持Win+..快捷鍵,推薦cinnamon;制作安裝U盤后,選擇非EFI模式啟動;選擇start Linux Mint(就是第一項);
2、Install Mint;依次選擇安裝選項,不要連接網絡,否則安裝時會下載語言包等,全部下載完成需要一個月左右,:(;
不安裝第三方軟件;清除磁盤全新安裝;主機名Terrans Force不解釋;
3、安裝成功后關機,拔掉U盤,開機后連接網絡;設置軟件源:在開始菜單里面搜索software source,圖形設置即可(自動測速,Main和Base選擇清華,163等等就行了);
4、安裝中文輸入法(參考 http://blog.csdn.net/sunzhenhua0608/article/details/32746335):
sudo add-apt-repository ppa:fcitx-team/nightly
或者
sudo add-apt-repository ppa:fcitx-team/stable
執行失敗的話可以忽略,但是必須執行,否則執行下面兩個命令失敗:
sudo apt-get update
sudo apt-get install fcitx
打開軟件管理器,搜索fcitx-sunpinyin並安裝;
5、開始菜單中選擇input method;輸入方式選擇fcitx && 安裝簡體中文,安裝缺少的必需組件,不裝備選的,下載很慢;
6、重啟系統,右鍵輸入法,
在初始的設置菜單選擇從上往下數第二項(Online Help下面的一項);
之后再次右鍵輸入法,選擇配置:
如果菜單顯示不全,右鍵任務欄,選擇移動面板,移動任務欄到上面,重新執行上面的步驟;
輸入法初始的配置如下(也可能不同):
留下一個中文輸入法,添加“鍵盤-漢語”輸入法:(參考 http://tieba.baidu.com/p/2811713743?pn=1&statsInfo=frs_pager)
7、安裝sunpinyin后系統崩潰了幾次,改用kylin(http://www.ubuntukylin.com/application/show.php?lang=cn&id=276)的sougoupinyin了。
安裝搜狗拼音:
1) 首先更換為國內較快的軟件源:
win鍵搜索sources就出來了;
如果出現“fix broken package”的報錯,更換其它軟件源就能解決;
更換后最好update一下,就在右上角;
2) 安裝語言支持;
win鍵搜索language就出來了;
安裝簡體中文的包;完成后在上面的框架中選擇fcitx;
3) 雙擊安裝搜狗輸入法;
下載deb文件后直接雙擊就行了,軟件管理器會自動解決依賴。
4) 登出/登入系統;win鍵搜索fcitx-config工具;設置為如下即可:
重新登錄系統,配置輸入法(fcitx-config)類似下面:
(如果沒有安裝fcitx-config,使用sudo apt-get install fcitx-config...(Tab自動補全)) -gtk
注銷並重新登錄,右鍵輸入法配置如下:
注銷並重新登錄之后就可以使用中文輸入法了。
8、安裝ssh服務,和Windows通信(參考 http://blog.csdn.net/rznice/article/details/8212453):
在linux上安裝sshd,依次執行:
sudo apt-get update
sudo apt-get install openssh-server
sudo service ssh restart
(不必須的)
在windows上安裝xmanager(包含了xshell:ssh登錄;xftp:文件傳輸類似winscp),連接linux的ip:
9、安裝編譯C程序的必須組件:
默認沒有安裝編譯必須的組件,編譯報錯:stdio.h: No such file or directory
sudo apt-get install build-essential
10、安裝sublime text,安裝sublime 2之后總是提示更新,換成sublime 3(參考http://www.cnblogs.com/hester/p/5617713.html):
對linux mint來說,直接在軟件管理器中搜索安裝就行了(先更改軟件源為國內源,速度快)。
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-tex(此處可以用tab自動補充)
去官網https://packagecontrol.io/installation安裝包管理器,推薦Manual安裝;
設置不自動檢查更新;
設置空格取代tab;顯示空白符:
進入Prefences -> Settings -> User;添加:(評論區)
sudo apt-get update
sudo apt-get install git
安裝完成后,檢查是否安裝成功:
git --version
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
此時,Home目錄下會新建一個.gitconfig文件;
1、Mint的默認區域截圖快捷鍵是:Shift+Ctrl+PrintScreen;不靈敏的話按稍長一點,如下查看:
/**
1、
在ubuntu apt-get upgrade的時候,遇到:
E: Could not get lock /var/cache/
apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
解決辦法如下:
sudo rm -rf /var/lib/dpkg/lock
sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update
然后apt-get就恢復正常了。
2、安裝Adobe Flash
sudo apt-get update
sudo apt-get install flashplugin-installer
3、安裝vlc
打開終端(快捷鍵Ctrl+Alt+T),輸入下面的命令,
sudo add-apt-repository ppa:n-muench/vlc
sudo apt-get update
如果你並沒有安裝VLC,則還需要執行下面的命令。
sudo apt-get install vlc
4、安裝迅雷xware
https://github.com/Xinkai/XwareDesktop/wiki/%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E
Xware Desktop接受來自命令行的參數作為新任務的網址,格式為
xware-desktop http://www.website.com/file1 ftp://www.website.com/file2 ...
5、怎么查看自己電腦上有幾個終端
sudo update-alternatives --config x-terminal-emulator
6、安裝vim,解決上下左右問題:
ubuntu預裝的是vim tiny版本,而需要的是vim full版本。執行下面的語句安裝vim full版本:
$sudo apt-get remove vim-common
$sudo apt-get install vim
暫時的解決辦法是使用:set nocompatible,但是每次都要設置。
7、設置默認終端窗口大小
cd .config/terminator/
vi config
在parent=""下面追加
size = 600,720
即可。
8、安裝虛擬Windows
http://jingyan.baidu.com/article/eae07827856ac21fed54856f.html
和虛擬機的windows通訊:
在windows上安裝winscp,連接linux的ip;
在linux上安裝sshd
依次執行即可:
sudo apt-get update
sudo apt-get install openssh-server
sudo service ssh restart
Alt+Ctrl+上下左右:切換工作空間
9、增加命令別名
新增如下文件添加
alias ..='cd ..'
即可:
vi ~/.bash_aliases
source ~/.bashrc
命令行執行:alias ll="ls -l"即時生效但是該命令在重新登錄后將會丟失;
可以保存在用戶目錄下的.bashrc文件中,不過需要用戶重新登錄后才會生效,可以用source ~/.bashrc(或者 . ~/.bashrc)使修改立刻生效;
建議用戶設置的別名放置在~/.bash_aliases里面,.bashrc會執行該新建的文件。
10、多個工作區的快捷鍵:
11、source Insight編碼問題:
以前沒有發現,最近把自己的代碼靠到同學電腦上運行報錯,發現是字符集的問題,一般來說 eclipse默認的是GBK編碼,而ubuntu上默認是沒有GBK編碼的,所以ubuntu eclipse
上自然就沒有 GBK 了,為了方便就手動添加了GBK編碼
1:sudo geidt /var/lib/locales/supported.d/local
,在文件中添加:
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
zh_CN.GB18030 GB18030
2: sudo dpkg-reconfigure locales
3:進入eclipse,點擊window==>preferences==>general==>workspace中的Textfileencoding設置成GBK或者GB2312或者GB18030.(如果在other中沒有出現編碼列表,直接輸
入指定的編碼即可)
http://www.cnblogs.com/snake-hand/p/3155472.html
12、安裝mysql
sudo apt-get install mysql-server
sudo apt-get install mysql-client
3. sudo apt-get install libmysqlclient-dev
13,install nutStore
tar zxvf nutstore_linux_src_installer.tar.gz
cd nutstore_linux_src_installer
27 ./configure
32 sudo pacman -S libnautilus-extension
33 ./configure
34 make
35 sudo make install
36 nautilus -q
37 ./runtime_bootstrap
14,install python2
wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz
48 xz -d Python-2.7.12.tar.xz
50 tar xvf Python-2.7.12.tar
53 cd Python-2.7.12
//Python的詳細安裝方式參考:http://blog.csdn.net/ab198604/article/details/8681851
55 ./configure
56 make
58 python --version
59 sudo make install
60 which python
64 ls -l /usr/bin/python
66 ls -l /usr/local/bin/python
67 which python2
68 which python3
72 find . -name "nutstore-py*"
74 vi .nutstore/dist/bin/nutstore-pydaemon.py
75 nano .nutstore/dist/bin/nutstore-pydaemon.py 改第一行為#!/usr/bin/env python2
至此堅果雲可順利打開。。
15,using eclipse view code
import autotools Project;
then specify the code path. > better than import makefile Project.
also can File->Open File to Edit non-code Files.
16、開啟manjaro的ssh(就可以打開Xshell和winscp了)
Manjaro安裝ssh,然后可以Xshell管理:只使用$ systemctl start sshd 就行了。
$ su
$ pacman -S openssh
$ systemctl enable sshd
$ systemctl start sshd
17、manjaro安裝eclipse:
軟件包放在Downloads文件夾下:
cd Downloads
mkdir -p /opt/eclipse4c++
tar zxvf ...tar.gz -C /opt/eclipse4c++
cd /opt/eclipse4c++
./eclipse &
18、ln -s
ln -s /opt/eclipse/eclipse ~/Desktop/eclipse4c++
必須是全路徑