FS#72466 - krunner: Unable to execute command using konsole
Attached to Project:
Arch Linux
Opened by Zhong Lufan (hill) - Monday, 18 October 2021, 19:51 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 26 December 2021, 21:45 GMT
Opened by Zhong Lufan (hill) - Monday, 18 October 2021, 19:51 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 26 December 2021, 21:45 GMT
|
Details
Entering commands in krunner and pressing Shift + Enter or
clicking on the konsole icon does not open konsole and
execute commands properly.
error log: ``` 10月 19 03:35:13 Hill-LPC krunner[10175]: (无法调用命令行终端)ERROR: 无法调用命令行终端程序: 10月 19 03:35:13 Hill-LPC krunner[10175]: 无法通过 D-Bus 使用 KLauncher。在调用 kdeinit_exec_with_workdir 时发生错误: 10月 19 03:35:13 Hill-LPC krunner[10175]: The name org.kde.klauncher5 was not provided by any .service files ``` I'm not sure if this is a known issue upstream or if the Arch Package lacks a kinit dependency. |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 26 December 2021, 21:45 GMT
Reason for closing: Fixed
Additional comments about closing: plasma-workspace 5.23.4-3
Sunday, 26 December 2021, 21:45 GMT
Reason for closing: Fixed
Additional comments about closing: plasma-workspace 5.23.4-3
[1] https://bugs.kde.org/show_bug.cgi?id=437131#c2
I'm not familiar with C++ or QT, so please let me know if there are some coding errors.
[1] https://github.com/Hill-98/plasma-workspace/commit/57c9f18918e19e7d6bd7c16ee296f41b0c85d9f6.patch
str.split(QLatin1Char('='))
instead of a regex.
Since I saw that the parseShellCommand below it uses regular expressions to handle env, I just took it over and used it.
I could also try using split to fix it.