> 
> In my version the ~/.opener-File looks like this:
> 
> mozilla:  mozilla %s
> google:   mozilla www.google.de/search?q=%s
> leo-dict: mozilla dict.leo.org/?search=%s
> 
> The first part, before the ':', is the identifier of the command.
> You start it, with passing the command-identifier:
> "opener google", for example.
> 
> Because I'm not familiar with the x-programming-stuff, it was easier
> for me to rewrite the complete configfile-handling in C++.
> 
> Any comments are welcome.
> 

that is an issue with xrdb files, you have to know the keys.  To do what you
have would require something like:

commands: mozilla=>mozilla%s,google=>mozillawww.google.de/search?q=%s,
          leo-dict=>mozilla dict.leo.org/?search=%s

and splitting the line on '=>' (or whatever splitter).

What i think would be a better approach would be --use mozilla --search-url
http://google.com.

Reply via email to