fsrunner for KRunner

System Runners

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

20
8 .3
Description:

FSRunner is a kde runner, the idea is to give you instant access to any file or directory you need. As a lot of time is spend walking through directories, you should never need to walk through 8 directories to get to a location you already know where is.

The homepage at http://code.google.com/p/fsrunner/ has a howto with pictures.

Example usage: you can configure it to scan $HOME, with a depth of 3, and ignore files. And then scan Desktop, with a depth of 1, and include files there. If you have the file Desktop/TODO, you can then write todo in krunner and it will find that file. It also allows using * in searches.

If you've had the action system enabled at all, let me know here or in the bug tracker and I'll get it to usable state. I know it's broken, but I've been busy and I know nobody who uses it.

PLEASE report all problems on http://code.google.com/p/fsrunner/issues/list , if you dont tell me it's broken I can't fix it.

Please vote me up, OR tell me how this isn't practical to you. Because at this point I can't live without it.
Last changelog:

8 years ago

Been far too busy for far too long. Atleast getting critical bugfixes now!

Fix bug causing crashes when conflicting with other krunner plugins.

warnec

11 years ago

PS.: How about translation to other languages?

Report

C

andersaa

11 years ago

I don't really have time to implement localization now, atleast with it's current userbase.

Report

sgls

11 years ago

I really like fsrunner and started using it more and more. One thing that would improve overall experience for me are filters, i.e. the possibility to exclude files matching user-defined patterns from the search results. For example, when searching for notes.txt I usually do not want to find a backup file notes.txt~.

Report

C

andersaa

11 years ago

It actually filters backup extensions by default ;), I don't support user defined filters though, and I dont have the time to add that right now.

This is the only filtering going on:

if ((fileInfo.suffix() == "bak") || (fileInfo.fileName().rightRef(1) == "~") || (fileInfo.suffix() == "old") || fileInfo.fileName() == "lost+found")
continue;

Report

dovidhalevi

11 years ago

Version 0.7.1 crashed krunner after latest upgrades off Debian Sid. Since the make has no uninstall rule, I found the .so and simply deleted it.

I can try 0.7.2, but ... has anyone else had or fixed this problem?

Report

C

andersaa

11 years ago

Can't fix bugs nobody tells me about, you got a backtrace or anything?

Report

dovidhalevi

11 years ago

Here is the command line result of starting krunner with 0.7.2 installed:

ASSERT: "idx >= 0 && idx < s" in file /usr/include/qt4/QtCore/qvarlengtharray.h, line 100
KCrash: Application 'krunner' crashing...
sock_file=/home/david/.kde/socket-d_baron/kdeinit4__0
<unknown program name>(32248)/: Communication problem with "krunner" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

Repeated attempt at this can be unpleasant :-)

Report

C

andersaa

11 years ago

Unfortunately that doesn't tell me much, could be an issue in kde 4.2.4 if I'm lucky.

Report

Nirf

11 years ago

This is amazing and needs to become part of KDE. Back in KDE 3 they had a pathetic version of this, it only indexed ~/. I remember thinking how obvious it was to add other directories and how useful it would be then. You have one-upped me, by adding this and regular expressions as well. Top notch job, this will really enhance my computer use day-to-day. If its cool with you, I want to email the KDE people (or perhaps post somewhere) and suggest this be part of KDE 4.3.

Report

C

andersaa

11 years ago



Glad you like it, and go ahead, I haven't had much time to work on it lately, but it's a simple idea.

I had some more things I wanted to add/change internally that hasn't been done, but it's been working flawlessly for me and I haven't had any bugreports.

Report

Nirf

11 years ago

I'm not sure what you mean on the web page regarding the action system or whatever it is. I haven't had any problems. One thing that I thought was nice though: after I installed this, my friend told me that nepotomuk was supposed to do something similar. I intensely dislike that software and I think what you wrote is much better. However one thing that they had that was excellent (which might not be that hard to implement) is exclusion rules. I don't know if they would be global, or an a directory by directory basis, but in any form they would help. E.g. you could have an exclusion rule for .* because those are hidden files that you generally don't want to search. A personal example: I wanted a file called Biophysics.lyx. So I type in bio*lyx. I get the hit I want, but I also got Biophysics.lyx.emergency. This (and file names ending with tildes) are software saving backup copies of what you are working with, and again generally you don't want to search these. Just a suggestion I think is useful and relevant. Cheers!

Report

C

andersaa

11 years ago

The action system is disabled, core functionality for extra buttons for cut/copy/paste/open with etc is there, but disabled as it always broke for me for no good reason.

Exception rules are there for files, just not user configurable. And for directories adding a subdirectory with different settings will override parent directory.

Report

Nirf

11 years ago

Well, by exception rules I meant user configurable ones naturally.For example the .emergency files that Lyx saves are not a standard so it would be nice to configure my own exception rule for that. Run Nepotomuk and look at their advanced configuration to see what I mean. I might (for the time being) try to implement this by going through the source. You said there are already exception rules implemented, where in the source code roughly (what file name) is that happening? would it be easy to add more?

Report

C

andersaa

11 years ago

Open dirwatcher.cpp and search for bak, it demonstrates suffix (aka extension), rightRef (last char in filename) and full .filename usage.

Report

deabru

11 years ago

You're right, now I can't live without it.

A spanish intro and little manual in http://www.kdehispano.es/?q=content/fs-runner-un-índice-de-archivos-para-krunner

Report

Alexander_double

11 years ago

