This will demonstrate how to let the address bar in IceWM act as a Googlebar.
First you have to make a little script, which let you pass multiple search arguments to Google.
Code:
#!/bin/sh
#
# Translate all the spaces in the argument list to +
# So you can pass multiple search arguments to Google
local F="$(echo $@ | tr \\040 +)"
# Start browser
# If you are using a different browser than I do, change the next line
firefox http://www.google.com/search?q=$F
Make the script executable:
Code:
chmod u+x scriptname
Then you have to make sure you have activated the address bar in IceWM and let the address bar command point to your script.
Insert the following code in ~/.icewm/preferences
Code:
# Enable address bar functionality in taskbar
EnableAddressBar=1 # 0/1
# Show address bar in task bar
ShowAddressBar=1 # 0/1
# Command to run for address bar entries
AddressBarCommand="replace this with the full path of the script"
#
KeySysAddressBar="Alt+Ctrl+Space"
Restart IceWM, press Alt+Ctrl+Space and fill in your search arguments.
Have Fun.