Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
Tags: 
Moderator User avatar

JanGerrit

Moderator

Posts: 611

Karma: 2

Location: Hesse

Gender:  Male

OS: openSUSE openSUSE

Germany

A work around for a nepomuk-search-folder (it's a link)

Post Fri Aug 14, 2009 7:42 pm

If you want to search a file through nepomuk you can use KRunner or the search field of Dolphin - virtual folders aren't implemented.
So here is a tip to create a *.desktop file which looks like a folder but if you click on it you will get a nepomuk search for a predefined term (e. g. Linux) (unfortunately the search is opened in a new Dolphin-window):
Create a file named "Linux". Put in that text:
Code: Select all
[Desktop Entry]
Name=Linux
Comment=Directory
Type=Link
URL[$e]=nepomuksearch:/linux

Comment=Directory effects that the file is listed under Directories in Dolphin (I hope that the name is right. I use a German KDE so I use the German word for Directory (it's Ordner)) so take care that Directory is replaced by the word Dolphin uses for Directory in your language.
If you want to search for a tag use as URL:
Code: Select all
nepomuksearch:/hasTag=Linux

The tag you search and your search term must be case sensitiv if you search for a tag.
Last edited by JanGerrit on Fri Aug 14, 2009 9:11 pm, edited 1 time in total.
Image



Ignacio Serantes

Registered Member

Posts: 317

Karma: 0

Gender:  Male

OS: openSUSE openSUSE

Spain

Re: A work around for a nepomuk-search-folder

Post Fri Aug 14, 2009 9:04 pm

I prefer use Folder View for this kind of job but, I don't really understand what are you doing. Well, yes, I see what are you doing but seems so complicated.

You know that you can write a query in Dolphin or Konqueror and with a drag&drop create a link in the place you like?

Moderator User avatar

JanGerrit

Moderator

Posts: 611

Karma: 2

Location: Hesse

Gender:  Male

OS: openSUSE openSUSE

Germany

Re: A work around for a nepomuk-search-folder

Post Fri Aug 14, 2009 9:10 pm

My files are sorted by type. And that's good so. But the Links are at the bottom and it's nicer if my "Virtual Folders" are near the folders. So I did that. And I thought, that some people would like it the same way...
Image



sonay

Registered Member

Posts: 4

Karma: 0

OS: Ubuntu Ubuntu

Re: A work around for a nepomuk-search-folder (it's a link)

Post Sun May 02, 2010 7:20 pm

I don't know what a virtual file is, but I have a problem with nepomuk and dolphin search which may be related.

I am dual-booting with windows(rarely), so to reach my files I have a seperate ntfs partition where I keep my videos, pictures, etc. and those folders are symlinked to my home partition and are checked for nepomuk indexing. however whenever I make a search either with krunner or dolphin no files are found. is it due to that virtual file thing? should I report a bug?


Who is online

Registered users: annew, arxus, Ask Jeeves [Bot], Baidu [Spider], benderamp, Cuil Twiceler [Spider], Dan Leinir Turthra Jensen, Exabot [Bot], FMD, Gallaecio, Google [Bot], MSN [Bot], nowardev, pushkarajthorat, Sogou [Bot], Yahoo [Bot], zekkerj