Bug 511764 - Whenever a terminal command is run through a KRunner plugin, launch a terminal window for it by default
Summary: Whenever a terminal command is run through a KRunner plugin, launch a termina...
Status: RESOLVED DUPLICATE of bug 445159
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 11:21 UTC by Antti Savolainen
Modified: 2025-12-08 17:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
kickoff (38.99 KB, image/png)
2025-11-18 07:28 UTC, Antti Savolainen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2025-11-07 11:21:08 UTC
SUMMARY
It's possible to run terminal commands like grep and cat through the start menu. This however does not do anything visually. A new user will be very confused by this and there is a risk of them running something deleterious without them knowing. To remedy this I suggest that whenever a terminal command is ran from the start menu, a terminal window is opened with the command running on it. It's up in the air if this window should close automatically when the program finishes running or if it should stay open so that the user can see and copy whatever output the terminal has.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7600U CPU @ 2.80GHz
Memory: 24 GiB of RAM (23.2 GiB usable)
Graphics Processor: Intel® HD Graphics 620
Manufacturer: LENOVO
Product Name: 20HG0003SG
System Version: ThinkPad T470s
Comment 1 TraceyC 2025-11-17 22:58:09 UTC
Can you explain a little more about running grep or cat in the start menu? On my system, with Solus, if I type grep or cat in the Application Launcher, it searches through programs. If i press Enter, whatever is highlighted will open. I don't see a way to run those commands from the menu.
Comment 2 Antti Savolainen 2025-11-18 07:28:06 UTC
Created attachment 186908 [details]
kickoff

This is what it looks like in Kickoff. The user is able to click on that last entry, but it visually does nothing.
Comment 3 TraceyC 2025-11-18 17:52:02 UTC
Thanks for the screenshot, that's helpful.

A note for reproduction: It's necessary to go into the Application Launcher Settings - Configure Search Plugins
Enable "Command Line"

I'm changing this to a bug, since this seems like something's not working as intended. If it is, this is not a good user experience. Running something that doesn't appear to do anything is confusing.
Comment 4 Nate Graham 2025-12-08 17:25:59 UTC

*** This bug has been marked as a duplicate of bug 445159 ***