Skip to content
linux-command KRunner version.
Branch: master
Clone or download
Latest commit d93f234 Apr 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Add plugin config. Apr 12, 2019
.gitignore Add helper files. Apr 12, 2019
CMakeLists.txt Add plugin config. Apr 12, 2019
README.md Add plugin config. Apr 12, 2019
install.sh Fix typo. Apr 12, 2019
linux_commands.cpp
linux_commands.h Add plugin config. Apr 12, 2019
plasma-runner-linuxcommands.desktop Add plugin config. Apr 12, 2019
uninstall.sh Add helper files. Apr 12, 2019

README.md

截图

Ctrl+j/k 在匹配候选列表中进行选择。按下Enter之后在浏览器中打开对应命令的链接,并复制命令名字到剪切板。

screenshot

配置

config

准备

下载linux-command的配置文件到主目录,提升命令查询速度

wget https://raw.githubusercontent.com/jaywcjlove/linux-command/master/dist/data.json ~/.data.json

安装

git clone https://github.com/roachsinai/krunner-linuxcommands.git && cd krunner-linuxcommands
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins`
make 
sudo make install
kquitapp5 krunner
krunner

脚本

也可以运行下面的脚本进行安装与卸载。

  • 安装(前提条件:1. 下载好配置文件;2. repo clone finished.)
  • 卸载

ToDo

  • 添加配置制定linux-command的配置文件存放位置
You can’t perform that action at this time.