Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets WebSearch
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] WebSearch
Page : 1 2 3 4 5 6 7
Eduardo Mucelli English 126 fabounet [Read]
13 August 2013 à 16:16

Guest, Thursday 17 November 2011 à 14:45

Eduardo,

I had done it. However i decided to do it again :

******@Sankara ~/Escritorio $ cd ruby-dbus-0.3.0/
******@Sankara ~/Escritorio/ruby-dbus-0.3.0 $ ls
ChangeLog COPYING doc examples lib NEWS README setup.rb test
******@Sankara ~/Escritorio/ruby-dbus-0.3.0 $ ruby setup.rb config
---> lib
---> lib/dbus
<--- lib/dbus
<--- lib
******@Sankara ~/Escritorio/ruby-dbus-0.3.0 $ ruby setup.rb setup
---> lib
---> lib/dbus
<--- lib/dbus
<--- lib
******@Sankara ~/Escritorio/ruby-dbus-0.3.0 $ sudo ruby setup.rb install
[sudo] password for ******:
rm -f InstalledFiles
---> lib
mkdir -p /usr/local/lib/site_ruby/1.8
install dbus.rb /usr/local/lib/site_ruby/1.8/
---> lib/dbus
mkdir -p /usr/local/lib/site_ruby/1.8/dbus
install type.rb /usr/local/lib/site_ruby/1.8/dbus
install auth.rb /usr/local/lib/site_ruby/1.8/dbus
install matchrule.rb /usr/local/lib/site_ruby/1.8/dbus
install introspect.rb /usr/local/lib/site_ruby/1.8/dbus
install bus.rb /usr/local/lib/site_ruby/1.8/dbus
install marshall.rb /usr/local/lib/site_ruby/1.8/dbus
install message.rb /usr/local/lib/site_ruby/1.8/dbus
install export.rb /usr/local/lib/site_ruby/1.8/dbus
<--- lib/dbus
<--- lib


Elie

Eduardo Mucelli, Thursday 17 November 2011 à 14:48


Subscription date : 05 August 2009
Messages : 285
@Guest: cool, and now, try to run Cairo-Dock on the Terminal, and check if it works.

Guest, Thursday 17 November 2011 à 14:59

Good news,

Now it works a bit. Just a bit because first of all the results aren't display in the same manner as in the preview... The display is similar to the Google applet.

Second of all only Google seems to work. I've checked some others searchers (Yahoo, Youtube, Wikipedia) and they don't work. Worse, when I try to change back to Google I can't and have to quit the applet.

Google is my defaut search engine and when i launch the applet it seems to work fine (aside from the display) . When i do right click on it, i see a submenu "History" and in the submenu "Websearch" i see "Applet's handbook" and all the other searchers (Bing, Yahoo, ...).
However if i changed to another searcher , first of all i can't get any results when i do a search and when I right click the icon, I don't see anymore the "History" submenu and in the "Websearch" submenu i only see "Applet's Handbook" , the others searchers are gone.

Even if i try to revert to Google by doing "Configuration" -> "Configuration" -> "Search Engine" , it doesn't work...

Eduardo Mucelli, Thursday 17 November 2011 à 15:09


Subscription date : 05 August 2009
Messages : 285
@Guest:

regarding the way in which the icons are being displayed, I think it is because you have to choose the "Parabolic" style. Configure -> Views -> Sub-Icons -> Parabolic.

regarding the applet, since I used a web fetching scheme to create this applet, when something changes on the way the engines display the results, the code breaks. Actually, I need to pass through all those engines and check what is going on. I confess that my spare time is "quite inexistant" to fix it, but since you are interested on it, I will try to check the code as soon as I can. You have interest about a specific search engine?

Guest, Thursday 17 November 2011 à 15:24

Eduardo thanks for the help, in reality i just plan to use that applet to search in the 3 following search engines :
- Google
- Youtube
- Wikipedia

I just need those 3. However if I can't change from one to another without breaking the code it is basically useless for me and I would have to stick to just one search engine...

Regarding the display, I do not find that Views-> Sub-Icons submenu and anything talking about Parabolic.

When i go in the configuration of the applet I only have 3 submenus :

- Icon
- Desklet
- Configuration

In none of those 3 submenus is mentionned "View"

Eduardo Mucelli, Thursday 17 November 2011 à 15:33


