KarambaLocate

Karamba & Superkaramba

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

0
5 .0
Description:

This is my first (maybe also the last!) karamba widget. It's a sort of GUI for shell command locate. These are its features:
- 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
Last changelog:

13 years ago

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.

haukew

13 years ago

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 :-(

Report

haukew

13 years ago

...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...

Report

haukew

13 years ago

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.

Report

C

tardo

13 years ago

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...

Report

haukew

13 years ago

i don't get it too. But: I reinstalled and now everything works fine :-)
No space-bug anymore. I go watch starship troopers now.

Report

haukew

13 years ago

damn, i can't edit my post; just wanted to say sorry for this joke...

Report

C

tardo

13 years ago

NEW VERSION COMING SOON

Report

C

tardo

13 years ago

updated to vers. 2.0!

Report

haukew

13 years ago

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.

Report

suslik

13 years ago

Replace the openfile() function (line 80) contents with this.

http://pastebin.ca/420103

Report

haukew

13 years ago

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...

Report

haukew

13 years ago

Wow, That's really useful, i only replaced the icon and turned it into blue to fit my Desktop ;-)
Thank you, great idea

Report

13 years ago

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.

12345678910
Be the first to comment
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
3.0
updated Oct 17 2007
added Mar 11 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1