LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 10-14-2007, 04:24 PM   #1
holsink
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Post IceWM: Howto create a Googlebar


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.

Last edited by holsink; 10-14-2007 at 04:29 PM.
 
Old 10-16-2007, 06:40 PM   #2
gundumfx
Member
 
Registered: Jul 2007
Location: Linux( Fedora core 7 Admin)
Distribution: fedora core 7
Posts: 148

Rep: Reputation: 15
ok this is fun that it was eazy an great good post
 
  


Reply

Tags
icewm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto have adesklets above the rox desktop (icewm)? frenchn00b Linux - Desktop 0 08-26-2007 02:20 PM
IceWM: Howto have the same theme when reboot..? wiBo Linux - General 7 04-06-2004 09:56 PM
Mozillafirebird 0.6.1 Googlebar and changing skins Gman22 Linux - Software 2 08-17-2003 08:40 PM
how to create an icon on desktop with ICEWM jj71 Linux - Newbie 2 07-30-2003 08:00 PM
IceWM: howto collapse all windows Bogdan Linux - Software 3 09-03-2002 02:14 AM


All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration