Reply to topic

Shortcut copy path of current document

highsciguy
Registered Member
Posts
84
Karma
0
Hi!

I got used to open files quickly using the krunner dialog. E.g. I enter the first few letters of a pdf file in my path, select the required one and have it open in okular. However, often I need to operate with the file (this is why I searched it, right). For example I want to run a command on it or I want to insert it as attachment into an email I am currently editing. How do you deal with this kind of situtation? Can I somehow copy the path of the present file to the clipboard, e.g. using dbus? Or can I modify krunners behavior in a way that it offers an open with option?

Thanks,
Andreas
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
If you move to the far right of each file entry you find, is an arrow offered allowing you to select other options?


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
highsciguy
Registered Member
Posts
84
Karma
0
In the krunner dialog? No, there does not seem to be any. Should there be one?
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
I seem to recall someone demonstrating it at some point - but Nepomuk won't return any search results for me at the moment so I can't verify locally. The only way for you to add a copy file path to clipboard, etc. functionality to KRunner would be by modifying the source code i'm afraid - which will require self-compilation of parts of the KDE Workspace.

As a workaround, does drag and drop work?


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
highsciguy
Registered Member
Posts
84
Karma
0
Nope, no drag & drop. Strange such features seem so obvious ...
User avatar bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunate, i'm afraid all you can do is file a feature request, and use Dolphin's integrated search in the meantime. At least for Bookmarks, drag and drop works here - so i'm not sure why it wouldn't work for a file result from Nepomuk.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], beerislife, Bing [Bot], Google [Bot], kde-cfeck, Majestic-12 [Bot], Sogou [Bot]