小明拿着在Windows下不斷藍屏的T440和公司建議不使用雲筆記的規定,心下想着,是時候回歸linux了。。。
一、系統的獲取與啟動盤的制作
- fedora20 KDE版
- liveusb-creator將iso文件extract到U盤上,從U盤啟動,安裝即可
二、安裝系統
- 點擊 partition--done--custom partition--LVM--auto
- create user--make this user as admin
三、系統設置
- close bluetooth
- quit kclipper,and not run in sys starting
- system settings--power manager--remove suspend
- system settings--workspace behavior--virtual desktops--2
修改ssh的超時時間,防止無動作斷線
echo 'ServerAliveInterval 60' >> ~/.ssh/config chmod 644 ~/.ssh/config
konsole
- settings--manage profiles--appearance--solarized and text size 14
- settings--manage profiles--mouse--copy on select and paste from clipboard
四、中文及輸入法
1. 安裝中文菜單
yum install kde-i18n-Chinese yum install kde-l10n-Chinese
system settings--locale--languages--preferred languages--add Chinese simplified
2.安裝fcitx和sunpinyin
#fcitx及支持qt4程序和配置工具,為知筆記為qt5程序,輸入中文需要對應插件 yum install fcitx fcitx-qt4 fcitx-configtool fctix-qt5 fcitx-qt5 fcitx-qt5-devel #fcitx table yum install fcitx-table fcitx-table-chinese fcitx-pinyin fcitx-cloudpinyin #fcitx kde工具 yum install kcm-fcitx #sunpinyin yum install sunpinyin sunpinyin-data fcitx-sunpinyin
安裝完成后,重啟即可。
五、Vim——用markdown進行知識管理
1. 准備工作
yum install vim gvim git ack wget
Ag的安裝
yum -y groupinstall "Development Tools" yum -y install pcre-devel xz-devel yum -y install libtool git clone https://github.com/ggreer/the_silver_searcher ag && cd ag && ./build.sh && sudo make install
2. 下載vim配置
markdown庫的配置
- :NERDTreeToggle 進入自己markdown庫的根目錄;
- 建立welcome.md文件,選中后,建立note標簽:Bookmark note
操作指南
markdown筆記相關
- F2打開markdown筆記的根目錄;
- ,a 打開Ag的窗口,可以搜索任何關鍵測;
- e打開搜索結果的候選文檔,並關閉搜索框;
- F12打開chrome,配合下文的插件,可以做到實時瀏覽文檔;
gvim相關
- 選中后"+y可以復制到剪貼板, 配置文件已設置選中即復制
六、常用工具
1. Goagent
git clone https://github.com/goagent/goagent.git python local/proxy.py #運行后,再上傳 python server/uploader.py #按提示輸入即可
2. Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
雙擊即可,安裝后,設置為goagent翻牆(127.0.0.1:8087),這樣即可登陸后同步插件。
推薦插件
Markdown Preview Plus
- 安裝后在chrome://extensions勾選allow access to file URLS
- 在插件的設置選項中,可以勾選Enable auto-reload
- 這樣,在vim中,按F12,即可實現markdown的實時瀏覽
3. terminator
安裝
yum install python-keybinder yum install terminator
配置文件
默認采用solarized主題方案,具體見配置下載
快捷鍵
- C+e 豎分屏
- C+o 橫分屏
- C+Enter 全屏切換
4. virtualbox
安裝
https://www.virtualbox.org/wiki/Linux_Downloads 選擇fedora的最新版本,然后雙擊安裝。
yum install VirtualBox #也可以
問題
啟動時提示Kernel driver not installed (rc=-1908)
#需要重新編譯內核 sudo yum install kernel /etc/init.d/vboxdrv setup #若無可按提示執行 systemctl restart systemd-modules-load.service
5. pycharm
注冊碼自行google唄~
yum install java
將上述包解壓縮后,直接運行./bin/pycharm.sh即可
6. tmux
配置下載,快捷鍵更改為C+a,例如C+a+|為豎分屏
yum install tmux
7. 為知筆記
yum install dnf-plugins-core dnf copr enable mosquito/myrepo yum install wiz-note
8. xmind
著名的思維導圖工具,跨平台,易用
- 下載http://www.xmind.net/download/linux/
- ar -x xmind-linux-3.4.1.201401221918_amd64.deb
- tar xzvf data.tar.gz
- cd usr/local/ && sudo cp xmind/ /opt/ -rp
- cd ../ && sudo cp share/ /usr/ -rp
- 回到解壓縮目錄tar xzvf control.tar.gz
- sudo ./postinst
- sudo vim /usr/share/applications/xmind.desktop 把所有的/usr/local改為/opt
9. yEd
畫圖工具,各種流程圖
- 下載http://www.yworks.com/en/products_yed_download.html
- chmod u+x yEd-3.13_64-bit_setup.sh
- ./yEd-3.13_64-bit_setup.sh,然后是熟悉的安裝界面
10. vlc and amarok
媒體工具,聽歌看視頻,下述操作可使ararok播放mp3
- 安裝RPM Fusion
- yum install phonon-backend-vlc
- system settings--Multimedia--audio and video選擇VLC
- yum install vlc amarok-doc
11. darktable
可以處理RAW文件,是很好的照片后期軟件 yum install darktable
12. gimp
更像是linux版的PS yum install gimp
13. office
yum install libreoffice
14. flash
wget http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm sudo rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm sudo yum -y install flash-plugin #系統重新登陸后生效
七、快捷鍵設置
meta鍵即windows鍵
1. system settings
設置顯示桌面和登出鎖屏 system settings--shotcuts--global
- kwin--show desktop--meta-D
- The KDE Session Manager--Lock Session--custom--meta-L
2. menueditor
給程序的啟動設置全局快捷鍵,要再安裝程序后設置:) 右擊f開始圖標--edit applications