Chapter 16. HIP User Agent and GUI

Manage HITs with graphical user interface.

When new HIT is received, it and local HIT is filtered trough agent, which asks user for accepting the HIT pair. Then HIT is saved into database and accept/reject is returned to daemon. User can also manage HITs trough graphical user interface. The interface is under development, and is quite in alpha state yet.

To compile agent and GUI atleast following packages are needed (asuming you have debian):

In order to install GTK 2.10 manually into debian/ubuntu, you should do following: Download gtk from gtk.org. Also some other libraries are needed, but they can be found using "aptitude search" and then installed using "aptitude install" (Atleast cairo, pango, atk, glib and development versions of those are needed). If you dont like to overide default gtk library, install gtk using "./configure --prefix=/opt". If you do it in that way, you need to set some envars: add to PATH "/opt/bin", add to LD_LIBRARY_PATH "/opt/lib" and add to PKG_CONFIG_PATH "/opt/lib/pkgconfig". Example like this: "export PATH=/opt/bin:$PATH", "export LD_LIBRARY_PATH=/opt/lib:$LID_LIBRARY_PATH" "export PKG_CONFIG_PATH=/opt/lib/pkgconfig:$PKG_CONFIG_PATH"

In order to the agent start properly with right window and system tray icon, you must first do 'make install' to install the data files in right directory. System tray icon will not be shown at all, if you don't do this.

HIT database is saved and loaded on agent startup as default from '$HOMEDIR/.hipagentdb'-file.

The agent executable is called "hipagent". You should run it using normal user (non-root) priviledges.