
KarambaLocate
Source (link to git-repo or to original if based on someone elses unmodified work):
- it is possible resize the widget by clicking find icon
- for searching, write your query and run locate with return key
- it is possible scroll list of results with mouse scroll or by clicking on arrow images
- by clicking on a item (path of file or directory) of list, it is possible open html,pdf,png,jpeg,txt,dat,py using konqueror,kpdf,kuickshow,kwrite programs, in other cases parent directory will be opened with konqueror
- it designed to stay on the left side of desktop, better in the top-left corner.
Install: uncompress tar.gz package in ~/.superkaramba directory and click on KarambaLocate/KarambaLocate.theme file
Vers. 3.0
- Search history. You can find your previous serch in a popup menu
- You can turn on/off case sensitive option
- Middle button opens directory of file
- Alternated colours for text lines of results list
- Tooltip shows path. It appears only if arrow is over the left side of text lines. This tooltip resolves partially problem of too long paths that are not completly showed in text lines
- New button to run "locate -u" that update your database of paths. It runs in background, so you can continue to use the widget. A message warns you when updating is finished.
Vers. 2.0
- New look; but most important, now you can use your own background image, of any dimension. The list of results will match dimension of backgruond image, before you need to insert width and height parameter in the head of py script. Change border parameter if head and tail of text is over image border.
- You can change also colour of text and add other extension file and related program in format list in the head of py script
- Bug in path with space font fixed
- Remember to you, also to myself, that you can put locate option in text area before your query; usefull example is -i to do a case insensitive search.
Ratings & Comments
12 Comments
Thank you both: The Fix for Version 1 does it for me. I will wait with "upgrading" to version2 until i can open folders with a " " (space) in them with a simple click, it did not work for me with Version 2 :-(
...i revoke everything i said and proclaim the opposite: the space-bug is fixed, i don't know why it didn't work in the first place...
i don't get it - now it doesn't work again. Using version 2. I am searching for "Garfunkel". The topmost entry is /media/music/mp3s/Simon and Garfunkel . Clicking it a small errorbox opens saying "File or Directory file:///media/music/mp3s/Simon does not exist" Then i click "ok". Konqueror opens with the standard-dialog as if it was opened without arguments, also a errorbox opens saying: (roughly translated from german):"invalid adress and" . Then konqueror crashes. As i said above, it worked until i resized the image to 1280x300. By the time i reinstalled the theme (deleted it), it still doesn't work.
To understand what you mean, does space-bug appear when you change theme? Does default widget work correctly? It's strange!! Because theme and opening files are indepent. However I will check script...
i don't get it too. But: I reinstalled and now everything works fine :-) No space-bug anymore. I go watch starship troopers now.
damn, i can't edit my post; just wanted to say sorry for this joke...
NEW VERSION COMING SOON
updated to vers. 2.0!
Hi! I just found a bug: I can't open locations that have a " " (space) in them, like the folder /home/hauke/The Beatles/ Konqueror then says "Can't find "Beatles" and leaves me with a blank screen.
Replace the openfile() function (line 80) contents with this. http://pastebin.ca/420103
One thing i'd love to see in this theme would be resizing. I am sure i simply could do this by editing the python code, but since i'm a bloody noob i need help :-( I could easily (hey, i have the gimp :-X) resize the image, but how can i make the theme actually display more lines of files/folders? And how about showing images/music/folders/text-files in different colors? Keep it up! Did i already say it's great? Guess so...
Wow, That's really useful, i only replaced the icon and turned it into blue to fit my Desktop ;-) Thank you, great idea