kBeagleBar

Various KDE 1.-4. Improvements

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

3
5.0
Available as/for: -
Description:

Announcing release of kBeagleBar-0.6.0 - a KDE kicker applet for beagle. This release is compatible with beagle-0.3.0 and libbeagle1.

kBeagleBar sits in the kicker panel and wakes up with Ctrl-Alt-Space (*configurable now*). The results are presented in a menu to allow easy navigation and selection. It allows right clicking on results in the menu to perform alternate actions (similar to konqueror right click context menu).

kBeaglebar package now comes with another tool - beaglekontrol. beaglekontrol (as seen in the 3rd screenshot) is a simple tool to control beagle service. Its similar to beagle-settings of Gnome and is based on the code of kerry.

kBeagleBar is mostly suitable when the user knows the right query terms so that the required result appears in the top few.

kBeagleBar requires KDE >= 3.4.2 and libbeagle1 >= 0.3.0.

Beagle supports a rich query syntax and kBeagleBar adds some more options to it to make searches very powerful. Current release includes the documentation, which contains the details of the query syntax.

Feedback is highly appreciated. Send mails directly to me at dbera DOT web AT gmail DOT com.

!!! KNOWN ISSUE !!!:
-----------
If the number of search results is too high (despite 5 per category), then Qt wraps the menus in two columns. That breaks the rendering in an ugly way. To work around it, close the popup menu (click somewhere else or press escape) and then reopen the menu. I dont think I will be fixing it unless I hear a few complains or get a patch from somebody.

HELP
----
I was not able to add beaglecontrol to the menu even after long hours of Makefile messing. Help or suggestions on that is most welcome. Further, I tried to give an icon to kbeaglebar (not the tray icon but the tooltip icon) which didnt work as well. Last of all, the tray icon of kbeaglebar (face of a beagle in a ugly red sort-of magnifying glass) is a result of my superior artistic skills ;-). Any help in th artwork is highly welcome.

URLs:
----
beagle: http://beagle-project.org
yabi: http://kde-apps.org/content/show.php?content=33222
kbeaglebar sf page: http://sourceforge.net/project/showfiles.php?group_id=159906
Last changelog:

13 years ago

* Update for beagle-0.3.0 and libbeagle1

TheDocter

15 years ago

The question should be: "Why did some guys make gnome if KDE already existed"
Just to keep it in the right chronological order ;-)

But I agree with what you wish to say^^

Report

blujay

15 years ago

I've noticed that while the kBeagleBar box is open, X does not receive any events from the mouse or keyboard at all. Just moving the cursor over something, like buttons on a title bar, does nothing while kBeagleBar is open. This is especially bad if kBeagleBar freezes up for a while, as it makes your GUI unusable. That happened to me earlier; I had to switch to tty2 and `killall -9 kicker` to get my GUI to respond again.

Please continue your work on this. So far it's the only Spotlight-like thing for KDE, and it's really handy.

Report

C

dbera

15 years ago

Unfortunately thats a property of any popup menu in KDE e.g. when the start menu is open, nothing else gets events. Thanks for pointing this out, I never noticed this before... though there is hardly anything do to help improve that.

In the unfortunate event that this occurs again, you can use
dcop kicker kicker restart
from a terminal to restart kicker (not sure if that works from a tty, but should).

The problem should be fixed in kbeaglebar itself. If you have the program appletproxy, then try
$ appletproxy kbeaglebar
That will open a small window with the applet icon. If it hangs, you can close the window to stop it :). If you can reproduce the hang, I would be glad to fix it.

Report

blujay

15 years ago

You're right; I never noticed that before. Well, I've noticed that Beagle can take a long time to return results, and as long as kBB is waiting for Beagle's results, it is frozen; and as long as kBB is frozen, you can't give any input to any other programs or interfaces in X. IMHO this is a serious problem. Here are some ideas to help:

1. A simple timeout for searches; if nothing's returned in so many seconds, cancel it and close the menu, so the user can continue using the X session without having to resort to something like restarting kicker.

2. Instead of using the pop-up menu, do a little trick where you create a special window at the same position that the pop-up menu appears, without window decorations or borders, but one that is a normal window. Make it act like the pop-up menu, in that if you click on something else it disappears. This way it wouldn't block input to the rest of the GUI.

3. Get KDE to fix the problem at a higher (lower?) level, for all pop-up menus.

Report

C

dbera

15 years ago

Thanks for your comments. I indeed found a simple bug (slip of typing :P) which was making the query a blocking one. Watch for the next release ... it will be much smoother, will allow closing the menu while search is in progress and not hang the desktop.

Report

ibc

15 years ago

