Bug 230544

Summary: disable krunner with a kiosk key
Product: [Plasma] krunner Reporter: Stefan Majewsky <majewsky>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, virtuousfox
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Majewsky 2010-03-13 10:18:08 UTC
Version:            (using KDE 4.4.1)
Installed from:    openSUSE RPMs

I'm forwarding a wish from a visitor at our booth at Chemnitzer Linux-Tage. He is administering school desktops and wants to restrict the execution of arbitrary commands.

It would be nice if there was a Kiosk key that disabled KRunner, the "Run command" entry in the desktop's right-click menu, the search bar in Kickoff, and so on.
Comment 1 Stefan Majewsky 2010-03-13 10:18:22 UTC
Bug -> wish.
Comment 2 Sergey Kondakov 2012-03-12 06:16:51 UTC
It would be even nicer if there'd be unobstructed way to get rid of that annoying useless krunner/"run command" thing in any installation.
Why it's useless ? Damn thing isn't really a "run command", it filters input: it refuses to launch scripts or commands with predefined variables. KDE3.X kicker's command line thingy was better, i wish they at least would just do konsole-like plasmoid and be done with it, but...
Here's why it is annoying: every time there is no focus on some particular window (which means: focus on desktop in general) It steals input ! So, when i press global key combination with no window in focus this damn thing comes out of nowhere and takes writable characters as input. And it takes focus too ! What The Hell ?

And you know what, the best part ? You can disable it ! That's right, open '~/.kde4/share/config/kdeglobals' and write:
"[KDE Action Restrictions][$i]
run_command=false"
global hotkeys still don't work out-of-focus though :\

Yep, secret commands you need to google and manually put into hidden config file, itsn't it just swell ? For a DE. From that point, registry-like crap would be a step up, at least they may document it right there.

Even my friend, who sited in front of my PC for 5 minutes, got annoyed and angry. I wonder if there is no outcry about this, because everyone else is also so angry, that they can't write in sentences not consisting from 100% swearing.
Comment 3 Kai Uwe Broulik 2016-05-23 17:07:02 UTC
You can use the "run_command" KDE Action Restriction which will turn off KRunner as well as action/run_command which will remove the entries from context menus.