File tree Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Expand file tree Collapse file tree 4 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ ** /build
Original file line number Diff line number Diff line change
1
+ ## 截图
2
+
3
+ ` Ctrl+j/k ` 在匹配候选列表中进行选择。按下` Enter ` 之后在浏览器中打开对应命令的链接,并复制命令名字到剪切板。
4
+
5
+ ![ Imgur] ( https://i.imgur.com/SWBUmkt.png )
6
+
7
+ ## 准备
8
+
9
+ 下载` linux-command ` 的配置文件到主目录,[ 提升命令查询速度] ( https://github.com/jaywcjlove/linux-command/issues/73 ) 。
10
+
11
+ ```
12
+ wget https://raw.githubusercontent.com/jaywcjlove/linux-command/master/dist/data.json ~/.data.json
13
+ ```
14
+
15
+ ## 安装
16
+
17
+ ```
18
+ git clone https://github.com/roachsinai/krunner-linuxcommands.git && cd krunner-linuxcommands
19
+ mkdir build && cd build
20
+ cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins`
21
+ make
22
+ sudo make install
23
+ kquitapp krunner
24
+ krunner
25
+ ```
26
+
27
+ #### 脚本
28
+
29
+ 也可以直接运行下面的脚本进行安装与卸载。
30
+
31
+ + [ 安装] ( ./install.sh )
32
+ + [ 卸载] ( ./uninstall.sh )
33
+
34
+ ## ToDo
35
+
36
+ + 添加配置制定` linux-command ` 的配置文件存放位置
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ mkdir build
4
+ cd build
5
+ cmake .. -DCMAKE_INSTALL_PREFIX=` kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=` kf5-config --qt-plugins`
6
+ make
7
+ sudo make install
8
+ # kquitapp krunner
9
+ # krunner
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ cd build
4
+ sudo make uninstall
5
+ cd ..
6
+ sudo rm -r build
You can’t perform that action at this time.
0 commit comments