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

Autocomplete support

58

Votes
58
0
Tags: keyboard, krunner keyboard, krunner keyboard, krunner
(comma "," separated)
rosenfeld
Registered Member
Posts
27
Karma
0

[KRunner] Autocomplete support

Wed Apr 01, 2009 5:13 pm
Currently (KDE 4.2.1), krunner (I use lancelot, but I think it applies to default krunner too) is only able to autocomplete items that belong to menu.

Some time ago, I noted that Gnome was able to autocomplete paths from the runner app, such as Windows also does. It is very handy and I can't understand why I can't do that in KDE (3 and 4). Konqueror, Dolphin and some dialogs allow me to use auto-completion for writing paths (even konsole allows that using tabs) in a faster way. Why krunner doesn't allow that? It would be great to use auto-completion for opening some folder in dolphin after writing with auto-complete aid some path such as "/home/user/Documents/presentations". Or "c:documents and settingsuserMy Documentspresentations" when running on Windows (maybe it already does that on Windows, but I can't know since I don't own Windows).

Additionally, it would be good to be able to run commands in $PATH that are not included in the menus. It would also be great to have an option in a checkbox "Run into konsole", so that I could check it and write "du -chs /home/user/*" and see the result in a konsole session.

It also be good to have another checkbox option in krunner: "run as another user" so that I could check it and call 'systempreferences' or 'updatedb', choose the user (defaults to 'root') and type the password.

Last edited by bcooksley on Thu Apr 02, 2009 5:17 am, edited 1 time in total.
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS

RE: Auto-completer for krunner

Wed Apr 01, 2009 5:21 pm
I guess it will be able to do that and much more when nepomuk/strigi/soprano/... will be fully implemented.


Primoz, proud to be a member of KDE forums since 2008-Nov.
rosenfeld
Registered Member
Posts
27
Karma
0

RE: Auto-completer for krunner

Wed Apr 01, 2009 5:27 pm
Primoz, I think that autocompletion should be very easy to implement (well, not for me since I don't know how KDE development works yet, but I know that integrating readline in C++ programs is pretty simple, for instance and I also know that dolphin and konqueror already use some implementation for achieving this behaviour) and we could benefit from it until nepomuk, etc will be fully functional.
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS

RE: Auto-completer for krunner

Wed Apr 01, 2009 6:40 pm
Agreed. I really don't know why it isn't implemented. But I had the feeling that des decided to wait until full-semantic-desktop kicks-in and
brings it to the next level. But I really don't know.


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar
skierpage
Registered Member
Posts
23
Karma
0
OS

[KRunner] Autocomplete support

Fri Aug 07, 2009 6:58 am
Original poster rosenfeld is spot on. This has nothing to do with Nepomuk/Strigi/semantic desktop whatever.

Here\'s my simple use case (KDE 4.3 on Kubuntu 9.04). I print something to mydoc.pdf in workdir. Now I want to see it. I press Alt-F2 and type ~/wor. *Obviously* path and filename completion should occur, just as in a terminal (although pressing [Tab] can\'t be used to force completion) or a File Open dialog. Instead, KRunner only seems to auto-complete recently used directories and paths.

Likewise, if I enter program_name and then a space, I\'m probably giving the path to a file. KRunner\'s dropdown offers to "Run okular ~/wor" but the Command-line runner doesn\'t do the same filename completion that any shell handles with ease.

If this is really hard, maybe there could be a runner just for kde-open (the command to open any path or URL).

Maybe Kickoff should do this as well. If I type a ~ or a well-known directory, or the moment I type a / , it can assume I\'m giving the path to something. Defaulting to Search isn\'t always the right thing. Windows\' Start > Run behavior is closer to what users expect.
anoneemouse
Registered Member
Posts
123
Karma
0
OS

[KRunner] Autocomplete support

Thu Sep 10, 2009 5:20 pm
This is driving me nuts personally. I use this feature in windows for everything... I don't use any of the other KRunner features, except for the calculator from time to time.
rosenfeld
Registered Member
Posts
27
Karma
0

Autocomplete support

Wed Apr 27, 2011 1:59 pm
Any update on this feature request?
User avatar
firef
Registered Member
Posts
25
Karma
0
OS
Bring back the drop-down history list into Krunner ! o)

It allowed repeated launch using the mouse only, without Keyboard use. Now one must type stuff ! VERY BAD AND NOT ERGONOMIC !


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]