Bug 159611 - RFE: Ctrl-F2 Run In Terminal On Shift-Enter
Summary: RFE: Ctrl-F2 Run In Terminal On Shift-Enter
Status: RESOLVED INTENTIONAL
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 18:52 UTC by Dotan Cohen
Modified: 2016-06-28 12:04 UTC (History)
3 users (show)

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


Attachments
This patch adds the ability for runners to get what key additional to return was pressed from the SearchContext. (6.64 KB, patch)
2008-03-31 09:59 UTC, Matej Svejda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2008-03-20 18:52:52 UTC
Version:            (using KDE 3.5.8)
Installed from:    Ubuntu Packages

As a heavy user of the Alt-F2 command prompt, I'd like an easier way to open commands in Konsole. I suggest that the "Run In Terminal" option be used when the user Ctrl-Enters instead of plain Enter.
Comment 1 Aaron J. Seigo 2008-03-20 20:57:23 UTC
that's certainly an interesting idea. some implementation notes for anyone who decides to take this one on:

it probably means altering SearchContext or SearchMatch to carry with it some information on action modifying events that runners can query for if they care to in exec(SearchContext*, SearchMatch*)
Comment 2 Matej Svejda 2008-03-31 09:59:53 UTC
Created attachment 24135 [details]
This patch adds the ability for runners to get what key additional to return was pressed from the SearchContext.
Comment 3 Dotan Cohen 2009-06-24 17:46:30 UTC
As this bug includes a patch, can this be added?

Thanks!
Comment 4 Aaron J. Seigo 2009-06-24 19:23:12 UTC
not for 4.3, no. we can discuss the merits of the patch (i'm not sure the libplasma part is the best approach) for 4.4, however. Matej: please upload your patch to reviewboard.kde.org for review and discussion, and thanks for working on this. :)
Comment 5 Kai Uwe Broulik 2016-06-28 12:04:51 UTC
I'm afraid I won't implement this particular feature as it's hardly discoverable.
In Plasma 5.7, however, the command line runner will have a "Run in Terminal" button which is also reachable using the keyboard, ie.

1. Alt+F2 (or Alt+Space)
2. Type command eg. "vi"
3. Press tab to move the current selection from the main result to the "run in terminal" button
4. Press return
-> vi now launches in a terminal