This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KRunner should learn most-often-selected commands

1

Votes
1
0
Tags: krunner krunner krunner
(comma "," separated)
User avatar
unhammer
Registered Member
Posts
53
Karma
0
OS
KRunner should learn which selections you use the most (see Quicksilver on the Mac).

Use case: this is the first time ever I run KRunner. I type "fi", and "fillets" shows up first, then "firefox" second in the list of hits. I select "firefox". Now "fi" gets an increased score for "firefox", and "firefox" also gets an increased score. The next time I type "fi", the hit list will have "firefox" first and "fillets" second.

However, on typing "f", "firefox" will also be on top, since "firefox" itself got an increased score. This is because I've never selected any program before on the "f" prefix, so it has no prefix-score, and KRunner falls back to looking at the app scores themselves (which in the simplest implementation would just be the sum of their prefix scores).

"Special commands" like = might have to be exempt from this.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
It already does this for me, although it requires at least 3 letters before it provides any information (which is necessary for performance).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]