使用Linux工作之Fedora KDE


小明拿着在Windows下不斷藍屏的T440和公司建議不使用雲筆記的規定,心下想着,是時候回歸linux了。。。 

一、系統的獲取與啟動盤的制作

  1. fedora20 KDE版
  2. liveusb-creator將iso文件extract到U盤上,從U盤啟動,安裝即可

二、安裝系統

  1. 點擊 partition--done--custom partition--LVM--auto
  2. create user--make this user as admin

三、系統設置

  1. close bluetooth
  2. quit kclipper,and not run in sys starting
  3. system settings--power manager--remove suspend
  4. system settings--workspace behavior--virtual desktops--2

修改ssh的超時時間,防止無動作斷線

echo 'ServerAliveInterval 60' >> ~/.ssh/config chmod 644 ~/.ssh/config 

konsole

  1. settings--manage profiles--appearance--solarized and text size 14
  2. 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庫的配置

  1. :NERDTreeToggle 進入自己markdown庫的根目錄;
  2. 建立welcome.md文件,選中后,建立note標簽:Bookmark note

操作指南

markdown筆記相關

  1. F2打開markdown筆記的根目錄;
  2. ,a 打開Ag的窗口,可以搜索任何關鍵測;
  3. e打開搜索結果的候選文檔,並關閉搜索框;
  4. F12打開chrome,配合下文的插件,可以做到實時瀏覽文檔;

gvim相關

  1. 選中后"+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

  1. 安裝后在chrome://extensions勾選allow access to file URLS
  2. 在插件的設置選項中,可以勾選Enable auto-reload
  3. 這樣,在vim中,按F12,即可實現markdown的實時瀏覽

3. terminator

安裝

yum install python-keybinder yum install terminator 

配置文件

默認采用solarized主題方案,具體見配置下載

快捷鍵

  1. C+e 豎分屏
  2. C+o 橫分屏
  3. 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

著名的思維導圖工具,跨平台,易用

  1. 下載http://www.xmind.net/download/linux/
  2. ar -x xmind-linux-3.4.1.201401221918_amd64.deb
  3. tar xzvf data.tar.gz
  4. cd usr/local/ && sudo cp xmind/ /opt/ -rp
  5. cd ../ && sudo cp share/ /usr/ -rp
  6. 回到解壓縮目錄tar xzvf control.tar.gz
  7. sudo ./postinst
  8. sudo vim /usr/share/applications/xmind.desktop 把所有的/usr/local改為/opt

9. yEd

畫圖工具,各種流程圖

  1. 下載http://www.yworks.com/en/products_yed_download.html
  2. chmod u+x yEd-3.13_64-bit_setup.sh
  3. ./yEd-3.13_64-bit_setup.sh,然后是熟悉的安裝界面

10. vlc and amarok

媒體工具,聽歌看視頻,下述操作可使ararok播放mp3

  1. 安裝RPM Fusion
  2. yum install phonon-backend-vlc
  3. system settings--Multimedia--audio and video選擇VLC
  4. 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

  1. kwin--show desktop--meta-D
  2. The KDE Session Manager--Lock Session--custom--meta-L

2. menueditor

給程序的啟動設置全局快捷鍵,要再安裝程序后設置:) 右擊f開始圖標--edit applications

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM