Bug 343078

Summary: Must type the whole action name to get a search result in KRunner
Product: [Plasma] krunner Reporter: Louis Moureaux <m_louis30>
Component: solidAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, gaantonio, notmart
Priority: NOR    
Version: 5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Louis Moureaux 2015-01-20 13:33:11 UTC
I use frequently KRunner to put my computer to sleep. I have to type "Put to sleep", while "Sleep" alone could return a result. This is even worse in verbose locales, eg in French "Put to sleep" reads "Mettre en veille" - one third more characters to type.
I'd like shortcuts to be introduced, for example "Sleep", "Hibernate", "Power off", "Turn off", ... Each locale could have its own list of shortcuts (to account for synonyms).
Comment 1 Marco Martin 2015-01-22 09:56:46 UTC
PowerDevilRunner.cpp around line 263, should perhaps add all matches just with "sleep" anyways