All of us are used to open Google in Konqueror when we look for information. So, why another app to look for local information? why not simply a "Bleagle Search" in the Konqueror search bar?

I mean, if I look for a document of mine containing "lalala" text I'd like to open Konqueror, write "lalala" in the search bar in "Local browse" mode, and then all the results appear in the Konqueror window (like Google results).
Maybe I find many documents containing "lalala" so I'd like to open all of them in tabs with "Ctrl+Enter", is it possible in your KBeagleBar?

In fact, in your design the width is very small so it's not possible to show many information in each result. Imagine the Google results in a 50px width column.

So, your proposal maybe very useful, but I'd prefer a integrated Beagle in Konqueror search bar. Or maybe both ideas could exists at time and each one chooses the best for him.

Anyway good job, of course. ;)

Report

C

dbera

15 years ago

Your idea is on the right track. I have two answers for that:

1) Imagine you know you visited a kde-apps website on kbeaglebar, and it was a comments page containing the text konqueror. You want to reach this page ... quickly. If you know you can form a query to uniquely identify that webpage, count the effort for the applet and a webbased page.
For the applet, press ctrl-alt-space, type in "type=WebHistory kde apps kbeaglebar konqueror", pause for 1/2 sec, the results show up. You see the title of the webpages and the beginning of the url ... hopefully the webpage you want is within the top few. You scroll down with the cursor (since 1/2 second ago you were typing in the box, its easy to move the cursor) and hit enter. Done.

With the webbased approach, you need to open konqueror (or always have a konqueror open, which is same as not counting the ctrl-alt-space step), type the (same) query in search box, press enter. Locate the result as before and move your mouse to the result and click on the link.

The applet is for cases when you pretty much know what you are looking for and you are lazy to actually traverse links/folders/emails to find it.

2) When you need more information or more options, you need a specialized search interface. I believe a kio slave is a better option than a webbased interface, since the io slave will present results in a similar way and can be used in any dialogs, (even in alt-f2 dialog). There used to be a kio-slave for beagle (search on kde-apps) and there is one currently in development (its in kde playground svn, named kwest).

Hope I made my motivation clear.

Report

peppelorum

15 years ago

Seems like you forgot to upload the new version, I just get the 0.1-version on the download link.

Report

C

dbera

15 years ago

Ahh... fixed now. kde-apps doesnt allow more than 750KB and so the upload wasnt successful. The upload page didnt even show the error properly.

Report

peppelorum

15 years ago

Sweet, found a bug that stopped me from compiling properly. Around line 457 where it says "int last_slash = uri.findRev ('/', -1);" it complained about "crosses initialization of 'int last_slash'", so I just removed int from that line and added "int last_slash;" before the switch and everything works alright now. Have no idea if this was the proper way since my knowledge of C++ is almost none;-)

I also made a package for debian testing/unstable, http://peppesbodega.nu/files/Debian%20Packages/KDE/Apps/kbeaglebar_0.2-0quickpackage_i386.deb

Report

blujay

15 years ago

Wonderful start! Please continue developing this. I can already see "Spotlight" in KDE. :)

Report

blujay

15 years ago

You say 0.2.0, but ./configure says 0.2.1.

Report

Superstoned

15 years ago

tough i don't use beagle ;-)

Report

peppelorum

15 years ago

Really sweet little thing, just as little or big as is needed, one thing though. If I have my kicker on the bottom of the screen the search results is located below kicker and outside of the screen.

One thing that maybe could be good, would be to display an icons if the found file is a folder, an image or a text-document, that way you can more easily discriminate the file that you are looking for.

Another thing could be to display in what folder the different files resides in.

Thanks for a nice little applet=)

Report

C

dbera

15 years ago

I feared this would happen when I wsa writing the relevant code :(. Blame me for forgetting about it while I was testing. Thats a real annoying problem. I would definitely try to fix it in the next release.
Also, I am toying with the idea of showing the icons besides the filetype. My concern is fetching the icons would slow down display of results sometimes ... But I will look into it !
Thanks for your comments.

Report

peppelorum

15 years ago

Ah, if I first press ctrl+alt+space and search for something the result is displayed almost below kicker. If I then press ctrl+alt+space again kbeaglebar is redrawn and all the search results is displayed.

Report

samoht

15 years ago

Same issue here...

Nonetheless it's a great applet!
I've made a PKGBUILD for Archlinux:
http://smcurl.com/RhjXa

Report

13 years ago

* Update for beagle-0.3.0 and libbeagle1

12345678910
Be the first to comment
franyzane
Dec 16 2020
danielsward
Feb 11 2020
loissmoon
Dec 30 2019
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.6.0
updated Jan 17 2008
added Feb 27 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0