Subscription date : 05 August 2009
Messages : 285
@Guest: you have to right-click over the dock. On the menu Cairo-Dock > Configure > Appearance (a tab) > scroll down and you see "choose the default view for sub-docks", then you choose Parabolic.

Guest, Thursday 17 November 2011 à 15:43

Great that does work now.

That applet is really nice, too bad the Wikipedia and Youtube doesn't do it for me.

Thanks for your work !

Eduardo Mucelli, Thursday 17 November 2011 à 15:49


Subscription date : 05 August 2009
Messages : 285
Cool! By the way, what is the Cairo-Dock version you are using?

Guest, Thursday 17 November 2011 à 16:04

I am using the 2.3.0~1 version.

I am under Linux Mint 11.

Eduardo Mucelli, Thursday 17 November 2011 à 19:59


Subscription date : 05 August 2009
Messages : 285
@Guest: I fixed Wikipedia search. Soon it will be available on Cairo-Dock repository. Cheers.

matttbe, Friday 18 November 2011 à 11:16


Subscription date : 24 January 2009
Messages : 12573
@Eduardo: I'm not sure that we can use the current version for this old version.
@fabounet: what do you think about that?

Eduardo Mucelli, Friday 18 November 2011 à 11:44


Subscription date : 05 August 2009
Messages : 285
@matttbe: what do you mean?

matttbe, Friday 18 November 2011 à 19:34


Subscription date : 24 January 2009
Messages : 12573
Sorry
@Eduardo: I'm not sure that we can use your current version of your applet for this old version of the dock.

Eduardo Mucelli, Friday 18 November 2011 à 19:46


Subscription date : 05 August 2009
Messages : 285
@matttbe: you talk about compatibility? I changed nothing regarding the connection between dock and applet. If the applet is (barely ) working on the Guest's dock, it should keep working. Anyway, this applet is not even using CData interface, it is using raw Dbus calls, therefore, it should work. Well, maybe Im not aware about your point yet

matttbe, Friday 18 November 2011 à 20:28


Subscription date : 24 January 2009
Messages : 12573
Ok, you're right, it seems I can use this new version of your applet for older version of the dock. Except that it seems a few websites no longer work with your applet (e.g. youtube, twitter, flickr, etc.). Can you have a look to that?

Eduardo Mucelli, Friday 18 November 2011 à 20:32


Subscription date : 05 August 2009
Messages : 285
@matttbe: yes, I knew that soon (or not that much), or later some would stop working. For sure Im going to look at that. But before, I just need to finish the first version of my last applet

matttbe, Friday 18 November 2011 à 21:15


Subscription date : 24 January 2009
Messages : 12573
I just need to finish the first version of my last applet
Great

fabounet, Tuesday 22 November 2011 à 17:54


Subscription date : 30 November 2007
Messages : 17118
not sure at all if it will work with the 2.4 or later, since when we change the version of the dock, we also freeze the third-party applets (like distributions do with their packages). It will work if the code doesn't use some methods that have changed, and I don't remember the changes between 2.3 and 2.4 or of course if the code of the applet didn't change from the 2.3

however, seeing how hard it is to install it, maybe it would be nice to have either a small script packaged with the applet, or rewrite it in Python

Eduardo Mucelli, Tuesday 22 November 2011 à 18:03


Subscription date : 05 August 2009
Messages : 285
@fabounet: I tested it on the latest CD, bzr version. If you check the README contained in the last version that was merged, the install instructions are pretty simpler:

sudo apt-get install ruby rubygems libxslt1-dev libxml2-dev
sudo gem install parseconfig addressable launchy nokogiri ruby-dbus

This was basically because some dependencies that I mistakenly included in the past, and some packages now do not require do be installed "by hand" anymore, they became part of the ruby "gems", that make things easier.

matttbe, Tuesday 22 November 2011 à 19:13


Subscription date : 24 January 2009
Messages : 12573
that make things easier
yes but you need root right and it's maybe not so easier for anyone (how to use these commands? which password? it's invisible? etc.)

Applets | Applets

Subjects Author Language Messages Last message
[Locked] WebSearch
Page : 1 2 3 4 5 6 7
Eduardo Mucelli English 126 fabounet [Read]
13 August 2013 à 16:16


Glx-Dock / Cairo-Dock List of forums Applets | Applets WebSearch Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.