Description: A desktop search widget for superkaramba.
This has been completely re-written from the ground up. No new features were added, but it is more stable, better structured, and I fixed a few issues.
What It Does: ------------- This widget allows one to search almost any search engine right from their desktop. It also gives the ability to run terminal commands. The theme launches the search in your default browser(setup in the right click Configure Multi_Search menu). Click on the icon to the left of the searchbox to change the search engine.
You can add your own search engines to the widget through the right click Configure Multi_Search. This will take a search url and add it and it's associated favicon, if it has one, to your widget.
You also have the ability edit and remove existing search engines and change the icon for a search engine.
There are also 8 backgrounds to choose from which can be found in the right click Configure Theme menu.
If anyone has any problems, comments, or ideas I would be glad to hear them.
Thanks: ------- Thanks to kde-look user gryphen for the go button images and several of the backgrounds
Getting Help: ------------ In order for me to help you please send me these 3 files:
I just got this theme. The icons for the engines didn't show up, but I managed to fix that myself. However, when I type something in the textbox, and press enter or click on the Go button, nothing happens. I made sure that konqueror was selected as the browser. Is it just me? or is anyone else having this problem?
Out of curiousity, what did you have to do to make the icons show up? I ask b/c I downloaded it and ran it and it worked fine. Also if you run superkaramba from the Konsole, then open multi_search you should be able to see output. try searching for something and let me know what error it gives you in the Konsole.
First see if the search_icons folder was extracted. They should be in the following directory
/home/your_user_name/.superkaramba/multi_search
Here there should be a folder named search_icons. If that is not present you will need to extract it from the .skz theme file by unzipping that folder. Let me know what you find.
You can use my email address to contact me, aaronjg at gmail dot com
The problem is that your config file is pointing to the wrong directory.
You should open the file /home/Insert_Your_User_Name_Here/.superkaramba/multi_search/engines.dat
Each line in the file is one of your search engines. Make sure that they are pointing to the right path, aka /home/Your_User_Name/.superkaramba/multi_search/search_icons/google.png
IF they are not then edit/save the file.
I like it, but it seems that it is impossible to add different engines that lie on the same server. I tried to add the english, french and spanish dict.leo.org, the search URLs are:
http://dict.leo.org/ende?search=$
http://dict.leo.org/frde?search=$
http://dict.leo.org/esde?search=$
However, after I added one of them, I cannot add others. Maybe because multi_search thinks they are the same and doesn't want to make double entries?
Notice also how, on those three different sites, the favicon.ico changes. multi_search always only retrieves the default one, which would make the three impossible to distinguish even if they could be added all three to the widget.
It would be nice to have support for this :-)
I'll have to look into why after adding one you cannot add the others, I didn't think there was validation for that, but I may be wrong. You are right, you will not be able to obtain the different favicons as is. Currently it looks at the default location: http://somewebsite.com/favicon.ico, and if it can't find it, then it will look through the source code for the favicon, which is what you would want to happen first in order to obtain different favicons. I have some other bugs/enhancements to do, that didn't happen this past weekend, but hopefully within the next 2 weeks. Thanks for your comments as well.
I just tested this, and there is a solution without changing any code.
1) Add the first engine(http://dict.leo.org/ende?search=$) then go to the manage tab and change the name to say Leo-English, or whatever name you would like to help you distinguish that this is the english version.
2) Now go back and add the 2nd one and change it's display name, as well as the 3rd.
3) Finally use the website http://converticon.com to convert the french and german favicons to pngs. Then you can easily set the icon for the french and english through the manage search engines tab by clicking on the existing icon, and then navigating to the saved png.
Let me know if you have any questions in this process.
I love this widged. But I can't add a searchengine. I'd like to add "http://www.demonoid.com/files/?query=$" but the the popup where I enter the url never closes.
Hrmm, I tried the same url and it worked. It sounds like you are using an older version. Are you using 0.1.0? This version was just released today. And do you have wxPython installed, or are you trying to add the engine the old way? If this is the case I strongly reccomend downloading the newer version and installing wxPython. If you do not want to install wxPython, load superkaramba via the command line, then try to add the engine and copy/paste the ouput it gives. But again I would reccomend using the new version with wxPython.
I'm sorry, I missed the comment about the need of wxPython. I'm unsertain which rpm I should install on Kubuntu Feisty, it's not in the standard repos. Can someone help me with this?
Forgive me my probebly silly questions, I'm fairly new to Linux.
The package you would need to get is python-wxgtk2.6. You can grab this through apt-get.
Command:
apt-get install python-wxgtk2.6
You will need to use sudo to do the above.
I already had it installed. But restarting made it work.
I've tried adding the demonoid link, and an icon for it. But somehow now only a few of the search engines are showing (only 4). I didn't delete any of them. And the demonoid isn't.
I can't open the searchengine manager anymore. It's just not responding.
I think it has to do with the icon I chose for Demonoid. I've made a 16x16 png with the logo from Demonoid.com
Email me the files engines.dat and config.dat to aaronjgATgmail.com and I can hopefully tell you what's wrong. Those files are located in /home/Your_User_Name/.superkaramba/multi_search/
I have a few things for you to try. First off open up superkaramba via the terminal. Then try to change the default browser. Look at the terminal and copy/paste any errors you might receive, so I can look at them. If there are no errors then try deleting the config file, which would be under /home/your_user_name/.superkaramba/search.rc, then try it again. If that still doesn't work try uninstalling it and redownloading it. Firefox is the default browser wehn you install multi_search, so you shouldn't need to change anything. Let me know how that goes.
Thanks for the quick response. I'll check out the new version tonight. I went into the .rc file and changed default=konqueror to default=firefox and restarted SuperKaramba and it worked. At least I think that is what fixed it. Anyway, I'll download the newest version tonight. This multi-search tool is great! Thanks!
Don't forget to mention in your project description that your widget also has a terminal command mode. Thanks for this really useful feature! Now I don't need to press Alt+F2 any more.
Ratings & Comments
32 Comments
I just got this theme. The icons for the engines didn't show up, but I managed to fix that myself. However, when I type something in the textbox, and press enter or click on the Go button, nothing happens. I made sure that konqueror was selected as the browser. Is it just me? or is anyone else having this problem?
Out of curiousity, what did you have to do to make the icons show up? I ask b/c I downloaded it and ran it and it worked fine. Also if you run superkaramba from the Konsole, then open multi_search you should be able to see output. try searching for something and let me know what error it gives you in the Konsole.
Try this new version and if it still doesn't work send me the three files listed above in the "Getting Help" section.
Thanks, I've found the folder, icons are working now. :D I really like it.
First see if the search_icons folder was extracted. They should be in the following directory /home/your_user_name/.superkaramba/multi_search Here there should be a folder named search_icons. If that is not present you will need to extract it from the .skz theme file by unzipping that folder. Let me know what you find. You can use my email address to contact me, aaronjg at gmail dot com
Hi there, just installed the new version and now the icons of the searchbar are missing, any suggestions ?
The problem is that your config file is pointing to the wrong directory. You should open the file /home/Insert_Your_User_Name_Here/.superkaramba/multi_search/engines.dat Each line in the file is one of your search engines. Make sure that they are pointing to the right path, aka /home/Your_User_Name/.superkaramba/multi_search/search_icons/google.png IF they are not then edit/save the file.
I like it, but it seems that it is impossible to add different engines that lie on the same server. I tried to add the english, french and spanish dict.leo.org, the search URLs are: http://dict.leo.org/ende?search=$ http://dict.leo.org/frde?search=$ http://dict.leo.org/esde?search=$ However, after I added one of them, I cannot add others. Maybe because multi_search thinks they are the same and doesn't want to make double entries? Notice also how, on those three different sites, the favicon.ico changes. multi_search always only retrieves the default one, which would make the three impossible to distinguish even if they could be added all three to the widget. It would be nice to have support for this :-)
I'll have to look into why after adding one you cannot add the others, I didn't think there was validation for that, but I may be wrong. You are right, you will not be able to obtain the different favicons as is. Currently it looks at the default location: http://somewebsite.com/favicon.ico, and if it can't find it, then it will look through the source code for the favicon, which is what you would want to happen first in order to obtain different favicons. I have some other bugs/enhancements to do, that didn't happen this past weekend, but hopefully within the next 2 weeks. Thanks for your comments as well.
I just tested this, and there is a solution without changing any code. 1) Add the first engine(http://dict.leo.org/ende?search=$) then go to the manage tab and change the name to say Leo-English, or whatever name you would like to help you distinguish that this is the english version. 2) Now go back and add the 2nd one and change it's display name, as well as the 3rd. 3) Finally use the website http://converticon.com to convert the french and german favicons to pngs. Then you can easily set the icon for the french and english through the manage search engines tab by clicking on the existing icon, and then navigating to the saved png. Let me know if you have any questions in this process.
I'll add the ability to add your own browsers. And I'll again look into the issue of using non ascii characters.
very nice, but... when you type in belarusian letters (cp1251) does not open browser at all :( also, does not support seamonkey
The latest version working perfectly with Feisty now :)
I love this widged. But I can't add a searchengine. I'd like to add "http://www.demonoid.com/files/?query=$" but the the popup where I enter the url never closes.
Hrmm, I tried the same url and it worked. It sounds like you are using an older version. Are you using 0.1.0? This version was just released today. And do you have wxPython installed, or are you trying to add the engine the old way? If this is the case I strongly reccomend downloading the newer version and installing wxPython. If you do not want to install wxPython, load superkaramba via the command line, then try to add the engine and copy/paste the ouput it gives. But again I would reccomend using the new version with wxPython.
I'm sorry, I missed the comment about the need of wxPython. I'm unsertain which rpm I should install on Kubuntu Feisty, it's not in the standard repos. Can someone help me with this? Forgive me my probebly silly questions, I'm fairly new to Linux.
The package you would need to get is python-wxgtk2.6. You can grab this through apt-get. Command: apt-get install python-wxgtk2.6 You will need to use sudo to do the above.
I already had it installed. But restarting made it work. I've tried adding the demonoid link, and an icon for it. But somehow now only a few of the search engines are showing (only 4). I didn't delete any of them. And the demonoid isn't. I can't open the searchengine manager anymore. It's just not responding. I think it has to do with the icon I chose for Demonoid. I've made a 16x16 png with the logo from Demonoid.com
Email me the files engines.dat and config.dat to aaronjgATgmail.com and I can hopefully tell you what's wrong. Those files are located in /home/Your_User_Name/.superkaramba/multi_search/
You have mail!
I am unable to select Firefox as the default browser. Any ideas? Firefox is installed, when I select it Konqueror stays as the default. Any ideas?
I have a few things for you to try. First off open up superkaramba via the terminal. Then try to change the default browser. Look at the terminal and copy/paste any errors you might receive, so I can look at them. If there are no errors then try deleting the config file, which would be under /home/your_user_name/.superkaramba/search.rc, then try it again. If that still doesn't work try uninstalling it and redownloading it. Firefox is the default browser wehn you install multi_search, so you shouldn't need to change anything. Let me know how that goes.
Fixed this in version 0.0.7, I had them backwards, selecting firefox gave you konqueror and selecting konqueror gave you firefox.
Thanks for the quick response. I'll check out the new version tonight. I went into the .rc file and changed default=konqueror to default=firefox and restarted SuperKaramba and it worked. At least I think that is what fixed it. Anyway, I'll download the newest version tonight. This multi-search tool is great! Thanks!
Don't forget to mention in your project description that your widget also has a terminal command mode. Thanks for this really useful feature! Now I don't need to press Alt+F2 any more.