You are not logged in.
http://code.google.com/p/googlehacks/
Google Hacks is a compilation of carefully crafted Google searches that expose novel functionality from Google's search and map services. For example, you can use it to view a timeline of your search results, view a map, search for music, search for books, and perform many other specific kinds of searches. You can also use this program to use google as a proxy.
I've made a simple pkgbuild..i'm not sure about the right name,because it's used by this package already http://aur.archlinux.org/packages.php?ID=15978
that seems to be a custom script.
# Contributor:Xemertix <arch88(at)katamail(dot)com>
pkgname=google-hacks-gui
_pkgname1=GoogleHacks
pkgver=1.6
pkgrel=1
pkgdesc="a compilation of carefully crafted Google searches"
arch=('i686' 'x86_64')
url="http://code.google.com/p/googlehacks/"
license=('GPL')
depends=('pango' 'bash' 'libstdc++5' 'gtk2' )
[ "$CARCH" = "x86_64" ] && depends=('lib32-pango' 'bash' 'lib32-libstdc++5' 'lib32-gtk2' )
source=(http://googlehacks.googlecode.com/files/${_pkgname1}${pkgver}.tar.gz
'googlehacks'
'googlehacks.desktop'
'googlehacks.png')
md5sums=('94a1318dce921d5209f76375b05a0753'
'420f9ef4c6ea53f8d2db90d31ccda479'
'9eef625d39954054a1e96788a421ba23'
'7b47a0639dc2f2d1648f13453acda44c')
build() {
cd $srcdir
# Program
install -D -m 755 GoogleHacks ${pkgdir}/opt/${pkgname}/GoogleHacks
install -D -m 755 googlehacks $pkgdir/usr/bin/googlehacks
[ "$CARCH" = "x86_64" ] && sed -i 's:#!/bin/sh:#!/bin/sh\nexport PANGO_RC_FILE="/opt/lib32/config/pango/pangorc":' $pkgdir/usr/bin/googlehacks
# Freedesktop compatibility
install -D -m 664 googlehacks.png ${pkgdir}/usr/share/icons/googlehacks.png
install -D -m 664 googlehacks.desktop ${pkgdir}/usr/share/applications/googlehacks.desktop
}Here there's the tarball http://www.datafilehost.com/download-3da81e19.html
Offline
GUI loads fine but clicking "Search" doesnt seem to do anything... is there an option to set it to open up with a defined webbrowser? *currently using firefox
Offline
GUI loads fine but clicking "Search" doesnt seem to do anything... is there an option to set it to open up with a defined webbrowser? *currently using firefox
"Search" works good for me,what kind of search have you launched? (music,book,video etc..).
No,i don't see any option to change the browser to use..i have firefox (default) ,epiphany,opera,konqueror,kazehakase installed and google hacks launches only and always konqueror
..maybe this option will be added in next versions.
Offline
OK, got it going... simple fix for firefox
# ln -s /usr/bin/firefox /usr/bin/mozillaThat's it!
Discovered this by doing a "strings /opt/google-hacks-gui/GoogleHacks" which revealed these key lines:
which galeon
which konqueror
which mozilla
which opera
Alternatively, you could do a hex edit on that line and change "mozilla" to "firefox", but that is only do-able because they are conveniently the same amount of characters.
Offline
I think it's better to leave to the user the decision about making that linking to 'mozilla',or doing the hex edit,and not automatizing them (if this is even possible) in the pkgbuild..they look as a 'dirty' quick fix.
I hope that next versions of this program will allow selecting a custom browser ![]()
Offline
I think it's better to leave to the user the decision about making that linking to 'mozilla',or doing the hex edit,and not automatizing them (if this is even possible) in the pkgbuild..they look as a 'dirty' quick fix.
I hope that next versions of this program will allow selecting a custom browser
Agreed. I tried looking into the source code @ http://code.google.com/p/googlehacks/downloads/list, but it looks like it was written in REALbasic, and I can't find anything in the repositories to modify it.
Offline