使用Linux工作之Fedora KDE

来源:互联网 发布:去重sql语句 distinct 编辑:程序博客网 时间:2024/04/26 06:22

小明拿着在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/configchmod 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-Chineseyum 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 tableyum install fcitx-table fcitx-table-chinese fcitx-pinyin fcitx-cloudpinyin#fcitx kde工具yum install kcm-fcitx#sunpinyinyum 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-develyum -y install libtoolgit 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.gitpython local/proxy.py #运行后,再上传python server/uploader.py #按提示输入即可

2. Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

双击即可,安装后,设置为goagentFQ(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-keybinderyum 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-corednf copr enable mosquito/myrepoyum 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.rpmsudo 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

 

0 0
原创粉丝点击