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

Dolphin search folders

52

Votes
52
0
Tags: dolphin, search, folders dolphin, search, folders dolphin, search, folders
(comma "," separated)
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Wed Jun 30, 2010 9:50 am
Hello,

the idea is simple,
a folder (look alike) that actually stores a search results.
for example:
you want the folder ~/Documents/Music to list all the music in /mnt/Media/Mp3; /media/Music-Player; ~/my-music; you get the idea.
https://bugs.kde.org/show_bug.cgi?id=242975
the search results must be up to date and not static.

to make it complete dolphin must support multiple search paths as well.
https://bugs.kde.org/show_bug.cgi?id=242976

thanks,
YB.
User avatar
BSmith1012
Registered Member
Posts
119
Karma
0
OS

Dolphin search folders

Fri Jul 02, 2010 2:54 am
this idea seems like its the same as "virtual folders" which have been discussed for quite some time now. This is something that will eventually be done by using nepomuk to save a list of eg; all music files, videos, etc. all in one virtual folder. Google it and check it out, not sure where the project stands right now but it was a big selling point of the technologies of nepomuk and KDE4 when they were first being marketed
User avatar
Anton
KDE Developer
Posts
265
Karma
0
OS

Dolphin search folders

Sat Jul 03, 2010 4:53 pm
For now it is possible by making a link to the search results and giving it a folder-icon.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

Dolphin search folders

Sun Jul 04, 2010 1:28 am
Anton wrote:For now it is possible by making a link to the search results and giving it a folder-icon.


How, exactly? I tried this but couldn't get it to work.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS

Dolphin search folders

Sun Jul 11, 2010 5:49 am
Do a search.
Copy the URL.
Go to where you want the link.
Right-click: Create new Link to Location
Paste the URL saved earlier
Give it a nice name.
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Mon Jul 12, 2010 11:24 pm
david_edmundson wrote:Do a search.
Copy the URL.
Go to where you want the link.
Right-click: Create new Link to Location
Paste the URL saved earlier
Give it a nice name.


are you using Dolphin "Tools"->"Find File" ?
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Dolphin search folders

Mon Jul 12, 2010 11:34 pm
I don't think it works for Dolphin's "Tools->Find File" but I have confirmed david_edmundson's method using the Nepomuk search bar in Dolphin. However using this method I was only able to create a desktop configuration file and not a native folder. Clicking it did result in the search results "folder" being opened, but it really was simply a new Dolphin window showing the results of the nepomuk query.

yehielb, does this work for you?


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Dolphin search folders

Mon Jul 12, 2010 11:37 pm
It doesn't work with the "Tools->Find File" method but I have tested david_edmundson's method with the nepomuk query field on the top right of Dolphin. It works fine, other than the fact that it doesn't create a native folder as such, but instead a desktop configuration file which opens a new Dolphin window.

Does this work for you, yehielb?


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS

Dolphin search folders

Tue Jul 13, 2010 12:20 am
I assumed we were talking about nepomuk search. Sorry.

Nepomuk is a much much more advanced version of the find dialog anyway. It will do everything.

Yes, a 'link' is what it would create. However I don't see why you would ever treat that to be any different from a "native folder" (except the new window thing, I'm a bit surprised by that).

You can drag & drop, move, copy. Pretty much everything.

I use it all the time for lots of ftp links and such.
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Tue Jul 13, 2010 8:52 am
Moult wrote:It doesn't work with the "Tools->Find File" method but I have tested david_edmundson's method with the nepomuk query field on the top right of Dolphin. It works fine, other than the fact that it doesn't create a native folder as such, but instead a desktop configuration file which opens a new Dolphin window.

Does this work for you, yehielb?


No, I have enabled the strigi file indexer for the night, gave it a try but either it is too complicated or it is just not working.
I am an asking for images inside an only images folder and I get no results...
and it seems like it take forever for a task that should take a second or two.

Last edited by yehielb on Tue Jul 13, 2010 9:05 am, edited 1 time in total.
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Tue Jul 13, 2010 9:04 am
david_edmundson wrote:I assumed we were talking about nepomuk search. Sorry.

Nepomuk is a much much more advanced version of the find dialog anyway. It will do everything.

Yes, a 'link' is what it would create. However I don't see why you would ever treat that to be any different from a "native folder" (except the new window thing, I'm a bit surprised by that).

You can drag & drop, move, copy. Pretty much everything.

I use it all the time for lots of ftp links and such.


but you can't use that search results path as a parameter for anything.
for example, I want my music player to look only in one folder and this is it.
or I want to use a path for a slideshow from all my pictures from many folders.
clearly if this search result look like a regular folder to all applications that would make it much better.

now Nepomuk may return the required results but I think it's way too heavy gun for this task, a simple find script will do.

and one more thing, I can't see a way to search in more then one place, which is very basic.
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS

Dolphin search folders

Tue Jul 13, 2010 9:43 am
It _would_ look like a regular folder to all KDE applications.

That's the genius part about KIO slaves which is the underlying technology we're talking about here.

There used to be a KIO slave for the find command, not sure if it got deprecated. I will take a look when I get home.
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Tue Jul 13, 2010 10:03 am
david_edmundson wrote:It _would_ look like a regular folder to all KDE applications.

That's the genius part about KIO slaves which is the underlying technology we're talking about here.

There used to be a KIO slave for the find command, not sure if it got deprecated. I will take a look when I get home.


when you say find command you mean GNU find or dolphin find?
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS

Dolphin search folders

Wed Jul 14, 2010 12:23 am
Just throwing in another (possibly irrelevant) suggestion here, but will symlinks solve your problem of multiple locations accessed from one directory? I often do that for my music collection which is quite spread around to access them from a single "directory".


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
yehielb
Registered Member
Posts
23
Karma
0
OS

Dolphin search folders

Wed Jul 14, 2010 7:30 am
symlinks are good enough but they should be up to date, meaning that no dead links or missing links.
I can do the symlinks with for example:
find /media/MEDIA/TV/ /media/MEDIA/movies/ \( -name "*.avi" -o -name "*.mpg" \) -exec ln -s {} \;
but I don't know how to keep it up to date.
and this is not very user friendly approach.


Bookmarks



Who is online

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