A gentoo ebuild is now available for fsrunner in gentoo's kde-testing overlay :)

BTW, we like your app :D

Report

C

andersaa

11 years ago

Much appreciated, it's been on my todo list for quite a long time. I've used gentoo exclusively for years, and if you ever find a problem with fsrunner I'm neuron on #gentoo-kde on freenode ;)

Report

C

andersaa

11 years ago

new version out with some settings on how searches are handled.

So checkout the configuration menu, cuz it's more or less the only change in this release.

Worth mentioning that I had krunner crash on me once, but I wasn't able to get a backtrace, and I've been trying really really hard to reproduce it. Hopefully it wasn't my runner (I got tons on), and if it was, and someone gets me a backtrace I'll have it fixed within a few hours anyway.

Report

C

andersaa

11 years ago

New features have been kinda on the back burner, as I've focused on performance, if there is anything you particularly want implemented, make a comment here or in the issue tracker, even if there is an issue open.

Most of the stuff in there is quick enough to do, I just dont get around to it, if I know people are waiting for it it'll be done faster.

Report

junkDawgie

11 years ago

i use the standard cli "find" utilities instead of kfind because it's simply too slow. i hope your widget proves to be as effective. Perhaps if you incorporated the ability to use the various "x"locate databases if they exist your improvement would use less resources?

Report

C

andersaa

11 years ago

They will be faster IF you want to search the same place as the locate database.

For example for scanning your entire filesystem for one specific file using locate will likely be more efficient. But for scanning your home directory locate would be rather inefficient, as it would scan through more data, and I would have to filter the data returned.

Also I dont want the entire filesystem poluting my output, as I rarely need to find something in say /usr/share when I search, I like confining my searches to $HOME.

I believe with it's current resource usage it would be very usable on even very very old computers.

Report

hash87

11 years ago

That's exactly what i was looking for! Nepomuk is imho too bloated and i can't find any purpose for the features it has.

Fsrunner does exactly what i want it to do and it is not a resource hog!

I've created PKGBUILD for Arch Linux, you might want to add it to downlaod links:

http://aur.archlinux.org/packages.php?ID=24539

Keep up the good work!

Report

C

andersaa

11 years ago

Thank you :), Added that link to the download list. And bumped version to 0.3.1, actions are still giving me some rare issues.

0.3.1 wont change anything for people using the standard interface, it only disabled actions by default in the task oriented interface.

I'm starting to think it's a krunner problem and not a problem in my code, but they should be working soon.

I dont use them myself, and I dont have that interface enabled, so I dont test that code as much as I should (apperantly).

Report

hash87

11 years ago

Thanks!

After testing fsrunner for few hours i've got one problem - everytime i reboot my PC and KDE starts for the first time my CPU and disk usage is very high (one core is @ 100%) for about 1 minute, disabling fsrunner during that time makes CPU and disk usage go low. I guess that's because fsrunner scans disks for changes. The database in .kde4/share/apps/fsrunner is about 500kB so i guess it's not that big (highest depth is set to 3).

I don't know if this is a bug or is it a normal behaviour. Wouldn't it be possible to make fsrunner scan "in background" so that it would just take 1-5% of CPU?

Report

C

andersaa

11 years ago

Had something on my todo list that wasn't in the issue tracker, and forgot it.

Now reduced the scanspeed on my home system from 4-5 seconds to 0.3 in svn. More improvements are coming in as well.

Report

8 years ago

Been far too busy for far too long. Atleast getting critical bugfixes now!

Fix bug causing crashes when conflicting with other krunner plugins.

12345678910
19
product-maker Henri Sep 21 2013 9 excellent
product-maker Zipristin Aug 10 2013 9 excellent
product-maker xpt Jul 18 2013 9 excellent
product-maker onliner Feb 21 2013 9 excellent
product-maker gvvsss Feb 08 2013 9 excellent
product-maker nsaje Jan 30 2013 9 excellent
product-maker jaitrum Nov 28 2012 9 excellent
product-maker Schiwi Nov 12 2012 9 excellent
product-maker skarapat Oct 26 2012 9 excellent
product-maker kalmar Oct 07 2012 9 excellent
product-maker cichys Oct 05 2012 9 excellent
product-maker RGBkde Oct 03 2012 9 excellent
product-maker bsidb Aug 29 2012 9 excellent
product-maker lionhater Aug 12 2012 9 excellent
product-maker soulspit Oct 03 2011 9 excellent
product-maker unhammer Sep 20 2011 9 excellent
product-maker OdinEidolon Feb 01 2011 9 excellent
product-maker pvt14 Sep 29 2010 9 excellent
product-maker adaptee Sep 23 2010 9 excellent
Be the first to comment
Zipristin
Aug 10 2013
carlcarl
Feb 16 2013
gvvsss
Feb 08 2013
lei00
Nov 27 2012
cichys
Oct 05 2012
RGBkde
Oct 03 2012
bsidb
Aug 29 2012
MorGothmog
Jun 28 2012
OdinEidolon
Feb 01 2011
tibot
Sep 08 2010
EinfachToll
Sep 05 2010
tomatz
Dec 20 2009
Samt43
Oct 30 2009
warnec
Aug 23 2009
jota
May 19 2009
Nirf
May 14 2009
deabru
Mar 12 2009
dscheapel
Mar 12 2009
hash87
Mar 09 2009
dgvirtual
Mar 03 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7.5
updated Oct 03 2012
added Feb 26 2009
downloads 24h
1
mediaviews 24h 0
pageviews 24h 7